[jboss-dev-forums] [Design of EJB 3.0] - Maven Version Resolution Differences 2.0.8 / 2.0.9

ALRubinger do-not-reply at jboss.com
Thu May 29 03:53:41 EDT 2008


This is by far the worst I've seen to date.  As of Revision 73768, EJB3 Build is broken in Maven 2.0.8 and working in 2.0.9.

"Maven 2.0.8" wrote : core $> mvn clean install 
  | ...
  | Rule 0: org.apache.maven.plugin.enforcer.BannedDependencies failed with message: Found Banned Dependency: org.jboss.microcontainer:jboss-container:jar:2.0.0.Beta10
  | Found Banned Dependency: org.jboss:javassist:jar:3.6.0.GA
  | 
  | $> /opt/apache/maven/apache-maven-2.0.8/bin/mvn dependency:tree -Dincludes=org.jboss.microcontainer:jboss-container
  | [INFO] [dependency:tree]
  | [INFO] org.jboss.ejb3:jboss-ejb3-core:jar:0.1.2-SNAPSHOT
  | [INFO] \- org.jboss.jbossas:jboss-as-system-jmx:jar:5.0.0.Beta4:provided
  | [INFO]    \- org.jboss.jbossas:jboss-as-jmx:jar:5.0.0.Beta4:provided
  | [INFO]       \- org.jboss.microcontainer:jboss-container:jar:2.0.0.Beta10:provided (version managed from 2.0.0.Beta6)
  | 
  | $> /opt/apache/maven/apache-maven-2.0.8/bin/mvn -Dplugin=dependency help:describe
  | Group Id:  org.apache.maven.plugins
  | Artifact Id: maven-dependency-plugin
  | Version:     2.0
  | Goal Prefix: dependency

Fantastic.  Dependency Plugin version 2.0.  Let's try the same thing in 2.0.9, where the build succeeds.

"Maven 2.0.9" wrote : $>  /opt/apache/maven/apache-maven-2.0.9/bin/mvn dependency:tree -Dincludes=org.jboss.microcontainer:jboss-container
  | {nothing}
  | 
  | $> /opt/apache/maven/apache-maven-2.0.9/bin/mvn -Dplugin=dependency help:describe
  | Group Id:  org.apache.maven.plugins
  | Artifact Id: maven-dependency-plugin
  | Version:     2.0
  | Goal Prefix: dependency

WTF?  No dependency on org.jboss.microcontainer:jboss-container, yet the Dependency Plugin is the same version.

S,
ALR


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

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



More information about the jboss-dev-forums mailing list