Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-15891

Upgrade cargo-maven2-plugin to maven3

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 16.0.0
    • None
    • None

    Description

      In the cargo.run Maven profile, and other places, the org.codehaus.cargo:cargo-maven2-plugin is configured.

      This plugin is retired and its last version 1.9.0 relocates to the cargo-maven3-plugin with the following message:

      As Maven 2.x is end of life since November 2009, the Maven 2 / Maven 3 plugin of Codehaus Cargo has been retired and superceeded by a Maven 3 only plugin. Read more on: https://codehaus-cargo.github.io/cargo/Maven+3+Plugin.html

      We should use the cargo-maven3-plugin instead, latest version is 1.10.13 currently.

      Note that running cargo-maven2-plugin:1.9.0 gives

      [ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven3-plugin:1.9.0:start (cargo-run) on project myproject: For all packaging other than war you need to configure the container you wish to use.

      (it redirects to the maven3 one!) so we may have to tweak to configuration.

      Attachments

        Issue Links

          Activity

            People

              jhoffman Jeroen Hoffman
              jhoffman Jeroen Hoffman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: