Changes for page maven-wobootstrap-plugin
Last modified by Lachlan Deck on 2011/08/16 18:43
From version 16.1
edited by Henrique Prange
on 2008/04/25 11:49
on 2008/04/25 11:49
Change comment:
There is no comment for this version
To version 18.1
edited by Lachlan Deck
on 2011/08/16 18:43
on 2011/08/16 18:43
Change comment:
Adding a tip for how to use a specific version of the wobootstrap plugin.
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. hprange1 +XWiki.ldeck - 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 ... ... @@ -41,6 +41,22 @@ 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 + 45 + 46 +{{tip title="Using the full identifier"}} 47 +There are two reasons for needing to specify the complete identifier of the wobootstrap plugin: 48 +* You want to use a specific version 49 +* You have an environment out of your control and you cannot adjust the pluginGroups in the settings.xml file. 50 + 51 +{code:bash} 52 +## 53 +## Usage: <groupId>:<artifactId>[:<version>]:<goal> 54 +## where goal is either install or deploy, for example. 55 +## 56 +mvn org.objectstyle.woproject.maven2:maven-wobootstrap-plugin[:<version>]:<goal> 57 +{code} 58 +{{/tip}} 59 + 44 44 === Custom WebObjects Location === 45 45 46 46 You can set 2 parameters to customize the mechanism used by this plug-in to locate WebObjects libraries: ... ... @@ -53,12 +53,18 @@ 53 53 {{noformat}} 54 54 55 55 mvn wobootstrap:install -DwebObjectsLibFolder=/a_path_to_webobjects/lib \ 56 - -DwebObjectsVersion=5. 272 + -DwebObjectsVersion=5.3.3 57 57 58 58 {{/noformat}} 59 59 60 60 You can use these parameters with both goals: install and deploy. 61 61 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 +{{/warning}} 83 + 62 62 == Tips == 63 63 64 64 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"