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

pgier do-not-reply at jboss.com
Fri Aug 24 10:55:15 EDT 2007


For some reason, transitive deps show up in the classpath before direct dependencies, so you get issues like this.  It's something I will eventually try to fix in maven, because I think direct deps should come first.

For now, you can exclude the transitive dep on jbossxb by adding this to the container dependency.

  |     <dependency>
  |       <groupId>org.jboss.microcontainer</groupId>
  |       <artifactId>jboss-container</artifactId>
  |       <version>2.0.0-SNAPSHOT</version>
  |       <scope>compile</scope>
  |       <exclusions>
  |         <exclusion>
  |           <groupId>jboss</groupId>
  |           <artifactId>jbossxb</artifactId>
  |         </exclusion>
  |       </exclusions>
  |     </dependency>
  | 

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

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



More information about the jboss-dev-forums mailing list