Changes for page maven-wobootstrap-plugin

Last modified by Lachlan Deck on 2011/08/16 18:43

From version 18.1
edited by Lachlan Deck
on 2011/08/16 18:43
Change comment: Adding a tip for how to use a specific version of the wobootstrap plugin.
To version 20.1
edited by Lachlan Deck
on 2011/08/16 18:43
Change comment: Migrated to Confluence 5.3

Summary

Details

Page properties
Parent
... ... @@ -1,0 +1,1 @@
1 +WOProject-Maven
Content
... ... @@ -1,6 +1,6 @@
1 1  == Introduction ==
2 2  
3 -The wobootstrap plug-in is used to import the WebObjects libraries to the Maven's local repository or a remote repository for sharing with other developers and projects {{color value="red"}}*(for WebObjects version 5.3 and later, the license is now included as part of the Xcode software license. Please review the license in the Xcode installer to verify if you are not breaking the current terms)*{{/color}}.
3 +The wobootstrap plug-in is used to import the WebObjects libraries to the Maven's local repository or a remote repository for sharing with other developers and projects (% style="color: red;" %)**(for WebObjects version 5.3 and later, the license is now included as part of the Xcode software license. Please review the license in the Xcode installer to verify if you are not breaking the current terms)**(%%).
4 4  
5 5  This plug-in searches for the WebObjects jars and generates all the required information (groupId, artifactId and version) to import the libraries to the particular repository.
6 6  
... ... @@ -12,9 +12,9 @@
12 12  
13 13  The wobootstrap plug-in has 2 goals:
14 14  
15 -* **wobootstrap:install* goal is used to import the WebObjects libraries to the local repository. It works in a similar way to the [[install:install-file>>http://maven.apache.org/plugins/maven-install-plugin/]] goal, but the wobootstrap provides all the required information to install the jars.**
15 +* **wobootstrap:install** goal is used to import the WebObjects libraries to the local repository. It works in a similar way to the [[install:install-file>>url:http://maven.apache.org/plugins/maven-install-plugin/||shape="rect"]] goal, but the wobootstrap provides all the required information to install the jars.
16 16  
17 -* **woboostrap:deploy* goal is used to import the WebObjects libraries to the specified remote repository. It works in a similar way to the [[deploy:deploy-file>>http://maven.apache.org/plugins/maven-deploy-plugin/]] goal.**
17 +* **woboostrap:deploy** goal is used to import the WebObjects libraries to the specified remote repository. It works in a similar way to the [[deploy:deploy-file>>url:http://maven.apache.org/plugins/maven-deploy-plugin/||shape="rect"]] goal.
18 18  
19 19  == Usage ==
20 20  
... ... @@ -45,16 +45,19 @@
45 45  
46 46  {{tip title="Using the full identifier"}}
47 47  There are two reasons for needing to specify the complete identifier of the wobootstrap plugin:
48 +
48 48  * You want to use a specific version
49 49  * You have an environment out of your control and you cannot adjust the pluginGroups in the settings.xml file.
50 50  
51 -{code:bash}
52 +{{code 0="bash"}}
53 +
52 52  ##
53 53  ## Usage: <groupId>:<artifactId>[:<version>]:<goal>
54 54  ## where goal is either install or deploy, for example.
55 55  ##
56 56  mvn org.objectstyle.woproject.maven2:maven-wobootstrap-plugin[:<version>]:<goal>
57 -{code}
59 +
60 +{{/code}}
58 58  {{/tip}}
59 59  
60 60  === Custom WebObjects Location ===
... ... @@ -76,9 +76,7 @@
76 76  You can use these parameters with both goals: install and deploy.
77 77  
78 78  {{warning title="Installing the right jars!"}}
79 -
80 -Do *not* link to or install the WebObjects jars located inside {{/System/Library/Frameworks}} or {{/Library/Frameworks}}. If you're installing an older version of WebObjects you must obtain the jars that the WebObjects installer had previously installed into {{/Library/WebObjects/lib}}. For example, the jar {{/Library/WebObjects/lib/JavaWebObjects.jar}} has the complete set of resources and files included for the dependency JavaWebObjects whereas {{/System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar}} does not.
81 -
82 +Do **not** link to or install the WebObjects jars located inside {{code language="none"}}/System/Library/Frameworks{{/code}} or {{code language="none"}}/Library/Frameworks{{/code}}. If you're installing an older version of WebObjects you must obtain the jars that the WebObjects installer had previously installed into {{code language="none"}}/Library/WebObjects/lib{{/code}}. For example, the jar {{code language="none"}}/Library/WebObjects/lib/JavaWebObjects.jar{{/code}} has the complete set of resources and files included for the dependency JavaWebObjects whereas {{code language="none"}}/System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar{{/code}} does not.
82 82  {{/warning}}
83 83  
84 84  == Tips ==
... ... @@ -85,4 +85,4 @@
85 85  
86 86  If the following error happens while using the wobootstrap:deploy goal: "Error deploying artifact: Unsupported Protocol: 'ftp': Cannot find wagon which supports the requested protocol: ftp"
87 87  
88 -See the solution [[here>>http://maven.apache.org/plugins/maven-deploy-plugin/faq.html]].
89 +See the solution [[here>>url:http://maven.apache.org/plugins/maven-deploy-plugin/faq.html||shape="rect"]].
XWiki.XWikiComments[0]
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.marius
Comment
... ... @@ -1,0 +1,10 @@
1 +mvn wobootstrap:install fails with
2 +
3 +[INFO] Error building POM (may not be this project's POM).
4 + Project ID: null:maven-wobootstrap-plugin:maven-plugin:null
5 + Reason: Cannot find parent: org.objectstyle.woproject.maven2:maven2 for project: null:maven-wobootstrap-plugin:maven-plugin:null for project null:maven-wobootstrap-plugin:maven-plugin:null
6 + [INFO] Error building POM (may not be this project's POM).
7 +
8 +Project ID: null:maven-wobootstrap-plugin:maven-plugin:null
9 +
10 +Reason: Cannot find parent: org.objectstyle.woproject.maven2:maven2 for project: null:maven-wobootstrap-plugin:maven-plugin:null for project null:maven-wobootstrap-plugin:maven-plugin:null
Date
... ... @@ -1,0 +1,1 @@
1 +2011-08-09 08:02:52.0