This appears to be another permutation of MNG-2739. I've reopened it.

-john

Olivier Lamy wrote:
Hi,

In my settings.xml, I have :
   <mirror>
      <mirrorOf>rec-ap2</mirrorOf>
      <url>http://xx.xxx.xxx.xxx:10080/maven2</url>
      <!--<id>proxy-recap2</id>-->
    </mirror>

This causes :

bash-3.00$ mvn validate
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] id can not be null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException: id can not be null
        at 
org.apache.maven.wagon.repository.Repository.<init>(Repository.java:81)
        at 
org.apache.maven.artifact.repository.DefaultArtifactRepository.<init>(DefaultArtifac
             tRepository.java:87)
        at 
org.apache.maven.artifact.repository.DefaultArtifactRepository.<init>(DefaultArtifac
             tRepository.java:57)
        at 
org.apache.maven.artifact.manager.DefaultWagonManager.addMirror(DefaultWagonManager.
             java:960)
        at 
org.apache.maven.DefaultMaven.resolveParameters(DefaultMaven.java:695)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:270)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:302)
        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:324)
        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)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sat Jul 26 00:39:33 CEST 2008
[INFO] Final Memory: 1M/510M
[INFO] ------------------------------------------------------------------------

Anyway adding a <id> element is not a big pain.

--
Olivier

2008/7/25 John Casey <[EMAIL PROTECTED]>:
Sorry, the URL for RC3 is:

http://people.apache.org/~jdcasey/stage/apache-maven/2.0.10-RC3/org/apache/maven/apache-maven/2.0.10-RC3

-j

John Casey wrote:
Hi again,

We've solved all of the issues brought up in response to the 2.0.10-RC2
release candidate, minus MNG-3678 (which I've postponed to 2.0.11 so we can
take a look at whether this is happening by design, and what resolution we
want to pursue for it).

The issues we've solved for this release candidate are:

- MNG-3679
- MNG-3680
- MNG-3684

...in addition, Brett took care of the verbose output related to artifact
resolution that were popping up.

Again, for a full list of issues resolved so far for the 2.0.10 release,
see:


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

Please give this release candidate a whirl, and let me know if you have
any problems. I'm trying to collect all issues in JIRA with fix-for of
2.0.10, so if you want to file a JIRA ticket for your issue and include a
failing test case, that will make my job that much quicker.

Thanks,

-john

--
John Casey
Developer, PMC Member - Apache Maven (http://maven.apache.org)
Blog: http://www.ejlife.net/blogs/buildchimp/

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


--
John Casey
Developer, PMC Member - Apache Maven (http://maven.apache.org)
Blog: http://www.ejlife.net/blogs/buildchimp/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to