Changes for page Maven Hello WOrld
Last modified by Yana Oksner on 2026/01/08 12:33
From version 17.2
edited by Lachlan Deck
on 2023/11/13 11:58
on 2023/11/13 11:58
Change comment:
Update document after refactoring.
To version 18.1
edited by Yana Oksner
on 2026/01/08 12:33
on 2026/01/08 12:33
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. ldeck1 +XWiki.yanasd - Content
-
... ... @@ -9,16 +9,16 @@ 9 9 ** To install maven on a mac: 10 10 install macports [[http:~~/~~/www.macports.org/install.php>>url:http://www.macports.org/install.php||shape="rect"]], then on the terminal 11 11 12 -{{ noformat}}12 +{{code}} 13 13 sudo port install maven2 14 -{{/ noformat}}14 +{{/code}} 15 15 16 16 {{info title="Future upgrades"}} 17 17 In future, to keep this up to date: 18 18 19 -{{ noformat}}19 +{{code}} 20 20 sudo port upgrade maven2 21 -{{/ noformat}}21 +{{/code}} 22 22 {{/info}} 23 23 24 24 * Maven Settings ... ... @@ -29,9 +29,9 @@ 29 29 30 30 Download and [[install>>url:https://connect.apple.com||shape="rect"]] the latest WebObjects frameworks from Apple (included with Xcode Developer Tools). Then import the WebObjects jars into your repository by executing the following from the terminal: 31 31 32 -{{ noformat}}32 +{{code}} 33 33 mvn wobootstrap:install 34 -{{/ noformat}}34 +{{/code}} 35 35 36 36 {{info title="~"Additional reading~""}} 37 37 For further information about the available options and goals of the wobootstrap plugin see [[here>>url:http://wiki.objectstyle.org/confluence/display/WOL/maven-wobootstrap-plugin||shape="rect"]]. ... ... @@ -39,7 +39,7 @@ 39 39 40 40 The output from running the above command will look something like this: 41 41 42 -{{ noformat}}42 +{{code}} 43 43 44 44 ldecks-macbook-pro:tutorials ldeck$ mvn wobootstrap:install 45 45 [INFO] Scanning for projects... ... ... @@ -104,7 +104,7 @@ 104 104 [INFO] ------------------------------------------------------------------------ 105 105 ldecks-macbook-pro:tutorials ldeck$ 106 106 107 -{{/ noformat}}107 +{{/code}} 108 108 109 109 === Step 2 - Creating a WebObjects Application Project === 110 110 ... ... @@ -112,8 +112,8 @@ 112 112 113 113 === Step 3 - Run The Application === 114 114 115 -{{ noformat}}115 +{{code}} 116 116 117 117 mvn clean jetty:run-war 118 118 119 -{{/ noformat}}119 +{{/code}}