Changes for page Quick Start

Last modified by Paul Hoadley on 2025/01/30 02:09

From version 30.1
edited by Lachlan Deck
on 2008/11/18 05:35
Change comment: Fixing generate command to use 2.0.16
To version 44.1
edited by Henrique Prange
on 2008/05/01 17:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ldeck
1 +XWiki.hprange
Content
... ... @@ -3,6 +3,7 @@
3 3  Downloading and installing the latest version of [[Maven>>http://maven.apache.org/download]] is the first step to start using this tool.
4 4  
5 5  **NOTE**: It is very helpful if you understand some Maven concepts before continue with this tutorial. See [[General Maven Documentation]] for more information.
6 +
6 6  
7 7  == Step 2: Configuring your Maven Settings ==
8 8  
... ... @@ -20,10 +20,6 @@
20 20   ...
21 21   <profiles>
22 22   <profile>
23 - <id>default</id>
24 - <activation>
25 - <activeByDefault>true</activeByDefault>
26 - </activation>
27 27   <pluginRepositories>
28 28   <pluginRepository>
29 29   <id>mdimension.releases</id>
... ... @@ -59,7 +59,7 @@
59 59  
60 60  {{/noformat}}
61 61  
62 -**NOTE**: You can download the complete settings.xml [[here>>^settings.xml]]. See [[Maven Settings Reference>>http://maven.apache.org/settings.html]] if you want more information about the settings.xml file.
59 +**NOTE**: You can download the complete settings.xml [[here|]]. See [[Maven Settings Reference>>http://maven.apache.org/settings.html]] if you want more information about the settings.xml file.
63 63  
64 64  == Step 3: Installing WebObjects Libraries ==
65 65  
... ... @@ -81,7 +81,7 @@
81 81  
82 82  mvn archetype:generate -DarchetypeArtifactId=woapplication-archetype \
83 83   -DarchetypeGroupId=org.objectstyle.woproject.maven2 \
84 - -DarchetypeVersion=2.0.16 \
81 + -DarchetypeVersion=2.0.14 \
85 85   -DarchetypeRepository=http://webobjects.mdimension.com/maven2/releases
86 86  
87 87  {{/noformat}}
... ... @@ -90,8 +90,6 @@
90 90  
91 91  **NOTE**: You can use archetype catalogs to reduce the number of properties to set while creating a project. See the documentation of [[woapplication-archetype]].
92 92  
93 -**NOTE**: You can use archetypes within Eclipse as described [[here>>Maven Create WO Application Project||anchor="m2eclipse"]].
94 -
95 95  == Step 5: Importing the Project into Eclipse ==
96 96  
97 97  The new project is ready to be imported into Eclipse workspace. Use the Eclipse's import wizard (File > Import...) and choose the option "Existing Projects into Workspace". Select the root directory of your new project and finish the import wizard.
... ... @@ -99,19 +99,20 @@
99 99  {{note title="Warning"}}
100 100  
101 101  As Maven takes care of the dependency management, you must use a mechanism to add the jars to your Eclipse build path. There are 3 options:
102 -# Use the [mvn eclipse:eclipse|http://maven.apache.org/plugins/maven-eclipse-plugin/] goal to update your .classpath file.
103 -# Use the [m2eclipse|http://m2eclipse.codehaus.org/] plug-in for Eclipse.
104 -# Use the [q4e|http://code.google.com/p/q4e/] plug-in for Eclipse.
105 105  
98 +# Use the mvn eclipse:eclipse goal to update your .classpath file.
99 +# Use the m2eclipse plug-in for Eclipse.
100 +# Use the q4e plug-in for Eclipse.
101 +
106 106  {{/note}}
107 107  
108 108  After adding the project dependencies to your Eclipse build path, WOLips can build the project and you will be able to start developing and running the application.
109 109  
110 -**NOTE**: This tutorial assumes you have chosen the option 2. You can find more information about IDE integration [[here>>General Maven Documentation||anchor="IDE Integration"]].
106 +**NOTE**: This tutorial assumes you have chosen the option 2. You can find more information about IDE integration [[here>>General Maven Documentation]].
111 111  
112 112  == Step 6: Building WebObjects Applications with Maven ==
113 113  
114 -Now, building your project with Maven is easy. Go to the project folder on Terminal and execute:
110 +Now, building your project with Maven is easy. Point to the project folder on Terminal and execute:
115 115  
116 116  {{noformat}}
117 117