maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Van Curtis (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (NMAVEN-38) "NUnit" group ID hardwired into TesterMojo.java(142) - doesn't match site documentation.
Date Wed, 11 Apr 2007 15:32:46 GMT
"NUnit" group ID hardwired into TesterMojo.java(142) - doesn't match site documentation.
----------------------------------------------------------------------------------------

                 Key: NMAVEN-38
                 URL: http://jira.codehaus.org/browse/NMAVEN-38
             Project: NMaven
          Issue Type: Bug
         Environment: rev 521824 from trunk
            Reporter: Van Curtis
            Priority: Minor


http://incubator.apache.org/nmaven/getting-started.html gives examples of using NUnit and
installing existing assemblies into the maven repository using a groupId of "org.nunit". Trying
to use this in a POM results in "NMAVEN-1100-003: Could not find any nunit libraries."

Looking at line 142 of TesterMojo.java, it tests against "NUnit". Using the following line
to install...

mvn org.apache.maven.plugins:maven-install-plugin:install-file -DgroupId=NUnit -DartifactId=Nunit.Framework
-Dversion=2.2.9.0 -Dpackaging=dll -Dfile="C:\\Program Files\\NUnit-Net-2.0 2.2.9\\bin\\nunit.framework.dll"
-DgeneratePom=true

And setting the POM dependency as 

			<dependency>
			<groupId>NUnit</groupId>
			<artifactId>Nunit.Framework</artifactId>
			<version>2.2.9.0</version>
			<type>library</type>

cleared it up. Don't know which way *should* be the right way, but it would be nice if the
docs and code match.

thanks,
van.

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

        

Mime
View raw message