Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5996

A cleaner(possibly) approach to defining dependencies

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • applies to all operating systems

    Description

      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>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" artifactId="slf4j-api" version="1.7.5"/>
      <dependency groupId="org.slf4" artifactId="slf4j-log4j12" version="1.7.5/>
      <dependency groupId="org.jboss.resteasy" artifactId="resteasy-jettison-provider" version="3.0.7"/>
      <dependency groupId="org.slf4" artifactId="slf4j-api" version="1.7.5"/>
      </dependencies>

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              prateik.harwalker1@gmail.com Prateik R Harwalker
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: