Uploaded image for project: 'Stanbol (Retired)'
  1. Stanbol (Retired)
  2. STANBOL-965

Add maven prerequisites 3.+ for pom files using the maven-launchpad-plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • 0.12.0
    • Build
    • None

    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

          Activity

            People

              rwesten Rupert Westenthaler
              rwesten Rupert Westenthaler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: