[ 
https://issues.apache.org/jira/browse/SLING-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13592307#comment-13592307
 ] 

Justin Edelson commented on SLING-2771:
---------------------------------------

Agreed. The other thing we can do is not depend upon a SNAPSHOT version of 
launchpad.base.
                
> 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
>            Assignee: 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

Reply via email to