manifest goal

manifest goal

Flexmojos can be used to generate manifest.xml.

$ mvn flexmojos:manifest

That will generate a manifest.xml on target directory containing all classes available on source paths.

In a more configurable way it can be include on pom.xml:

<project> ... <build> <plugins> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <executions> <execution> <goals> <goal>manifest</goal> </goals> <configuration> <manifestIncludes> <include>org/flexmojos/ui/*</include> </manifestIncludes> <manifestExcludes> <exclude>**/*.mxml</exclude> </manifestExcludes> </configuration> </execution> </executions> </plugin> </plugins> </build> ... </project>

This will generate the manifest containing all classes under org.flexmojos.ui package, but won't include any mxml.

A simple sample project can be found here.

Known Issues