Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aether-users] Listing all versions of artifact tagged with a classifier

Hi :

I was trying to list all versions of an artifacts tagged with a classifier but it seems that the
VersionRangeRequest returns all the versions regardless whether it has a classifier of not:

Example: Supposed that I have these 2 artifacts:

com.abc:HelloWorld:war:1.0.0
com.abc:HelloWorld:war:Hot-Fix:1.0.0.1

If I specified the Artifact as

1. Artifact = new  DefaultArtifact("com.abc", "HelloWorld, "war", "[0)");
2. Artifact = new  DefaultArtifact("com.abc", "HelloWorld, "Hot-Fix", "war", "[0)");

Using VersionRangeRequest on #1, I got versions {1.0.0,1.0.0.1} as expected.
But on #2, it still gives me  the same result {1.0.0,1.0.0.1}.
I was expecting the result to be {1.0.0.1}.
Am I missing something here?.

Thanks,

BK

Back to the top