From npanday-users-return-258-apmail-incubator-npanday-users-archive=incubator.apache.org@incubator.apache.org Wed Jan 18 03:42:26 2012 Return-Path: X-Original-To: apmail-incubator-npanday-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-npanday-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CFBF0B559 for ; Wed, 18 Jan 2012 03:42:26 +0000 (UTC) Received: (qmail 42840 invoked by uid 500); 18 Jan 2012 03:42:26 -0000 Delivered-To: apmail-incubator-npanday-users-archive@incubator.apache.org Received: (qmail 42731 invoked by uid 500); 18 Jan 2012 03:42:13 -0000 Mailing-List: contact npanday-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: npanday-users@incubator.apache.org Delivered-To: mailing list npanday-users@incubator.apache.org Received: (qmail 42718 invoked by uid 99); 18 Jan 2012 03:42:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2012 03:42:12 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.160.175] (HELO mail-gy0-f175.google.com) (209.85.160.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2012 03:42:07 +0000 Received: by ghbz2 with SMTP id z2so2603249ghb.6 for ; Tue, 17 Jan 2012 19:41:46 -0800 (PST) Received: by 10.236.115.201 with SMTP id e49mr28528534yhh.89.1326858106491; Tue, 17 Jan 2012 19:41:46 -0800 (PST) Received: from [10.0.0.10] (CPE-203-51-61-233.lns10.cht.bigpond.net.au. [203.51.61.233]) by mx.google.com with ESMTPS id n31sm13616153ani.13.2012.01.17.19.41.43 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 17 Jan 2012 19:41:45 -0800 (PST) Sender: Brett Porter Content-Type: text/plain; charset=iso-2022-jp Mime-Version: 1.0 (Apple Message framework v1251.1) Subject: Re: nunit libraries not found while using npanday From: Brett Porter In-Reply-To: <4545A589F6B4C748B994299E9D465C1805D576C5@synchgdcexch1.SYNTELORG.COM> Date: Wed, 18 Jan 2012 14:41:40 +1100 Content-Transfer-Encoding: quoted-printable Message-Id: <8B0C853C-3824-40CE-946C-CB7408FD7626@apache.org> References: <4545A589F6B4C748B994299E9D465C1805D576C5@synchgdcexch1.SYNTELORG.COM> To: npanday-users@incubator.apache.org X-Mailer: Apple Mail (2.1251.1) 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: = =20 = =20 NUnit = =20 NUnit.Framework = =20 2.2.8.0 = =20 dotnet-library = =20 test = =20 = =20 =20 On 12/01/2012, at 2:29 AM, Parthasarathy, Araamudhan wrote: > Hi, >=20 > 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: >=20 > Maven 3.0.3 >=20 > NPanday 1.4.0 >=20 > Visual Studio 2010 >=20 > NUnit 2.5.10 >=20 >=20 >=20 > When I select 'Install' or 'Test'- All NPanday Projects-> Install for = my class library solution through vs 2010 I get the following error >=20 >=20 >=20 > ------------------------------------------------------------------ >=20 > Executing Maven >=20 > Pom File: D:\npandaytest\npandaytest\pom.xml >=20 > Goal: install >=20 > Arguments: install >=20 > NPanday Command: = C:\apache-maven-3.0.3-bin\apache-maven-3.0.3\bin\mvn.bat install >=20 > =1B$B!!=1B(B >=20 > ------------------------------------------------------------------ >=20 > =1B$B!!=1B(B >=20 > [INFO] Scanning for projects... >=20 > [WARNING] >=20 > [WARNING] Some problems were encountered while building the effective = model for SyntelLtd.Npandaytest:npandaytest:library:1.0-SNAPSHOT >=20 > [WARNING] 'build.plugins.plugin.version' for = org.apache.npanday.plugins:maven-compile-plugin is missing. @ line 16, = column 15 >=20 > [WARNING] 'build.plugins.plugin.version' for = org.apache.npanday.plugins:maven-resgen-plugin is missing. @ line 53, = column 15 >=20 > [WARNING] 'build.plugins.plugin.version' for = org.apache.npanday.plugins:maven-test-plugin is missing. @ line 45, = column 15 >=20 > [WARNING] >=20 > [WARNING] It is highly recommended to fix these problems because they = threaten the stability of your build. >=20 > [WARNING] >=20 > [WARNING] For this reason, future Maven versions might no longer = support building such malformed projects. >=20 > [WARNING] >=20 > [INFO] = ------------------------------------------------------------------------ >=20 > [INFO] Reactor Build Order: >=20 > [INFO] >=20 > [INFO] SyntelLtd.Npandaytest : Npandaytest-parent >=20 > [INFO] SyntelLtd.Npandaytest : npandaytest >=20 > [INFO] >=20 > [INFO] = ------------------------------------------------------------------------ >=20 > [INFO] Building SyntelLtd.Npandaytest : Npandaytest-parent = 1.0-SNAPSHOT >=20 > [INFO] = ------------------------------------------------------------------------ >=20 > [INFO] >=20 > [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ = Npandaytest-parent --- >=20 > [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 >=20 > [INFO] >=20 > [INFO] = ------------------------------------------------------------------------ >=20 > [INFO] Building SyntelLtd.Npandaytest : npandaytest 1.0-SNAPSHOT >=20 > [INFO] = ------------------------------------------------------------------------ >=20 > [INFO] >=20 > [INFO] --- maven-compile-plugin:1.4.0-incubating:initialize = (default-initialize) @ npandaytest --- >=20 > SLF4J: Class path contains multiple SLF4J bindings. >=20 > 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] >=20 > SLF4J: Found binding in = [jar:file:/C:/Users/SK33030/.m2/repository/org/slf4j/slf4j-jdk14/1.5.11/sl= f4j-jdk14-1.5.11.jar!/org/slf4j/impl/StaticLoggerBinder.class] >=20 > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an = explanation. >=20 > [INFO] Mojo Execution Time =3D 78 >=20 > [INFO] >=20 > [INFO] --- maven-resolver-plugin:1.4.0-incubating:resolve = (default-resolve) @ npandaytest --- >=20 > [INFO] Mojo Execution Time =3D 0 >=20 > [INFO] >=20 > [INFO] --- = NPanday.Plugin.Settings.JavaBinding:1.4.0-incubating:generate-settings = (default-generate-settings) @ npandaytest --- >=20 > [INFO] >=20 > [INFO] --- = maven-compile-plugin:1.4.0-incubating:generate-assembly-info = (default-generate-assembly-info) @ npandaytest --- >=20 > [INFO] NPANDAY-902-001: Found AssemblyInfo file(s), so will not = generate one >=20 > [INFO] >=20 > [INFO] --- maven-compile-plugin:1.4.0-incubating:process-sources = (default-process-sources) @ npandaytest --- >=20 > [INFO] NPANDAY-904-002: Copying source files: =46rom =3D = D:\npandaytest\npandaytest\npandaytest, To =3D = D:\npandaytest\npandaytest\npandaytest\target/build-sources, File Count = =3D 5 >=20 > [INFO] >=20 > [INFO] --- maven-compile-plugin:1.4.0-incubating:process-test-sources = (default-process-test-sources) @ npandaytest --- >=20 > [INFO] NPANDAY-905-001: No test source files to copy >=20 > [INFO] >=20 > [INFO] --- maven-resgen-plugin:1.4.0-incubating:copy-resources = (default-copy-resources) @ npandaytest --- >=20 > [INFO] >=20 > [INFO] --- maven-resgen-plugin:1.4.0-incubating:generate = (default-generate) @ npandaytest --- >=20 > [INFO] >=20 > [INFO] --- = maven-resgen-plugin:1.4.0-incubating:generate-existing-resx-to-resource = (default-generate-existing-resx-to-resource) @ npandaytest --- >=20 > [INFO] NPANDAY-070-003: Found executable path for resgen: C:\Program = Files\Microsoft Visual Studio 8\SDK\v2.0\bin >=20 > Read in 0 resources from "D:\npandaytest\npandaytest\npandaytest\My = Project\Resources.resx" >=20 > Writing resource file... Done. >=20 > [INFO] >=20 > [INFO] --- maven-compile-plugin:1.4.0-incubating:compile = (default-compile) @ npandaytest --- >=20 > [INFO] NPANDAY-066-013: Found Vendor =3D Vendor =3D MICROSOFT, Vendor = Version =3D 4.0, Framework Version =3D 4.0, Executable Paths =3D = [C:\Windows\Microsoft.NET\Framework\v4.0.30319, C:\Program = Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools] >=20 > [INFO] NPANDAY-068-003: Compiling Artifact: Vendor =3D MICROSOFT, = Language =3D MICROSOFT, Assembly Name =3D = D:\npandaytest\npandaytest\npandaytest\target\npandaytest.dll >=20 > [INFO] NPANDAY-068-005: Found executable path for vbc: = C:\Windows\Microsoft.NET\Framework\v4.0.30319 >=20 > [INFO] NPANDAY-900-004: Compile Time =3D 3526 ms >=20 > [INFO] Mojo Execution Time =3D 3572 >=20 > [INFO] >=20 > [INFO] --- maven-compile-plugin:1.4.0-incubating:testCompile = (default-testCompile) @ npandaytest --- >=20 > [INFO] NPANDAY-066-013: Found Vendor =3D Vendor =3D MICROSOFT, Vendor = Version =3D 4.0, Framework Version =3D 4.0, Executable Paths =3D = [C:\Windows\Microsoft.NET\Framework\v4.0.30319, C:\Program = Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools] >=20 > [INFO] NPANDAY-068-002: No source files to compile. >=20 > [INFO] NPANDAY-900-004: Compile Time =3D 0 ms >=20 > [INFO] Mojo Execution Time =3D 16 >=20 > [INFO] >=20 > [INFO] --- maven-test-plugin:1.4.0-incubating:test (default-test) @ = npandaytest --- >=20 > [INFO] NPANDAY-1100-000.1: Artifact is an Integration Test >=20 > [INFO] = ------------------------------------------------------------------------ >=20 > [INFO] Reactor Summary: >=20 > [INFO] >=20 > [INFO] SyntelLtd.Npandaytest : Npandaytest-parent ........ SUCCESS = [0.156s] >=20 > [INFO] SyntelLtd.Npandaytest : npandaytest ............... FAILURE = [9.360s] >=20 > [INFO] = ------------------------------------------------------------------------ >=20 > [INFO] BUILD FAILURE >=20 > [INFO] = ------------------------------------------------------------------------ >=20 > [INFO] Total time: 10.234s >=20 > [INFO] Finished at: Tue Jan 10 14:20:57 IST 2012 >=20 > [INFO] Final Memory: 7M/17M >=20 > [INFO] = ------------------------------------------------------------------------ >=20 > [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] >=20 > [ERROR] >=20 > [ERROR] To see the full stack trace of the errors, re-run Maven with = the -e switch. >=20 > [ERROR] Re-run Maven using the -X switch to enable full debug logging. >=20 > [ERROR] >=20 > [ERROR] For more information about the errors and possible solutions, = please read the following articles: >=20 > [ERROR] [Help 1] = http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException >=20 > [ERROR] >=20 > [ERROR] After correcting the problems, you can resume the build with = the command >=20 > [ERROR] mvn -rf :npandaytest >=20 > NPanday Execution Failed!, with exit code: 1 >=20 >=20 >=20 > Thanks, >=20 > P. Araamudhan >=20 >=20 >=20 >=20 > 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 brett@apache.org http://brettporter.wordpress.com/ http://au.linkedin.com/in/brettporter http://twitter.com/brettporter