[BUILD-130] Upgrade to Maven 3.x Created: 27/Aug/13  Updated: 05/May/17  Resolved: 23/Oct/14

Status: Closed
Project: Build
Component/s: None
Affects Version/s: None
Fix Version/s: POMs 30

Type: Story Priority: Critical
Reporter: Magnolia International Assignee: Magnolia International
Resolution: Fixed Votes: 3
Labels: maven, maven3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to BUILD-255 Maven version check during release is... Closed
dependency
is depended upon by BUILD-151 Add staging configuration Closed
relation
is related to BUILD-135 Update site plugin to 3.4 Closed
Template:
Acceptance criteria:
Empty

 Description   

We're finally moving to Maven 3.x
Maven 3.2.3 fixes a bunch of issues we've had in the past:

  • various (plugins, poms) inheritance related issues
  • performance, to a certain extent
  • scope:import can be simplified !

It is also needed for Nexus staging (BUILD-151)

We'll need to

Most important changes from Maven 2 are documented at https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes



 Comments   
Comment by Magnolia International [ 31/Jul/14 ]

We could even update to Maven 3.2.1 or 3.2.3 when it's out. 3.2.2 suffers from MNG-5663.
When doing so, we might have an issue with the Dependency Analyzer plugin of Jenkins, which seems to be marking builds as failed for no reason. The plugin doesn't seem to do much, work, or be maintained anyway, so i'd be in favor of just dropping it.

Comment by Magnolia International [ 09/Sep/14 ]

Maven 3 also seems to solve the issue where magnolia-bundle-parent could not build magnolia-bundled-webapp in a reactor because the latter wouldn't see the info.magnolia:magnolia-empty-webapp:pom dependency.
This means release processes can probably be cleaned up, no more need to hack about with -DpreparationGoals="clean install".

Comment by Magnolia International [ 10/Sep/14 ]

Site generation seems relatively fine. We'll probably upgrade a few reports/plugins in the process and remove some (who needs xref anymore), but it's come a long way since the early 3.0 releases.

Generated at Sun Feb 11 23:39:03 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.