Hi Erik,

If you look within the pom.xml file of the NMaven.Solution project, you will
see the compiler is configured to only use Microsoft framework
2.0environment.  Writing Maven Plugins in C# (like the Solution
plugin) in not
supported under Mono. There is a bug in Mono, dealing with the creation of
new app domain managers; and I have not yet had time to follow up with the
Mono group to get this fixed: http://jira.codehaus.org/browse/NMAVEN-67.

I suspect that STABLE-2007-05-18 - which is prior to the introduction to the
.NET Maven plugin framework - would work in generating the solution files.

Shane

On 9/4/07, Erik Jensen <[EMAIL PROTECTED]> wrote:
>
> I'm attempting to build the STABLE-2007-07-25 tag on Linux and receiving
> the following error. I thought I would ask the list if anyone knows what may
> be the problem before I dive in deeper.
>
> Mono Version:
> Mono JIT compiler version 1.2.4 (tarball)
> Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
>        TLS:           __thread
>        GC:            Included Boehm (with typed GC)
>        SIGSEGV:       normal
>        Architecture:  x86
>        Disabled:      none
>
> Java Version:
> java version "1.5.0_12"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
> Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode)
>
> Maven Version:
> Maven version: 2.0.4
>
> Build Error:
>
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building NMaven.Solution
> [INFO]    task-segment: [install]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [compile:initialize]
> [INFO] Mojo Execution Time = 1
> [INFO] [resolver:resolve]
> [INFO] [NMaven.Plugin.Settings.JavaBinding:generate-settings]
> [INFO] [compile:generate-assembly-info]
> [INFO] NMAVEN-902-001: Found AssemblyInfo file(s), so will not generate
> one
> [INFO] [compile:process-sources]
> [INFO] NMAVEN-904-002: Copying source files: From =
> /home/erikrj/work/Novell/build/tmp/nmaven/assemblies/NMaven.Solution/.,  To
> =
> /home/erikrj/work/Novell/build/tmp/nmaven/assemblies/NMaven.Solution/target/build-sources,
> File Count = 6
> [INFO] [compile:process-test-sources]
> [INFO] NMAVEN-905-001: No test source files to copy
> [INFO] [resgen:copy-resources]
> [INFO] [resgen:generate]
> [INFO] [compile:compile]
> [INFO] NMAVEN-066-013: Found Vendor = Vendor = MICROSOFT, Vendor Version =
> 2.0.50727, Framework Version = 2.0.50727, Executable Paths =
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] NMAVEN-900-005: Unsupported Platform: Language = C_SHARP, Vendor =
> MICROSOFT, ArtifactType = library
>
> Embedded error: NMAVEN-000-000: Could not find GAC dependency: File =
> /home/erikrj/work/Novell/build/tmp/nmaven/null\assembly\GAC_MSIL\/Microsoft.Build.Engine/2.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Engine.dll
>
> Thanks,
>
> Erik
>
>

Reply via email to