[jboss-dev-forums] [Design the new POJO MicroContainer] - Migration to maven

pgier do-not-reply at jboss.com
Wed Mar 21 12:11:50 EDT 2007


I'd like to switch microcontainer completely over to maven builds as soon as possible.  For anyone who is new to maven, some information can be found on the jboss wiki here, and more info can be found on maven site: maven.apache.org.

To get started, you will have to install maven from the above site, if you don't already have it.  From the command line, just type "mvn".  This will call the default build phase "install" which will compile the main code and test code, run unit tests, package the files into jars, and copy them to your local repository.

Some other commands that might be useful:
"mvn compile" - This will only compile the main code.
"mvn -Dmaven.test.skip=true" - This will skip the unit tests
"mvn -Dtest=org/jboss/project/MyTest" - This will run a single unit test.
"mvn deploy" - This will copy the artifacts to a local checkout of the jboss repository.

What other functionality is required in the maven scripts before we can remove the build.xml scripts?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030293#4030293

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030293



More information about the jboss-dev-forums mailing list