Changes for page maven-wobootstrap-plugin
Last modified by Lachlan Deck on 2011/08/16 18:43
From version 6.1
edited by Lachlan Deck
on 2008/11/23 16:15
on 2008/11/23 16:15
Change comment:
Adding warning about installing the right jars
To version 15.1
edited by Henrique Prange
on 2008/04/23 14:58
on 2008/04/23 14:58
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.hprange - 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 (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 ... ... @@ -14,7 +14,7 @@ 14 14 15 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.** 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>>http://maven.apache.org/plugins/maven-deploy-plugin/]] goal.** 18 18 19 19 == Usage == 20 20 ... ... @@ -41,30 +41,6 @@ 41 41 42 42 If the url to deploy is not specified, the goal will fail. The repositoryId points to a server section in the settings.xml file. If you don't specify a repositoryId, Maven will try to extract authentication information using the default id 'remote-repository'. 43 43 44 -=== Custom WebObjects Location === 45 - 46 -You can set 2 parameters to customize the mechanism used by this plug-in to locate WebObjects libraries: 47 - 48 -* **webObjectsLibFolder** (optional): The folder containing the WebObjects jars. If you provide a folder without the correct WebObjects libraries, the goal will succeed, but no libraries will be installed or deployed. 49 -* **webObjectsVersion** (optional): The version of the WebObjects jars. 50 - 51 -These configurations are optional, but you have to provide both if you want to customize the search for WebObjects libraries. 52 - 53 -{{noformat}} 54 - 55 -mvn wobootstrap:install -DwebObjectsLibFolder=/a_path_to_webobjects/lib \ 56 - -DwebObjectsVersion=5.3.3 57 - 58 -{{/noformat}} 59 - 60 -You can use these parameters with both goals: install and deploy. 61 - 62 -{{warning title="Installing the right jars!"}} 63 - 64 -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. 65 - 66 -{{/warning}} 67 - 68 68 == Tips == 69 69 70 70 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"