[jboss-user] [JBoss Seam] - Maven Dependency Profiles

wesleyhales do-not-reply at jboss.com
Wed Oct 3 16:17:56 EDT 2007


Great news about the move toward maven!... I'm trying to setup a project using the dependency profiles. If I understand correctly from the readme.txt file in profiles, all one would have to do is:

  | 
  |        <dependency>
  |             <groupId>org.jboss.seam.profile.functional</groupId>
  |             <artifactId>seam-ui-facelets</artifactId>
  |         </dependency>
  | 
  |         <dependency>
  |             <groupId>org.jboss.seam.profile.functional</groupId>
  |             <artifactId>seam-security-all</artifactId>
  |         </dependency>
  | 
  | 
in the pom and all jars/dependencies should be added into the project. Also, I made the root.pom.xml my parent and snapshots.jboss.org/maven2 is my repo. The dependencies can't be found and nothing gets downloaded, am I missing anything?

One other thought for the overall design of the profiles - for Tomcat+EJB vs. JBoss, you will have drools and jbpm in the war for Tomcat and in the root of the ear for Jboss. JSF RI won't be included for JBoss (normally) and will be for Tomcat. With all the mixing and matching for the 2 containers it seems that it may be better to have a division in the profiles or actually use the profile section of the pom for organizing of what you have already created. Just an idea...

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

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



More information about the jboss-user mailing list