Changes for page Quick Start Maven Settings Configuration Guide
Last modified by Paul Hoadley on 2023/12/25 05:57
From version 3.1
edited by Lachlan Deck
on 2011/08/13 21:20
on 2011/08/13 21:20
Change comment:
Migrated to Confluence 4.0
To version 2.1
edited by Lachlan Deck
on 2011/08/13 21:20
on 2011/08/13 21:20
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,9 +1,15 @@ 1 1 === Configuring Maven for use with WOCommunity artifacts === 2 2 3 -(% style="color: rgb(51,51,51);" %)Before start using Maven, you have to configure it in order to use the plug-ins provided by WOCommunity, or specifically the woproject. General Maven configuration is made in a settings.xml file. This file can be found in a folder called {{code language="none"}}.m2{{/code}} in each user's home directory (~~/.m2 on Unix systems and C:\Documents and Settings\UserName\.m2 on Windows). If this file does not yet exist, you can just create it. 3 +{{color value="#333333"}} 4 +Before start using Maven, you have to configure it in order to use the plug-ins provided by WOCommunity, or specifically the woproject. General Maven configuration is made in a settings.xml file. This file can be found in a folder called 5 +{{/color}} 4 4 5 - (%style="color:rgb(51,51,51);"%)You haveto definetheWOProjectplug-ingroupandthe repositoriestodownloadtheplug-ins.The followingxmlissufficient toconfiguremavenforusingWOProject-mavenplugin:7 +{{color value="#333333"}}{{.m2{}}}{{/color}}{{color value="#333333"}} in each user's home directory (~/.m2 on Unix systems and C:Documents and SettingsUserName.m2 on Windows). If this file does not yet exist, you can just create it.{{/color}} 6 6 9 +{{color value="#333333"}} 10 +You have to define the WOProject plug-in group and the repositories to download the plug-ins. The following xml is sufficient to configure maven for using WOProject-maven plugin: 11 +{{/color}} 12 + 7 7 {{noformat}} 8 8 9 9 <settings xmlns="http://maven.apache.org/POM/4.0.0" ... ... @@ -91,6 +91,6 @@ 91 91 92 92 === Reference Documentation === 93 93 94 -See url:http://maven.apache.org/settings.html||shape="rect"]]100 +See [[Maven Settings Reference>>http://maven.apache.org/settings.html]] for official apache documentation on the maven settings and options. 95 95 96 -See url:http://maven.apache.org/ref/current/maven-settings/settings.html||shape="rect"]]102 +See [[settings.xml>>http://maven.apache.org/ref/current/maven-settings/settings.html]] for official apache documentation on it's format.