[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Target directory is not correct for tests in new Maven b

Kevin.Conner@jboss.com do-not-reply at jboss.com
Thu Apr 5 10:15:07 EDT 2007


"Kevin.Conner at jboss.com" wrote : This should be solvable using profiles.  I'll give it a go once I have finished my current TS work.
I have modified the root pom.xml and build/pom.xml to include an eclipse profile.  This should create the eclipse configuration with separate build directories to the normal maven build.

Once these poms are updated execute the following
mvn -Peclipse
This will run eclipse:eclipse with a slightly different configuration to the normal build.

The directories used should be target/eclipse-classes and target/eclipse-tests-classes.

I had originally set the test directory to be eclipse-classes-tests but the eclipse plugin believed that this was a nested directory and thus ignored it (for resources anyway).

I am still seeing the eclipse configuration from jboss-parent so I have also had to override that in the build/pom.xml.

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

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



More information about the jboss-dev-forums mailing list