The moment I started using Maven instead of Ant I had decided that I am going to use this tool from now on. The foremost thing that excited me was that I did not have to bother about how to write build script to compile and test projects. Maven is a plug-in based software project management and comprehension tool. It manages project build to reporting and documentation.
Getting bare infrastructure to start a project is just a command line away. For example to begin with simple Java project one would need to type
Maven frequently used commandsmvn compile - compiles source code
mvn test - runs test cases
mvn clean - deletes target folder (use this to perform clean build)
mvn package - builds the project and runs all the test cases
mvn install - installs the project in local repository
mvn eclipse:eclipse - generates eclipse project files
mvn eclipse:clean - clears eclipse project files
Some Maven Tips and Tricks
http://cwiki.apache.org/UIMA/maven-tips.html
http://i-proving.com/2007/07/05/Maven-Tips-and-Tricks/
Getting bare infrastructure to start a project is just a command line away. For example to begin with simple Java project one would need to type
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-appRead this five minutes guide to scratch the surface of Maven.
Maven frequently used commandsmvn compile - compiles source code
mvn test - runs test cases
mvn clean - deletes target folder (use this to perform clean build)
mvn package - builds the project and runs all the test cases
mvn install - installs the project in local repository
mvn eclipse:eclipse - generates eclipse project files
mvn eclipse:clean - clears eclipse project files
Some Maven Tips and Tricks
http://cwiki.apache.org/UIMA/maven-tips.html
http://i-proving.com/2007/07/05/Maven-Tips-and-Tricks/
Good article :)
ReplyDeleteOne thing to update is that the i-proving.ca link is now obsolete. It should now be http://i-proving.com/2007/07/05/Maven-Tips-and-Tricks/
Thanks, updated it.
ReplyDelete