1 Reply Latest reply on Oct 3, 2007 5:31 PM by pmuir

    Maven Dependency Profiles

    wesleyhales

      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...