[jboss-dev-forums] [Design of JBoss Build System] - Use of

bstansberry@jboss.com do-not-reply at jboss.com
Thu Jun 5 11:59:13 EDT 2008


Is there any preference for using the "mapping" element in a thirdparty/pom.xml dependency element?  My take on it is it's used to prevent breaking the legacy paths that are all over the build system and that for new additions it's better to just have the thirdparty structure mirror the maven repo structure.  E.g. I'm adding the org.hibernate/hibernate-jbosscache2 jar while there's an existing hibernate-core:


  |             <dependency>
  |               <groupId>org.hibernate</groupId>
  |               <artifactId>hibernate-core</artifactId>
  |               <mapping>
  |                 <componentId>hibernate</componentId>
  |               </mapping>
  |             </dependency>
  |             <dependency>
  |               <groupId>org.hibernate</groupId>
  |               <artifactId>hibernate-jbosscache2</artifactId>
  |               <!-- No mapping element so this jar will not be located next
  |                      to hibernate-core -->
  |             </dependency>
  | 

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

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



More information about the jboss-dev-forums mailing list