Prateik R Harwalker created MNGSITE-280:
-------------------------------------------

             Summary: A cleaner(possibly) approach to defining dependencies
                 Key: MNGSITE-280
                 URL: https://issues.apache.org/jira/browse/MNGSITE-280
             Project: Maven Project Web Site
          Issue Type: Improvement
         Environment: applies to all operating systems
            Reporter: Prateik R Harwalker
            Priority: Minor


A different way(possible cleaner) way to define dependencies    

Example: 

 <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-api</artifactId>
        <version>1.7.5</version>
    </dependency>
    
     <dependency>
        <groupId>org.slf4j</groupId>
        <artifactId>slf4j-log4j12</artifactId>
        <version>1.7.5</version>
    </dependency>
    
        <dependency>
                        <groupId>com.hns.processor.datamodel</groupId>
                        <artifactId>DataModel</artifactId> 
                        <version>1.0.0</version>
                         <scope>provided</scope>
                </dependency>
                <dependency>
            <groupId>org.jboss.resteasy</groupId>
            <artifactId>resteasy-jaxrs</artifactId>
            <version>3.0.7.Final</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.jboss.resteasy</groupId>
            <artifactId>resteasy-jettison-provider</artifactId>
            <version>3.0.7.Final</version>
            <scope>provided</scope>
        </dependency>


Would be defined as this:

<dependencies>
 <dependency groupId="org.slf4" attifactId="slf4j-api" version="1.7.5"/>
 <dependency groupId="org.slf4" attifactId="slf4j-log4j12" version="1.7.5/>
 <dependency groupId="org.jboss.resteasy" 
attifactId="resteasy-jettison-provider" version="3.0.7"/>
 <dependency groupId="org.slf4" attifactId="slf4j-api" version="1.7.5"/>
</dependencies>

    



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to