Rupert Westenthaler created STANBOL-965:
-------------------------------------------

             Summary: Add maven prerequisites 3.+ for pom files using the 
maven-launchpad-plugin
                 Key: STANBOL-965
                 URL: https://issues.apache.org/jira/browse/STANBOL-965
             Project: Stanbol
          Issue Type: Bug
          Components: Build
            Reporter: Rupert Westenthaler
            Assignee: Rupert Westenthaler
            Priority: Minor


The org.apache.sling:maven-launchpad-plugin:2.2.0 requires the maven 3 API and 
can not be used with maven 2.

Maven 2 users will get an Error like 

[INFO] Internal error in the plugin manager executing goal 
'org.apache.sling:maven-launchpad-plugin:2.2.0:attach-partial-bundle-list': 
Unable to load the mojo 
'org.apache.sling:maven-launchpad-plugin:2.2.0:attach-partial-bundle-list' in 
the plugin 'org.apache.sling:maven-launchpad-plugin'. A required class is 
missing: org/apache/maven/artifact/repository/RepositoryRequest
org.apache.maven.artifact.repository.RepositoryRequest

adding

    <prerequisites>
        <maven>3.0.3</maven>
    </prerequisites>

ensures that the build fails early and with a much clearer error message. 


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