I'm trying to get just a vanilla dotnet build working and am getting a
strange exception that Nmaven is looking for mono.  I've tried setting
<vendor> to MICROSOFT at it doesn't seem to make a difference.  Any
ideas?  This is running against the live 0.14-SNAPSHOT as you'll see
below.

My environment:
XP SP2
JDK 1.5.0_10
Maven 2.0.6

I removed my settings.xml and deleted my local repository.  I run the
following pom:

<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                      http://maven.apache.org/xsd/maven-4.0.0.xsd";>

  <modelVersion>4.0.0</modelVersion>
  <groupId>my.group</groupId>
  <artifactId>my.library</artifactId>
  <name>My Library</name>
  <packaging>library</packaging>
  <version>2.2.5.0-SNAPSHOT</version>

  <repositories>
    <repository>
      <id>org.apache</id>
      <name>Maven Snapshots</name>
      <url>http://people.apache.org/repo/m2-snapshot-repository</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <id>org.apache</id>
      <name>Maven Plugin Snapshots</name>
      <url>http://people.apache.org/repo/m2-snapshot-repository</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </pluginRepository>
  </pluginRepositories>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.dotnet.plugins</groupId>
        <artifactId>maven-compile-plugin</artifactId>
        <extensions>true</extensions>
        <version>0.14-SNAPSHOT</version>
        <configuration>
          <vendor>MICROSOFT</vendor>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>


I get the following exception:


NMaven.Plugin.ExecutionException: NMAVEN-9011-007: Mono installation
could not be found.
   at
NMaven.Plugin.Settings.SettingsGeneratorMojo.GetVendorsForMono(RegistryK
ey monoRegistryKey, String defaultMonoCLR)
   at NMaven.Plugin.Settings.SettingsGeneratorMojo.Execute()
NMaven.Plugin.ExecutionException: NMAVEN-9011-000: No CSCC_LIB_PATH
Found
   at
NMaven.Plugin.Settings.SettingsGeneratorMojo.GetVendorForGnu(String
libPath)
   at NMaven.Plugin.Settings.SettingsGeneratorMojo.Execute()
[ERROR] 
[ERROR] Unhandled Exception: System.IO.IOException: The network path was
not found.


Attached is the full build log.

Reply via email to