Changes for page maven-wobootstrap-plugin
Last modified by Lachlan Deck on 2011/08/16 18:43
From 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
To version 9.1
edited by Henrique Prange
on 2008/06/25 10:47
on 2008/06/25 10:47
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- 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 (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). 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}}. 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/]] 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,6 +41,24 @@ 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.2 57 + 58 +{{/noformat}} 59 + 60 +You can use these parameters with both goals: install and deploy. 61 + 44 44 == Tips == 45 45 46 46 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"