The easiest way to sort out such a problem is to put an explicit dependency on commons-collections in your pom.xml. That should make sure the correct version makes it into the final build.
Mike. On 6/15/07, ros <[EMAIL PROTECTED]> wrote:
Hi! When do package with jboss profile (mvn -Dmaven.test.skip=true clean package -P jboss) the result is /target/tickets-1.0-SNAPSHOT/WEB-INF/lib/commons-collections-2.1.jar I expect it to be commons-collections-3.x.jar. And it is if build is done without -P parameter. It looks like this problem happens when -P parameter passed, it does not mater what profile (defined in pom.xml) is chosen. Base is AppFuse2m4. Any ideas how to fix it? Thanks! -- View this message in context: http://www.nabble.com/mvn--Dmaven.test.skip%3Dtrue-clean-package--P-jboss-tf3927028s2369.html#a11136868 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
