You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2013/03/04 16:33:12 UTC
[jira] [Created] (SLING-2771) mvn validate doesn't work if local
Maven repo is empty
Bertrand Delacretaz created SLING-2771:
------------------------------------------
Summary: mvn validate doesn't work if local Maven repo is empty
Key: SLING-2771
URL: https://issues.apache.org/jira/browse/SLING-2771
Project: Sling
Issue Type: Bug
Components: General
Environment: macosx with java version "1.6.0_37" and Apache Maven 3.0.5
Reporter: Bertrand Delacretaz
Priority: Minor
The workaround is to build launchpad/base first, and the cause seems to be https://jira.codehaus.org/browse/MNG-1911
$ cd sling
$ mv $HOME/.m2/repository/org/apache/sling /tmp/keep-it-somewhere
$ mvn validate
INFO] Scanning for projects...
[WARNING] The POM for org.apache.sling:org.apache.sling.launchpad.base:jar:2.5.1-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.apache.sling:org.apache.sling.launchpad.base:jar:app:2.5.1-SNAPSHOT is missing, no dependency information available
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.apache.sling:org.apache.sling.launchpad.testing:7-SNAPSHOT (/Users/bert/workspace/apache/sling/launchpad/testing/pom.xml) has 1 error
[ERROR] Unresolveable build extension: Plugin org.apache.sling:maven-launchpad-plugin:2.1.2 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.sling:org.apache.sling.launchpad.base:jar:2.5.1-SNAPSHOT, org.apache.sling:org.apache.sling.launchpad.base:jar:app:2.5.1-SNAPSHOT...
--
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: http://www.atlassian.com/software/jira