[ http://jira.codehaus.org/browse/SUREFIRE-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mauro Talevi closed SUREFIRE-352. --------------------------------- Resolution: Fixed Added optional properties junitArtifactName and testNGArtifactName which default to junit:junit and org.testng:testng, as in 2.3. Fix also addresses SUREFIRE-370. > 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