|
| 1 | +// Module included in the following assemblies: |
| 2 | +// |
| 3 | +// * docs/maven-guide/master.adoc |
| 4 | +// * docs/plugin-guide/master.adoc |
| 5 | + |
| 6 | +ifdef::maven-guide[] |
| 7 | +[id="installing-maven-plugin_{context}"] |
| 8 | += Installing the {MavenNameTitle} |
| 9 | + |
| 10 | +You can install the {MavenName} in your local Maven repository. |
| 11 | +endif::[] |
| 12 | +ifdef::plugin-guide[] |
| 13 | +[id="installing-ide-plugin-connected-environment_{context}"] |
| 14 | += Installing the {PluginName} in a connected environment |
| 15 | + |
| 16 | +You can install the {PluginName} for Eclipse or Red Hat CodeReady Studio in a connected environment. |
| 17 | + |
| 18 | +The {PluginName} has been tested with Eclipse 2020-09 and Red Hat CodeReady Studio 12.15. |
| 19 | +endif::[] |
| 20 | +ifdef::disconnected[] |
| 21 | +[id="installing-ide-plugin-disconnected-environment_{context}"] |
| 22 | += Installing the {PluginName} in a disconnected environment |
| 23 | + |
| 24 | +You can install the {PluginName} for Eclipse or Red Hat CodeReady Studio in a disconnected environment. |
| 25 | + |
| 26 | +The {PluginName} has been tested with Eclipse 2020-09 and Red Hat CodeReady Studio 12.15. |
| 27 | +endif::[] |
| 28 | + |
| 29 | +.Prerequisites |
| 30 | + |
| 31 | +ifdef::maven-guide[] |
| 32 | +* OpenJDK 1.8, OpenJDK 11, Oracle JDK 1.8, _or_ Oracle JDK 11 |
| 33 | +* 8 GB RAM |
| 34 | +* Maven 3.2.5 or later |
| 35 | +endif::[] |
| 36 | +ifdef::plugin-guide,disconnected[] |
| 37 | +* link:{CodeReadyStudioDownloadPageURL}[Red Hat CodeReady Studio] _or_ link:https://www.eclipse.org/downloads/packages/release/2020-09/r/eclipse-ide-enterprise-java-developers[Eclipse IDE for Java Enterprise Developers 2020-09 R] |
| 38 | +* JBoss Tools |
| 39 | ++ |
| 40 | +You must install the Eclipse Marketplace Client, browse to JBoss Tools in the Client, and then install the JBoss Tools. For more information, navigate to link:https://www.eclipse.org/[Eclipse.org], click *More* -> *Documentation*, and select the *Eclipse Marketplace User Guide*. |
| 41 | +endif::[] |
| 42 | +* If you are installing on macOS, the value of `maxproc` must be `2048` or greater. |
| 43 | + |
| 44 | +.Procedure |
| 45 | + |
| 46 | +ifdef::maven-guide[] |
| 47 | +. Clone the {MavenName} Github repository: |
| 48 | ++ |
| 49 | +---- |
| 50 | +$ git clone https://github.com/windup/windup-maven-plugin.git |
| 51 | +---- |
| 52 | + |
| 53 | +. Navigate to the `windup-maven-plugin` directory. |
| 54 | ++ |
| 55 | +---- |
| 56 | +$ cd windup-maven-plugin |
| 57 | +---- |
| 58 | + |
| 59 | +. Build the project: |
| 60 | ++ |
| 61 | +---- |
| 62 | +$ mvn clean install |
| 63 | +---- |
| 64 | ++ |
| 65 | +The `windup-maven-plugin` jar is installed in your local Maven repository. |
| 66 | +endif::[] |
| 67 | +ifdef::disconnected[] |
| 68 | +. Navigate to the link:{MTADownloadPageURL}[Migration Toolkit for Applications download site] and download the `IDE Plugin Repository` file. |
| 69 | +endif::[] |
| 70 | +ifdef::plugin-guide,disconnected[] |
| 71 | +. Launch your IDE. |
| 72 | +. From the menu bar, select *Help* -> *Install New Software*. |
| 73 | +. Next to the *Work with* field, click *Add*. |
| 74 | +. In the *Name* field, enter `{ProductShortName}`. |
| 75 | +endif::[] |
| 76 | +ifdef::plugin-guide[] |
| 77 | +. In the *Location* field, enter `\http://download.jboss.org/jbosstools/photon/stable/updates/mta/` and click *OK*. |
| 78 | +endif::[] |
| 79 | +ifdef::disconnected[] |
| 80 | +. Next to the *Location* field, click *Archive*. |
| 81 | +. Select the IDE Plugin archive file and click *OK*. |
| 82 | +endif::[] |
| 83 | +ifdef::plugin-guide,disconnected[] |
| 84 | +. Select all the *JBoss Tools - MTA* check boxes and click *Next*. |
| 85 | +. Review the installation details and click *Next*. |
| 86 | +. Accept the terms of the license agreement and click *Finish* to install the plugin. |
| 87 | +. Restart your IDE for the changes to take effect. |
| 88 | +endif::[] |
0 commit comments