[GRADLE-432] Classifiers not written to generated POM using Maven plugin Created: 04/Apr/09 Updated: 04/Jan/13 Resolved: 14/Apr/09 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 0.6 |
Fix Version/s: | 0.6 |
Type: | Bug | ||
Reporter: | Russel Winder | Assignee: | Hans Dockter |
Resolution: | Fixed | Votes: | 0 |
Description |
When using TestNG the classifier has to be used to get the dependency from the Maven repository. Hence: dependencies {
. . .
testCompile ( 'org.testng:testng:5.8:jdk15' )
}
However when the generated POM is created the classifier is not written out: <dependencies> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>5.8</version> <scope>test</scope> <type>jar</type> </dependency> </dependencies> There needs to be a: <classifier>jdk15</classifier> written to the POM. |