Description
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.
Attachments
Issue Links
- is superceded by
-
STANBOL-994 Add Maven 3 prerequisite in parent POM
- Resolved