You are viewing a plain text version of this content. The canonical link for it is here.
Posted to nmaven-issues@incubator.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/09/14 21:56:48 UTC

[jira] Updated: (NMAVEN-204) simple-archetype project after project import will not build successfully in VS

     [ http://jira.codehaus.org/browse/NMAVEN-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated NMAVEN-204:
--------------------------------

    Fix Version/s: 0.14 (Unreleased)

> simple-archetype project after project import will not build successfully in VS
> -------------------------------------------------------------------------------
>
>                 Key: NMAVEN-204
>                 URL: http://jira.codehaus.org/browse/NMAVEN-204
>             Project: NMaven
>          Issue Type: Bug
>    Affects Versions: 0.14 (Unreleased)
>         Environment: visual studio 2005
>            Reporter: Marecor Baclay
>             Fix For: 0.14 (Unreleased)
>
>
> Steps to replicate:
> 1. Execute "mvn archetype:create -DgroupId=NMaven -DartifactId=NMaven.Test.1.7.4 -DarchetypeArtifactId=maven-archetype-dotnet-simple -DarchetypeGroupId=org.apache.maven.dotnet -DarchetypeVersion=0.14-maestro-1.7.4"
> 2. Generate project's solution file through executing "mvn NMaven.Plugins:NMaven.Plugin.Solution.JavaBinding:Solution"
> 3. Delete the pom.xml file of the project
> 4. Launch Visual Studio 2005 then open the generated solution file from [2] or simply double-click on the solution file from [2]
> 5. Launch NMaven Build System
> 6. Right click on the project -> Maven Phase > All Projects: Install
> *Actual Result:*
> Executing "mvn clean install" from console build successfully while in VS, its result is stuck here:
> ------------------------------------------------------------------
> Executing Maven
> Pom File: E:\Maestro\nmaven sample projects\nmaven-archetype\NMaven.Test.1.7.4\pom.xml
> Goal: install
> Arguments: install
> NMaven Command: C:\Program Files\maestro-1.7.3\maven\bin\mvn.bat install
> ------------------------------------------------------------------
> [INFO] Scanning for projects...
> [INFO] Reactor build order: 
> [INFO]   NMaven.Test.1.7.4 : NMaven.Test.1.7.4-parent
> [INFO]   NMaven.Test.1.7.4 : NMaven.Test.1.7.4
> [INFO]   NMaven.Test.1.7.4 : NMaven.Test.1.7.4-Test
> [INFO] ------------------------------------------------------------------------
> [INFO] Building NMaven.Test.1.7.4 : NMaven.Test.1.7.4-parent
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing E:\Maestro\nmaven sample projects\nmaven-archetype\NMaven.Test.1.7.4\pom.xml to C:\Documents and Settings\cora\.m2\repository\NMaven\Test\1\7\4\NMaven.Test.1.7.4-parent\1.0-SNAPSHOT\NMaven.Test.1.7.4-parent-1.0-SNAPSHOT.pom
> [INFO] ------------------------------------------------------------------------
> [INFO] Building NMaven.Test.1.7.4 : NMaven.Test.1.7.4
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [compile:initialize]
> Downloading: http://192.168.245.147:8080/archiva/repository/releases/NUnit/NUnit.Framework/2.2.9.0/NUnit.Framework-2.2.9.0.pom
> 418/418b
> 418b downloaded
> [INFO] Mojo Execution Time = 343
> [INFO] [resolver:resolve]
> [INFO] Mojo Execution Time = 0
> [INFO] [NMaven.Plugin.Settings.JavaBinding:generate-settings]
> [INFO] [compile:generate-assembly-info]
> [INFO] NMAVEN-902-000: Generating Assembly Info: Language = C_SHARP
> [INFO] Mojo Execution Time = 15
> [INFO] [compile:process-sources]
> [INFO] NMAVEN-904-002: Copying source files: From = E:\Maestro\nmaven sample projects\nmaven-archetype\NMaven.Test.1.7.4\src\main\csharp\Sample,  To = E:\Maestro\nmaven sample projects\nmaven-archetype\NMaven.Test.1.7.4\src\main\csharp\target/build-sources, File Count = 1
> [INFO] [compile:process-test-sources]
> [INFO] NMAVEN-905-001: No test source files to copy
> [INFO] [resgen:copy-resources]
> [INFO] [resgen:generate]
> [INFO] [resgen:generate-existing-resx-to-resource]
> [INFO] [compile:compile]
> [INFO] NMAVEN-066-013: Found Vendor = Vendor = MICROSOFT, Vendor Version = 2.0.50727, Framework Version = 2.0.50727, Executable Paths = [C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727]
> [INFO] NMAVEN-900-003: Nothing to compile - all classes are up-to-date
> [INFO] [compile:testCompile]
> [INFO] NMAVEN-066-013: Found Vendor = Vendor = MICROSOFT, Vendor Version = 2.0.50727, Framework Version = 2.0.50727, Executable Paths = [C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727]
> [INFO] NMAVEN-068-002: No source files to compile.
> [INFO] NMAVEN-900-004: Compile Time = 0 ms
> [INFO] Mojo Execution Time = 0
> [INFO] [test:test]
> [INFO] NMAVEN-1100-001: No Unit Tests
> [INFO] [install:install]
> [INFO] NMAVEN-001-007: Installing file into repository: File = E:\Maestro\nmaven sample projects\nmaven-archetype\NMaven.Test.1.7.4\src\main\csharp\target\NMaven.Test.1.7.4.dll, Dest File = C:\Documents and Settings\cora\.m2\uac\gac_msil\NMaven.Test.1.7.4\1.0-SNAPSHOT__NMaven.Test.1.7.4\NMaven.Test.1.7.4.dll
> [INFO] Mojo Execution Time = 266
> [INFO] ------------------------------------------------------------------------
> [INFO] Building NMaven.Test.1.7.4 : NMaven.Test.1.7.4-Test
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> [INFO] [compile:initialize]
> Downloading: http://192.168.245.147:8080/archiva/repository/releases/NUnit/NUnit.Framework/2.2.9.0/NUnit.Framework-2.2.9.0.pom
> 418/418b
> 418b downloaded
> Downloading: http://192.168.245.147:8080/archiva/repository/releases/NUnit/NUnit.Framework/2.2.9.0/NUnit.Framework-2.2.9.0.pom
> 418/418b
> 418b downloaded
> [INFO] Mojo Execution Time = 78
> [INFO] [resolver:resolve]
> [INFO] Mojo Execution Time = 0
> [INFO] [NMaven.Plugin.Settings.JavaBinding:generate-settings]
> [INFO] [compile:generate-assembly-info]
> [INFO] NMAVEN-902-000: Generating Assembly Info: Language = C_SHARP
> [INFO] Mojo Execution Time = 0
> [INFO] [compile:process-sources]
> [INFO] NMAVEN-904-002: Copying source files: From = E:\Maestro\nmaven sample projects\nmaven-archetype\NMaven.Test.1.7.4\src\test\csharp\Sample,  To = E:\Maestro\nmaven sample projects\nmaven-archetype\NMaven.Test.1.7.4\src\test\csharp\target/build-sources, File Count = 1
> [INFO] [compile:process-test-sources]
> [INFO] NMAVEN-905-001: No test source files to copy
> [INFO] [resgen:copy-resources]
> [INFO] [resgen:generate]
> [INFO] [resgen:generate-existing-resx-to-resource]
> [INFO] [compile:compile]
> [INFO] NMAVEN-066-013: Found Vendor = Vendor = MICROSOFT, Vendor Version = 2.0.50727, Framework Version = 2.0.50727, Executable Paths = [C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727]
> [INFO] NMAVEN-900-009: Detected change in module dependency. Forcing a recompile: Changed Artifact = NMaven.Test.1.7.4:NMaven.Test.1.7.4:library:1.0-SNAPSHOT:compile
> [INFO] NMAVEN-068-003: Compiling Artifact: Vendor = MICROSOFT, Language = MICROSOFT, Assembly Name = E:\Maestro\nmaven sample projects\nmaven-archetype\NMaven.Test.1.7.4\src\test\csharp\target\NMaven.Test.1.7.4-Test.dll
> [INFO] NMAVEN-060-000: Ignoring unknown command: Command = /rootnamespace:NMaven
> src\test\csharp\Sample\MyAppTest.cs(8,15): warning CS1591: Missing XML comment for publicly visible type or member 'Sample.MyAppTest'
> src\test\csharp\Sample\MyAppTest.cs(12,18): warning CS1591: Missing XML comment for publicly visible type or member 'Sample.MyAppTest.SetUp()'
> src\test\csharp\Sample\MyAppTest.cs(17,15): warning CS1591: Missing XML comment for publicly visible type or member 'Sample.MyAppTest.TestSample()'
> [INFO] NMAVEN-900-004: Compile Time = 375 ms
> [INFO] Mojo Execution Time = 375
> [INFO] [compile:testCompile]
> [INFO] NMAVEN-066-013: Found Vendor = Vendor = MICROSOFT, Vendor Version = 2.0.50727, Framework Version = 2.0.50727, Executable Paths = [C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727]
> [INFO] NMAVEN-068-002: No source files to compile.
> [INFO] NMAVEN-900-004: Compile Time = 0 ms
> [INFO] Mojo Execution Time = 0
> [INFO] [test:test]
> [INFO] NMAVEN-1100-000.1: Artifact is an Integration Test
> Downloading: http://192.168.245.147:8080/archiva/repository/releases/NUnit/NUnit.Framework/2.2.9.0/NUnit.Framework-2.2.9.0.pom
> 418/418b
> 418b downloaded
> Downloading: http://192.168.245.147:8080/archiva/repository/releases/NUnit/NUnit.Framework/2.2.9.0/NUnit.Framework-2.2.9.0.pom
> 418/418b
> 418b downloaded
> [INFO] 
> NUnit version 2.2.9
> Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov, Charlie Poole.
> Copyright (C) 2000-2003 Philip Craig.
> All Rights Reserved.
> OS Version: Microsoft Windows NT 5.1.2600 Service Pack 3    .NET Version: 2.0.50727.832
> Tests run: 1, Failures: 0, Not run: 0, Time: 0.016 seconds
> [INFO] [install:install]
> [INFO] NMAVEN-001-007: Installing file into repository: File = E:\Maestro\nmaven sample projects\nmaven-archetype\NMaven.Test.1.7.4\src\test\csharp\target\NMaven.Test.1.7.4-Test.dll, Dest File = C:\Documents and Settings\cora\.m2\uac\gac_msil\NMaven.Test.1.7.4-Test\1.0-SNAPSHOT__NMaven.Test.1.7.4\NMaven.Test.1.7.4-Test.dll
> *Expected Result:*
> Goal must be successful! 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira