Changes for page Quick Start
Last modified by Paul Hoadley on 2025/01/30 02:09
From version 61.1
edited by Ramsey Gurley
on 2015/04/30 21:05
on 2015/04/30 21:05
Change comment:
There is no comment for this version
To version 60.1
edited by Lachlan Deck
on 2011/08/20 19:56
on 2011/08/20 19:56
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ramsey1 +XWiki.ldeck - Content
-
... ... @@ -8,6 +8,7 @@ 8 8 install macports [[http:~~/~~/www.macports.org/install.php>>url:http://www.macports.org/install.php||shape="rect"]], then on the terminal: 9 9 10 10 {{noformat}} 11 + 11 11 sudo port install maven3 12 12 13 13 {{/noformat}} ... ... @@ -15,6 +15,7 @@ 15 15 In future, to keep this up to date: 16 16 17 17 {{noformat}} 19 + 18 18 sudo port upgrade maven3 19 19 20 20 {{/noformat}} ... ... @@ -22,6 +22,7 @@ 22 22 Don't forget to install maven_select: 23 23 24 24 {{noformat}} 27 + 25 25 sudo port install maven_select 26 26 27 27 {{/noformat}} ... ... @@ -41,9 +41,10 @@ 41 41 42 42 == Step 3: Installing WebObjects Libraries == 43 43 44 -Maven takes control of all your project's dependencies. To develop WebObjects applications, Maven has to reference the WebObjects jars. You have to [[install the WebObjects libraries into your local repository>>url:http://wocreator.sourceforge.net/repository-howto.html||shape="rect"]]to accomplish this:47 +Maven takes control of all your project's dependencies. To develop WebObjects applications, Maven has to reference the WebObjects jars. You have to install the WebObjects libraries into your local repository to accomplish this: 45 45 46 46 {{noformat}} 50 + 47 47 mvn wobootstrap:install 48 48 49 49 {{/noformat}} ... ... @@ -50,7 +50,7 @@ 50 50 51 51 **NOTE**: WebObjects must be installed. 52 52 53 -**See** the [[doc:maven-wobootstrap-plugin]] documentation for more information and options for specifying a specific version. 57 +**See** the [[maven-wobootstrap-plugin>>doc:maven-wobootstrap-plugin]] documentation for more information and options for specifying a specific version. 54 54 55 55 **See** [[Maven Introduction to Repositories>>url:http://maven.apache.org/guides/introduction/introduction-to-repositories.html||shape="rect"]] if you want more information about Maven repositories. 56 56 ... ... @@ -63,6 +63,7 @@ 63 63 Archetypes are the fast way to create a new project using Maven and WOProject provides various archetypes of its own to get you started with WebObjects, or better, Wonder-based applications. Execute the following command to generate a basic Wonder application project: 64 64 65 65 {{noformat}} 70 + 66 66 mvn archetype:generate -DarchetypeArtifactId=erxapplication-archetype \ 67 67 -DarchetypeGroupId=org.objectstyle.woproject.maven2 \ 68 68 -DarchetypeVersion=2.1 ... ... @@ -71,11 +71,11 @@ 71 71 72 72 The maven-archetype-plugin will ask the required information to create the new project. 73 73 74 -**NOTE**: You can use archetype catalogs to reduce the number of properties to set while creating a project. See the documentation of [[doc:woapplication-archetype]]. 79 +**NOTE**: You can use archetype catalogs to reduce the number of properties to set while creating a project. See the documentation of [[woapplication-archetype>>doc:woapplication-archetype]]. 75 75 76 76 **NOTE**: You can use archetypes within Eclipse as described [[here>>doc:documentation.Maven Create WO Application Project||anchor="m2eclipse"]]. 77 77 78 -**NOTE:** You can see the list of available archetypes in the following location: [[http:~~/~~/wo-repository.moleque.com.br/nexus/content/groups/public/org/objectstyle/woproject/maven2/>>url:http://wo-repository.moleque.com.br/nexus/content/groups/public/org/objectstyle/woproject/maven2/||shape="rect"]]. 83 +**NOTE:** You can see the list of available archetypes in the following location: [[http:~~/~~/wo-repository.moleque.com.br/nexus/content/groups/public/org/objectstyle/woproject/maven2/>>url:http://wo-repository.moleque.com.br/nexus/content/groups/public/org/objectstyle/woproject/maven2/||shape="rect"]]. 79 79 80 80 == Step 5: Importing the Project into Eclipse == 81 81 ... ... @@ -98,6 +98,7 @@ 98 98 Now, building your project with Maven is easy. Go to the project folder on Terminal and execute: 99 99 100 100 {{noformat}} 106 + 101 101 mvn clean package 102 102 103 103 {{/noformat}} ... ... @@ -107,6 +107,7 @@ 107 107 To install your project into your local repository: 108 108 109 109 {{noformat}} 116 + 110 110 mvn clean install 111 111 112 112 {{/noformat}}