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

pgier do-not-reply at jboss.com
Wed Aug 29 11:17:52 EDT 2007


I changed the container pom to exclude it's transitive dependency (through jbossxb) on jboss-common-core.  This seems to give the correct dependencies at compile time.

To find this, I used "mvn project-info-reports:dependencies" which creates an html page that shows the dependency tree.

I also used "mvn dependency:analyze"  which currently gives me these warnings:
anonymous wrote : 
  | [INFO] Used declared dependencies:
  | [INFO]    jboss:jbossxb:jar:2.0.0.CR3:compile
  | [INFO]    junit:junit:jar:3.8.1:test
  | [INFO]    jboss.profiler.jvmti:jboss-profiler-jvmti:jar:1.0.0.CR5:test
  | [INFO]    org.jboss:jboss-common-core:jar:2.2.1-20070828.111252-2:compile
  | [INFO]    org.jboss:jboss-test:jar:1.0.4-SNAPSHOT:test
  | [INFO]    org.jboss:javassist:jar:3.6-beta:compile
  | [INFO] Used undeclared dependencies:
  | [WARNING]    jboss:jboss-common-core:jar:2.0.4.GA:test
  | [WARNING]    jboss:jboss-common-logging-spi:jar:2.0.4.GA:compile
  | [WARNING]    apache-xerces:xml-apis:jar:2.7.1:compile
  | [INFO] Unused declared dependencies:
  | [INFO]    jboss:jboss-vfs:jar:2.0.4.snapshot:compile
  | [INFO]    jboss:jboss-logging-spi:jar:2.0.3.GA:compile
  | [WARNING] Potential problems discovered.
  | [INFO] Found Resolved Dependency / DependencyManagement mismatches:
  | [INFO]  Ignoring Direct Dependencies.
  | [INFO] jboss:jboss-common-core:jar was excluded in DepMgt, but version 2.0.4.GA has been found in the dependency tree.
  | [WARNING] Potential problems found in Dependency Management 
  | 

I'm going to update the dependencies in container to clean up these warnings.


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

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



More information about the jboss-dev-forums mailing list