test or install failed on Nunit Test Project

Jul 2, 2012 at 9:44 PM

hello,

i am using NPANDAY to compile and test a .net project, i am stuck when i run the Install goal of a project, below is my log output and the unit test project pom.xml content file:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.649s
[INFO] Finished at: Mon Jul 02 20:06:14 WEST 2012
[INFO] Final Memory: 18M/307M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.npanday.plugins:maven-test-plugin:1.4.0-incubating:test (default-test) on project UnitTest: NPANDAY-1100-003: Could not find any nunit libraries. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :UnitTest
NPanday Execution Failed!, with exit code: 1
---------------------------------------------------------------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
  <parent>
    <artifactId>mySolutionVS2010-parent</artifactId>
    <groupId>mySolutionVS2010</groupId>
    <version>1.0-SNAPSHOT</version>
    <relativePath>..\pom.xml</relativePath>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>UnitTest</artifactId>
  <packaging>library</packaging>
  <name>mySolutionVS2010 : UnitTest</name>
  <build>
    <sourceDirectory>./</sourceDirectory>
    <plugins>
      <plugin>
        <groupId>org.apache.npanday.plugins</groupId>
        <artifactId>maven-compile-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <frameworkVersion>4.0</frameworkVersion>
          <includeSources>
            <includeSource>Properties\AssemblyInfo.cs</includeSource>
            <includeSource>UnitTestRenew.cs</includeSource>
            <includeSource>UnitTestReplacement.cs</includeSource>
            <includeSource>UnitTopup.cs</includeSource>
          </includeSources>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.npanday.plugins</groupId>
        <artifactId>maven-test-plugin</artifactId>
        <configuration>
          <integrationTest>true</integrationTest>
          <executionFrameworkVersion>4.0</executionFrameworkVersion>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>mySolutionVS2010</groupId>
      <artifactId>myTypes</artifactId>
      <version>1.0-SNAPSHOT</version>
      <type>library</type>
    </dependency>
    <dependency>
      <groupId>mySolutionVS2010</groupId>
      <artifactId>B3GHostInteface</artifactId>
      <version>1.0-SNAPSHOT</version>
      <type>library</type>
    </dependency>
    <dependency>
      <groupId>log4net</groupId>
      <artifactId>log4net</artifactId>
      <version>1.2.10.0</version>
      <type>dotnet-library</type>
      <scope>system</scope>
      <systemPath>C:\Dll\log4net.dll</systemPath>
    </dependency>
    <dependency>
      <groupId>nunit.framework</groupId>
      <artifactId>nunit.framework</artifactId>
      <version>2.6.0.12051</version>
      <type>dotnet-library</type>
  <scope>system</scope>
  <systemPath>C:\Dll\nunit.framework.dll</systemPath>
    </dependency>
  </dependencies>
</project>
any help is appreciated.
thanks

Coordinator
Aug 1, 2012 at 6:43 AM

sorry, as you've noticed this forum is no longer monitored. Please post your question to npanday-users@incubator.apache.org (if you search the archives of that list, you'll find the same question has been answered before - essentially that version of NPanday requires the group ID be NUnit, not nunit.framework)