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
on 2011/08/16 18:43
Change comment:
Adding a tip for how to use a specific version of the wobootstrap plugin.
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 (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ldeck1 +XWiki.hprange - Content
-
... ... @@ -41,22 +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 - 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 - 60 60 === Custom WebObjects Location === 61 61 62 62 You can set 2 parameters to customize the mechanism used by this plug-in to locate WebObjects libraries: ... ... @@ -69,18 +69,12 @@ 69 69 {{noformat}} 70 70 71 71 mvn wobootstrap:install -DwebObjectsLibFolder=/a_path_to_webobjects/lib \ 72 - -DwebObjectsVersion=5. 3.356 + -DwebObjectsVersion=5.2 73 73 74 74 {{/noformat}} 75 75 76 76 You can use these parameters with both goals: install and deploy. 77 77 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 - 84 84 == Tips == 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"