[
http://jira.codehaus.org/browse/SUREFIRE-352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_115786
]
Mauro Talevi commented on SUREFIRE-352:
---------------------------------------
Backported fix (-r597038:597039) to 2.3.x branch, being completely backward
compatible.
> Get rid of hardcoded TestNG dependency name.
> --------------------------------------------
>
> Key: SUREFIRE-352
> URL: http://jira.codehaus.org/browse/SUREFIRE-352
> Project: Maven Surefire
> Issue Type: Improvement
> Components: TestNG support
> Affects Versions: 2.4
> Reporter: jdoe
> Assignee: Mauro Talevi
> Fix For: 2.4
>
> Attachments: custom_testng_dep_name.diff
>
>
> The name of the TestNG dependency is hardcoded ('org.testng:testng'). Some
> ppl are using internal repositories where artifacts are published under
> different names. It would be nice to able to specify the name of dependency,
> e.g.:
> {code:title=build.pom|borderStyle=solid}
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-surefire-plugin</artifactId>
> <version>2.4-SNAPSHOT</version>
> <configuration>
> <testNGDependency>testng:testng</testNGDependency> <!-- custom
> dependency name -->
> <suiteXmlFiles>
> <suiteXmlFile>testng.xml</suiteXmlFile>
> </suiteXmlFiles>
> </configuration>
> </plugin>
> {code}
> Proposed patch attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira