This error means that you'll need to add NUnit as a dependency within your POM. You can upload a version to your own repository, or use the following one from http://repo.npanday.org/3rdparty:
<dependencies> <dependency> <groupId>NUnit</groupId> <artifactId>NUnit.Framework</artifactId> <version>2.2.8.0</version> <type>dotnet-library</type> <scope>test</scope> </dependency> </dependencies> On 12/01/2012, at 2:29 AM, Parthasarathy, Araamudhan wrote: > Hi, > > I am relatively new to npanday/maven. Could anyone help me to find the > location from where I can download nunit libraries, as Npanday looks for it > while running the mvn test command. Below are the versions I am using: > > Maven 3.0.3 > > NPanday 1.4.0 > > Visual Studio 2010 > > NUnit 2.5.10 > > > > When I select 'Install' or 'Test'- All NPanday Projects-> Install for my > class library solution through vs 2010 I get the following error > > > > ------------------------------------------------------------------ > > Executing Maven > > Pom File: D:\npandaytest\npandaytest\pom.xml > > Goal: install > > Arguments: install > > NPanday Command: C:\apache-maven-3.0.3-bin\apache-maven-3.0.3\bin\mvn.bat > install > > > > ------------------------------------------------------------------ > > > > [INFO] Scanning for projects... > > [WARNING] > > [WARNING] Some problems were encountered while building the effective model > for SyntelLtd.Npandaytest:npandaytest:library:1.0-SNAPSHOT > > [WARNING] 'build.plugins.plugin.version' for > org.apache.npanday.plugins:maven-compile-plugin is missing. @ line 16, column > 15 > > [WARNING] 'build.plugins.plugin.version' for > org.apache.npanday.plugins:maven-resgen-plugin is missing. @ line 53, column > 15 > > [WARNING] 'build.plugins.plugin.version' for > org.apache.npanday.plugins:maven-test-plugin is missing. @ line 45, column 15 > > [WARNING] > > [WARNING] It is highly recommended to fix these problems because they > threaten the stability of your build. > > [WARNING] > > [WARNING] For this reason, future Maven versions might no longer support > building such malformed projects. > > [WARNING] > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Reactor Build Order: > > [INFO] > > [INFO] SyntelLtd.Npandaytest : Npandaytest-parent > > [INFO] SyntelLtd.Npandaytest : npandaytest > > [INFO] > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Building SyntelLtd.Npandaytest : Npandaytest-parent 1.0-SNAPSHOT > > [INFO] > ------------------------------------------------------------------------ > > [INFO] > > [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ > Npandaytest-parent --- > > [INFO] Installing D:\npandaytest\npandaytest\pom.xml to > C:\Users\SK33030\.m2\repository\SyntelLtd\Npandaytest\Npandaytest-parent\1.0-SNAPSHOT\Npandaytest-parent-1.0-SNAPSHOT.pom > > [INFO] > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Building SyntelLtd.Npandaytest : npandaytest 1.0-SNAPSHOT > > [INFO] > ------------------------------------------------------------------------ > > [INFO] > > [INFO] --- maven-compile-plugin:1.4.0-incubating:initialize > (default-initialize) @ npandaytest --- > > SLF4J: Class path contains multiple SLF4J bindings. > > SLF4J: Found binding in > [jar:file:/C:/Users/SK33030/.m2/repository/org/sonatype/gossip/gossip/1.0/gossip-1.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] > > SLF4J: Found binding in > [jar:file:/C:/Users/SK33030/.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. > > [INFO] Mojo Execution Time = 78 > > [INFO] > > [INFO] --- maven-resolver-plugin:1.4.0-incubating:resolve (default-resolve) @ > npandaytest --- > > [INFO] Mojo Execution Time = 0 > > [INFO] > > [INFO] --- > NPanday.Plugin.Settings.JavaBinding:1.4.0-incubating:generate-settings > (default-generate-settings) @ npandaytest --- > > [INFO] > > [INFO] --- maven-compile-plugin:1.4.0-incubating:generate-assembly-info > (default-generate-assembly-info) @ npandaytest --- > > [INFO] NPANDAY-902-001: Found AssemblyInfo file(s), so will not generate one > > [INFO] > > [INFO] --- maven-compile-plugin:1.4.0-incubating:process-sources > (default-process-sources) @ npandaytest --- > > [INFO] NPANDAY-904-002: Copying source files: From = > D:\npandaytest\npandaytest\npandaytest, To = > D:\npandaytest\npandaytest\npandaytest\target/build-sources, File Count = 5 > > [INFO] > > [INFO] --- maven-compile-plugin:1.4.0-incubating:process-test-sources > (default-process-test-sources) @ npandaytest --- > > [INFO] NPANDAY-905-001: No test source files to copy > > [INFO] > > [INFO] --- maven-resgen-plugin:1.4.0-incubating:copy-resources > (default-copy-resources) @ npandaytest --- > > [INFO] > > [INFO] --- maven-resgen-plugin:1.4.0-incubating:generate (default-generate) @ > npandaytest --- > > [INFO] > > [INFO] --- > maven-resgen-plugin:1.4.0-incubating:generate-existing-resx-to-resource > (default-generate-existing-resx-to-resource) @ npandaytest --- > > [INFO] NPANDAY-070-003: Found executable path for resgen: C:\Program > Files\Microsoft Visual Studio 8\SDK\v2.0\bin > > Read in 0 resources from "D:\npandaytest\npandaytest\npandaytest\My > Project\Resources.resx" > > Writing resource file... Done. > > [INFO] > > [INFO] --- maven-compile-plugin:1.4.0-incubating:compile (default-compile) @ > npandaytest --- > > [INFO] NPANDAY-066-013: Found Vendor = Vendor = MICROSOFT, Vendor Version = > 4.0, Framework Version = 4.0, Executable Paths = > [C:\Windows\Microsoft.NET\Framework\v4.0.30319, C:\Program Files\Microsoft > SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools] > > [INFO] NPANDAY-068-003: Compiling Artifact: Vendor = MICROSOFT, Language = > MICROSOFT, Assembly Name = > D:\npandaytest\npandaytest\npandaytest\target\npandaytest.dll > > [INFO] NPANDAY-068-005: Found executable path for vbc: > C:\Windows\Microsoft.NET\Framework\v4.0.30319 > > [INFO] NPANDAY-900-004: Compile Time = 3526 ms > > [INFO] Mojo Execution Time = 3572 > > [INFO] > > [INFO] --- maven-compile-plugin:1.4.0-incubating:testCompile > (default-testCompile) @ npandaytest --- > > [INFO] NPANDAY-066-013: Found Vendor = Vendor = MICROSOFT, Vendor Version = > 4.0, Framework Version = 4.0, Executable Paths = > [C:\Windows\Microsoft.NET\Framework\v4.0.30319, C:\Program Files\Microsoft > SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools] > > [INFO] NPANDAY-068-002: No source files to compile. > > [INFO] NPANDAY-900-004: Compile Time = 0 ms > > [INFO] Mojo Execution Time = 16 > > [INFO] > > [INFO] --- maven-test-plugin:1.4.0-incubating:test (default-test) @ > npandaytest --- > > [INFO] NPANDAY-1100-000.1: Artifact is an Integration Test > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Reactor Summary: > > [INFO] > > [INFO] SyntelLtd.Npandaytest : Npandaytest-parent ........ SUCCESS [0.156s] > > [INFO] SyntelLtd.Npandaytest : npandaytest ............... FAILURE [9.360s] > > [INFO] > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: 10.234s > > [INFO] Finished at: Tue Jan 10 14:20:57 IST 2012 > > [INFO] Final Memory: 7M/17M > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal > org.apache.npanday.plugins:maven-test-plugin:1.4.0-incubating:test > (default-test) on project npandaytest: 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] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > > [ERROR] > > [ERROR] After correcting the problems, you can resume the build with the > command > > [ERROR] mvn <goals> -rf :npandaytest > > NPanday Execution Failed!, with exit code: 1 > > > > Thanks, > > P. Araamudhan > > > > > Confidential: This electronic message and all contents contain information > from Syntel, Inc. which may be privileged, confidential or otherwise > protected from disclosure. The information is intended to be for the > addressee only. If you are not the addressee, any disclosure, copy, > distribution or use of the contents of this message is prohibited. If you > have received this electronic message in error, please notify the sender > immediately and destroy the original message and all copies. -- Brett Porter br...@apache.org http://brettporter.wordpress.com/ http://au.linkedin.com/in/brettporter http://twitter.com/brettporter