[DOCU-698] Update Maven setup page Created: 16/Mar/16 Updated: 27/Jun/16 Resolved: 11/Apr/16 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Christoph Meier | Assignee: | Martin DrĂ¡pela |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoR: |
Empty
|
| Date of First Response: | |
| Sprint: | Docu Sprint 10 |
| Description |
|
Page: https://documentation.magnolia-cms.com/display/DEV/Maven+setup explains Magnolia specific Maven setup for 4 different user groups / having access to
Combinations of forge- and EE-users exist as well. Fix "recipe"The worst thing on the page a.t.m.: The "recipe" explaining how to create the Maven settings.xml isn't working anymore. Current description (not working)
Workaround:
First i'm also curious whether mdrapela with his linux machine can confirm the "bug" / aka no more working recipe. Furthermore we should analyze why it is failing - however that's beyond the scope of this ticket. The Install Maven sectionIn this section, doc says: |
| Comments |
| Comment by Martin DrĂ¡pela [ 06/Apr/16 ] |
Maven configuration on a linux machineConfiguring MAVEN 3.2.3 (successfully tested also for version 3.3.9) can be accomplished by following this procedure (tested with Java 1.7 OpenJDK, on Lubuntu 15.10 (version 4.2.0-16-generic, i386). On Linux, installation of MAVEN basically just means unpacking the gzipped binaries into a folder of your choice and modifying the PATH variable so that the mvn command can find the unpacked binaries. No ".m2" folder will be auto-generated in this phase of course.
[Please note that a test build "Test the Maven Nexus settings", recommended as the next step in MAVEN configuration for the EE users, will produce errors (discussed also here: https://jira.magnolia-cms.com/browse/SYS-1115 with a follow-up https://jira.magnolia-cms.com/browse/MGNLUI-1908). |
| Comment by Christoph Meier [ 06/Apr/16 ] |
|
Here are my findings about doing the procedure on a Mac So: For new maven user without existing settings, do the following: For CE user:
For all other groups
|
| Comment by Christoph Meier [ 11/Apr/16 ] |
|
I was on the way testing the new setup page ... however ... it looks like either templates or nexus settings or both need some minor adjustments. |
| Comment by Christoph Meier [ 27/Jun/16 ] |
|
So. User may still encounter an issue with Maven failing to downloads some artifacts from vaadin-addons. However, the issue and a workaround are described on the new Maven setup page, and the issue should not happen again with Magnolia UI 5.4.8+ and 5.5+ |
| Comment by Christoph Meier [ 27/Jun/16 ] |
|
I have applied the last versions of the new page from mdrapela to the "old" existing page. (The temp. copy page i have deleted.) |