maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allan G. Ramirez (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (NMAVEN-132) VS Addin 'Configure Maven Repository' breaks command line builds
Date Thu, 29 May 2008 03:02:21 GMT
VS Addin 'Configure Maven Repository' breaks command line builds
----------------------------------------------------------------

                 Key: NMAVEN-132
                 URL: http://jira.codehaus.org/browse/NMAVEN-132
             Project: NMaven
          Issue Type: Bug
    Affects Versions: 0.14 (Unreleased)
            Reporter: Allan G. Ramirez


The VS Addin's 'Configure Maven Repository' option adds a profile to settings.xml with the
repository url you supply.

This change breaks command-line builds:

{code}
C:\svn\examples\NMaven.Sample>mvn clean
...
java.lang.ClassCastException: Settings.addActiveProfiles(string) parameter must be instanceof
java.lang.String
        at org.apache.maven.settings.Settings.addActiveProfile(Settings.java:91)
        at org.apache.maven.settings.DefaultMavenSettingsBuilder.activateDefaultProfiles(DefaultMavenSettingsBuilder.java:197)
        at org.apache.maven.settings.DefaultMavenSettingsBuilder.buildSettings(DefaultMavenSettingsBuilder.java:177)
        at org.apache.maven.settings.DefaultMavenSettingsBuilder.buildSettings(DefaultMavenSettingsBuilder.java:153)
        at org.apache.maven.settings.DefaultMavenSettingsBuilder.buildSettings(DefaultMavenSettingsBuilder.java:141)
        at org.apache.maven.cli.MavenCli.buildSettings(MavenCli.java:315)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:176)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
{code} 

-- 
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

        

Mime
View raw message