It looks like this occurs when a password matches the definition of an encrpyted password (I believe anything wrapped in { ... }), and you do not have a master password configured. I'll improve the error message.

Did you already have a password like this, or were you testing the encrypted passwords before?

Cheers,
Brett

On 11/03/2009, at 9:31 PM, Mark Hobson wrote:

Just tried upgrading from 2.0.10 and get this:

[m...@mark]$ mvn clean install
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to configure Maven for execution
org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
java.io.FileNotFoundException: C:\Documents and
Settings\mark\.m2\settings-security.xml (The system cannot find the
file specified)
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Unable to configure
Maven for execution
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 289)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:136)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
       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)
Caused by: org.apache.maven.SettingsConfigurationException:
org.sonatype.plexus.components.sec.dispatcher.SecDispatcherException:
java.io.FileNotFoundException: C:\Documents and
Settings\mark\.m2\settings-security.xml (The system cannot find the
file specified)
at org.apache.maven.DefaultMaven.resolveParameters(DefaultMaven.java:756) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 277)
       ... 10 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Wed Mar 11 10:29:14 GMT 2009
[INFO] Final Memory: 1M/2M
[INFO] ------------------------------------------------------------------------

Should it really bomb if settings-security.xml is missing?  Is there
any doc regarding this config file?

Mark

2009/3/11 Paul Gier <[email protected]>:
Seems to work fine for the JBoss app server :)

John Casey wrote:

Hi everyone,

I've rolled the first release candidate for Maven 2.1.0. It's available
at:

http://tinyurl.com/maven-2-1-0-RC1

(https://repository.apache.org/content/repositories/maven-staging-4e4fa48c70323f/org/apache/maven/apache-maven/2.1.0/ )

The staging repository root is at:


https://repository.apache.org/content/repositories/maven-staging-4e4fa48c70323f

If you have time, please take a look and see if you can break it!

BTW, the JIRA version notes for this release are at:

http://tinyurl.com/maven-2-1-0-jira

(http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10500&styleName=Html&version=14587 )

If we can't find anything wrong with this release candidate after maybe four or five days at most, I'll call the vote for a release. Hopefully we can coast in on the effort we put forth in the last release, at least to
some extent! :-)

Thanks,

-john

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


--
Brett Porter
[email protected]
http://blogs.exist.com/bporter/


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to