[ http://jira.codehaus.org/browse/NMAVEN-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_90562 ]
Shane Isbell commented on NMAVEN-4: ----------------------------------- Fixed this in SI_IDE branch. The bug is only a Windows bug. It occurs whenever the user 1) has both Mono and MS installed; and 2) sets the framework to v1.1 in the pom. NMaven generates the <isDefault> tag in the nmaven-settings.xml file only for Mono, which is the correct behavior. When NMaven sees the 1.1 version it iterates through all the .NET installations and only finds the Mono version (which has the isDefault tag). To fix this, I set the Vendor to the default one for the OS: MS for Windows and Mono for Linux. This changes the behavior slightly, meaning that on Windows Mono can only be set through the defaultSetup (in the nmaven-settings.xml file) or directly within the configuration within the pom.xml file. The defaultVersion is still configurable through the isDefault tag. > maven-xsd-plugin choosing wrong vendor for xsd generation > --------------------------------------------------------- > > Key: NMAVEN-4 > URL: http://jira.codehaus.org/browse/NMAVEN-4 > Project: NMaven > Issue Type: Bug > Environment: Windows XP, Mono, Microsoft .NET > Reporter: Shane Isbell > Priority: Minor > Attachments: log.txt, registry-config.cs > > > This problem occurs for a project using the maven-xsd-plugin on Windows XP, > where both Mono and Microsoft .NET are installed. The pom.xml build file does > not specify a vendor, but the default one in the nmaven-settings.xml is > Microsoft. The maven-xsd-plugin is incorrectly choosing MONO 1.1.4322 to > generate the xsd bindings. The correct vendor (Microsoft) and version > (2.0.50727) are used for compiling. > This problem can be seen within the trunk\integration-tests\tests\it0007 > integration test within NMaven by looking in the log.txt file (for vendor > compiler) and in the > trunk\integration-tests\tests\it0007\target\build-sources\registry-config.cs > (for the xsd generated vendor/version). -- 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