Details
-
Task
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
2
-
Orion
-
Orion.Cycle3.Sprint
-
Publish
-
Undetermined
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
- is a result of
-
CMS-15636 Upgrading Maven Plugins to the recent versions
- Closed