Hi all.

I'm trying to fix MECLIPSE-615  [1].  The fix that seems fastest to me might
cause an issue if you include multiple dependencies from the same module,
using the same scope.

I don't know if this use case makes any sense since I've only used
classifiers for test-jar's.  Does anyone use something (roughly) along the
lines of:

    <dependency>
      <groupId>com.example</groupId>
      <artifactId>myArtifact</artifactId>
      <version>1.2.3</version>
      <classifier>*bin*</classifier>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.example</groupId>
      <artifactId>myArtifact</artifactId>
      <version>1.2.3</version>
      <classifier>*dev*</classifier>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>com.example</groupId>
      <artifactId>myArtifact</artifactId>
      <version>1.2.3</version>
      <classifier>*prod*</classifier>
      <scope>compile</scope>
    </dependency>


Same groupId, artifactId, version, and scope, just with different
classifiers?  Is this a valid use case of maven?

Thanks for your time!
Jim

[1] http://jira.codehaus.org/browse/MECLIPSE-615

Reply via email to