Uploaded image for project: 'NPanday'
  1. NPanday
  2. NPANDAY-544

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.4-incubating
    • None

    Description

      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]

      Attachments

        Activity

          People

            Unassigned Unassigned
            gdomjan@novell.com Greg Domjan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: