[jboss-dev-forums] [Design of JBoss Build System] - Re: how to change classpath

pgier do-not-reply at jboss.com
Wed Sep 24 17:15:50 EDT 2008


Looks like that dependency is mapped from maven to libraries.ent with this config

  |   <dependency>
  |     <groupId>org.jboss.jbossas</groupId>
  |     <artifactId>jboss-server-manager</artifactId>
  |     <mapping>
  |       <componentId>jboss.server.manager</componentId>
  |     </mapping>
  |   </dependency>            
  | 
If you want to add additional jars to the jboss.server.manager.classpath you would just have to map those dependencies to the same componentId.  The maven plugin that generates libraries.ent doesn't understand maven transitive dependencies, so it won't automatically figure those out.  By default it will just translate groupId to componentId so dependencies with the same groupId (that are not mapped to a different componentId) are combined into one component with the associated properties in libraries.ent.

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

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



More information about the jboss-dev-forums mailing list