Missing(?) NUnit pluggin, general complexity of first use.
----------------------------------------------------------

                 Key: NPANDAY-544
                 URL: https://issues.apache.org/jira/browse/NPANDAY-544
             Project: NPanday
          Issue Type: Improvement
          Components: Development Setup, Maven Plugins, Repository
    Affects Versions: 1.4-incubating
         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
Java version: 1.6.0_31
Java home: C:\Program Files\Java\jdk1.6.0_31\jre
Default locale: en_AU, platform encoding: Cp1252
OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"

Visual Studio 10, 9, 8 installed  (10 is active using vcvars)
JDK 1.4, 1.5, 1.6 installed 
            Reporter: Greg Domjan


Feel free to "take with a grain of salt",  fairly new to all this.

Installing NPanday from Maven central, it was not obvious (to me) that this 
relied on http://repository.aduna-software.org/maven2/ when it raised issue 
with openrdf pluggin.  Will these dependencies also be on Maven central in 
future? this was kind of painful.

Link "NPanday Release and Dependencies Repository Group" on 
http://incubator.apache.org/npanday/docs/1.4.0-incubating/guide/installation/index.html
 is broken.


Having sorted out proxy for aduna and having it seems (almost) all the plugins, 
the compile step is still failing on NUnit pluggin 
- why is 'compile' using NUnit?  Shouldn't that be in compile-test unless 
specified for the release artifact?
- where do you get the plugin?  or is there some issue where you have to load 
the installed NUnit file to the local repo?


[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - com.groupid:MyApp:library:1.0-SNAPSHOT
[INFO]    task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [compile:initialize {execution: default-initialize}]
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/C:/path/.m2/repository/org/sonatype/gossip/gossip/1.0/gossip-1.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/C:/path/.m2/repository/org/slf4j/slf4j-jdk14/1.5.11/slf4j-jdk14-1.5.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]

SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

27/02/2012 6:25:14 PM npanday.PathUtil getDotNetArtifact
WARNING:
NPANDAY-1005-0001: Error copying dependency 
NUnit:NUnit.Framework:library:2.2.8.0:compile File 
C:\path\.m2\repository\NUnit\NUnit.Framework\2.2.8.0\NUnit.Framework-2.2.8.0.dll
 does not exist
Downloading: 
http://nexus:8081/nexus/content/groups/public/NUnit/NUnit.Framework/2.2.8.0/NUnit.Framework-2.2.8.0.dll
[INFO] Unable to find resource 'NUnit:NUnit.Framework:library:2.2.8.0' in 
repository sm.nexus 
(http://nexus.esecurity.net:8081/nexus/content/groups/public)
Downloading: 
http://nexus8081/nexus/content/groups/public/NUnit/NUnit.Framework/2.2.8.0/NUnit.Framework-2.2.8.0.dll
[INFO] Unable to find resource 'NUnit:NUnit.Framework:library:2.2.8.0' in 
repository central (http://repo1.maven.org/maven2)
27/02/2012 6:25:15 PM npanday.dao.impl.ProjectDaoImpl 
storeProjectAndResolveDependencies
WARNING: NPANDAY-181-121:  Problem in resolving assembly: 
NUnit:NUnit.Framework:library:2.2.8.0:compile, Message = Unable to download the 
artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=NUnit -DartifactId=NUnit.Framework 
-Dversion=2.2.8.0 -Dpackaging=library -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=NUnit -DartifactId=NUnit.Framework 
-Dversion=2.2.8.0 -Dpackaging=library -Dfile=/path/to/file -Durl=[url] 
-DrepositoryId=[id]
... [snip]



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to