You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Shane Isbell (JIRA)" <ji...@codehaus.org> on 2007/04/11 18:08:46 UTC

[jira] Commented: (NMAVEN-38) "NUnit" group ID hardwired into TesterMojo.java(142) - doesn't match site documentation.

    [ http://jira.codehaus.org/browse/NMAVEN-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92569 ] 

Shane Isbell commented on NMAVEN-38:
------------------------------------

Thanks. I missed that. The NUnit:NUnit.Framework is what NMaven now uses: the org.nunit was the old namespace that previous versions of NMaven used.. The bootstrap-build.bat[sh] script handles installing the NUnit 2.2.8 assembly as part of the build. You could also independently install and use other versions, as you have done.

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