[jboss-dev-forums] [Design of JBoss Build System] - Maven dependencies still not working properly.

adrian@jboss.org do-not-reply at jboss.com
Fri Aug 24 10:33:35 EDT 2007


In the common project there is a jbossxb-builder project
http://anonsvn.jboss.org/repos/common/jbossxb-builder/trunk/

This specifies EXPLICITLY a dependency on jbossxb-2.0-snapshot,
but it is actually picking up jbossxb-2.0.0CR3 via dependency on jboss-container


  | [DEBUG] Output directory: /home/ejort/common/jbossxb-builder/target/classes
  | [DEBUG] Classpath:
  | [DEBUG]  /home/ejort/common/jbossxb-builder/target/classes
  | [DEBUG]  /home/ejort/.m2/repository/jboss/jboss-vfs/2.0.4.snapshot/jboss-vfs-2.0.4.snapshot.jar
  | 
  | WRONG
  | 
  | [DEBUG]  /home/ejort/.m2/repository/jboss/jbossxb/2.0.0.CR3/jbossxb-2.0.0.CR3.jar
  | [DEBUG]  /home/ejort/.m2/repository/jboss/jboss-common-logging-spi/2.0.4.GA/jboss-common-logging-spi-2.0.4.GA.jar
  | [DEBUG]  /home/ejort/.m2/repository/sun-jaxb/jaxb-api/2.0.5/jaxb-api-2.0.5.jar
  | [DEBUG]  /home/ejort/.m2/repository/apache-xerces/xml-apis/2.7.1/xml-apis-2.7.1.jar
  | [DEBUG]  /home/ejort/.m2/repository/apache-slide/webdavlib/2.0/webdavlib-2.0.jar
  | 
  | CORRECT BUT NOT USED
  | 
  | [DEBUG]  /home/ejort/.m2/repository/org/jboss/jbossxb/2.0.0-SNAPSHOT/jbossxb-2.0.0-SNAPSHOT.jar
  | 

This is causing it to fail to compile.

How do we fix this so it is not stupid?

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

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



More information about the jboss-dev-forums mailing list