[jboss-dev-forums] [Design of JBoss Portal] - Re: Maven Migration Status
wesleyhales
do-not-reply at jboss.com
Wed Sep 12 15:56:46 EDT 2007
I just checked in the maven config and successfully built the ant and maven build for common. Let me know if I missed anything.
To build common using maven:
- Make sure you checkout the toplevel pom in jboss portal root.
- Checkout modules and from the common or module directory run:
mvn install
or
mvn install -Dmaven.test.skip=true (this will skip the tests and build the jar no matter what)
- The only test failing is URLNavigatorTestCase and I was hoping someone could help me out with it. I see that it is traversing different files using the URLNavigator but have no idea why?
- I also had to copy the junit jar from downloaded thirdparty and replace the one in tools/lib. Otherwise tests would not run. They are a few kb in size difference, but didn't look any further once it started working.
- I was able to find most of the 3rd party stuff already in the jboss maven repo, but will have to add these:
tools/lib/cargo-core-uberjar-0.8.jar
tools/lib/ant-launcher.jar
tools/lib/ant-nodeps.jar
tools/lib/junit.jar
I was unsure about adding the custom junit jar, does it change much?
- Finally, not too important, but in the root portal pom.xml there is a place to add project & developer information so everyone feel free to add theirs.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083640#4083640
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083640
More information about the jboss-dev-forums
mailing list