Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-352

Get rid of hardcoded TestNG dependency name.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.3.1, 2.4
    • TestNG support
    • None
    • Patch

    Description

      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.:

      build.pom
      <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>
      

      Proposed patch attached.

      Attachments

        Issue Links

          Activity

            People

              maurotalevi Mauro Talevi
              jdoe jdoe
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: