maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol (JIRA)" <>
Subject [jira] (MNG-5542) Resolution issue when using -pl on the command line
Date Mon, 02 Dec 2013 14:08:45 GMT
Vincent Massol created MNG-5542:

             Summary: Resolution issue when using -pl on the command line
                 Key: MNG-5542
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Dependencies
    Affects Versions: 3.1.1
            Reporter: Vincent Massol

When I build using -pl and one of the pom has a parent that isn't in my local repository,
I get a failure:

Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact
org.xwiki.platform:xwiki-platform-core:pom:5.3-SNAPSHOT in local.central (file:///Users/vmassol/.m2/repository)
        at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(
        at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(
        at org.eclipse.aether.connector.wagon.WagonRepositoryConnector$
        at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$

I think Maven should download it from the remote repository.

To reproduce:
* Git clone in some directory (let's call it XWIKIHOME)
* Add the XWiki remote repository to your settings.xml, see
* cd in /tmp
* Execute:

mvn -B -f XWIKIHOME/xwiki-platform/pom.xml -amd -pl org.xwiki.platform:xwiki-platform-tool-packager-plugin,org.xwiki.platform:xwiki-platform-administration-test-tests,org.xwiki.platform:xwiki-platform-messagestream-test-tests,org.xwiki.platform:xwiki-platform-panels-test-tests,org.xwiki.platform:xwiki-platform-wysiwyg-test-tests
clean deploy -Plegacy,integration-tests -U -e

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message