]
Lincoln Baxter III closed FORGE-526.
------------------------------------
Assignee: Sandro Sonntag
Resolution: Done
Already done.
Classifiers not considered correctly in dependency resolution
-------------------------------------------------------------
Key: FORGE-526
URL:
https://issues.jboss.org/browse/FORGE-526
Project: Forge
Issue Type: Bug
Affects Versions: 1.0.2.Final
Reporter: Sandro Sonntag
Assignee: Sandro Sonntag
Added consideration of classifiers. With this change its possible add the same artifact
with different classifiers. This is very important for GWT appliactions because they need
a class and a source jar to compile. With out that the dependency is always overridden and
the classifier is ignored.
This codesample does not work:
Dependency hibernateValidatorSources = DependencyBuilder
.create("org.hibernate:hibernate-validator:4.2.0.Final:compile:jar").setClassifier("sources");
Dependency hibernateValidator = DependencyBuilder
.create("org.hibernate:hibernate-validator:4.2.0.Final:compile:jar");
installer.install(project,
hibernateValidatorSources, hibernateValidatorSources.getScopeTypeEnum());
installer.install(project, hibernateValidator, hibernateValidator.getScopeTypeEnum());
best regards
Sandro
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: