"Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information."
All projects developed by Floggy Open Source Group are managed by Maven. To use the Maven you need to do the following steps .
<project>
[...]
<pluginRepositories>
<pluginRepository>
<id>sourceforge</id>
<name>SourceForge.net</name>
<url>http://floggy.sourceforge.net/repository</url>
</pluginRepository>
</pluginRepositories>
[...]
</project><project>
[...]
<build>
<plugins>
<plugin>
<groupId>net.sourceforge.floggy</groupId>
<artifactId>maven-floggy-plugin</artifactId>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>persistence-weaver</goal>
</goals>
<configuration>
<configurationFile>floggy.xml</configurationFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
[...]
</project><project>
[...]
<build>
<plugins>
<plugin>
<groupId>net.sourceforge.floggy</groupId>
<artifactId>maven-floggy-plugin</artifactId>
<executions>
<execution>
...
<configuration>
<generateSource>true</generateSource>
</configuration>
...
</execution>
</executions>
</plugin>
</plugins>
</build>
[...]
</project>We developed a POM file to the demo application. You can customize this file to your way of development. The file is available here. The POM file use plugins from the j2me-maven-floggy project to generate the JAD file and to preverify the classes.