From 7ef7789ad00b7600ce997d295ae654a456e2c4da Mon Sep 17 00:00:00 2001 From: Danny Salman Date: Mon, 26 Aug 2019 13:45:41 -0400 Subject: [PATCH 1/3] Update README.adoc --- README.adoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.adoc b/README.adoc index bedd3cb2..442fda54 100644 --- a/README.adoc +++ b/README.adoc @@ -72,7 +72,7 @@ contains a [hotspot]`pom.xml` file, which defines the project configuration, dep and so on. Navigate to the `start` directory where your [hotspot]`pom.xml` file is located. Your `pom.xml` file -is configured to include the [hotspot=193-215]`liberty-maven-plugin`, which allows +is configured to include the [hotspot=192-213]`liberty-maven-plugin`, which allows you to install applications into Open Liberty as well as manage the server instances. pom.xml @@ -221,8 +221,8 @@ updates the running server without the need for the server to be restarted. Take a look at your [hotspot file=0]`pom.xml` file. -The loose application support is enabled with the [hotspot=206 file=0]`` -element in the [hotspot=193-215 file=0]`liberty-maven-plugin` plug-in. +The loose application support is enabled with the [hotspot=181 file=0]`` +element in the [hotspot=192-213 file=0]`liberty-maven-plugin` plug-in. pom.xml [source, XML, linenums, role="code_column"] @@ -406,7 +406,7 @@ Open Liberty supports a number of different server packages. The sample applicat currently generates a `usr` package that contains the servers and application to be extracted onto an Open Liberty installation. -The type of server package is configured with [hotspot=33 file=0]`` in +The type of server package is configured with [hotspot=32 file=0]`` in the [hotspot file=0]`pom.xml`. Instead of creating a server package, you can generate a runnable JAR file that contains @@ -421,8 +421,8 @@ mvn install -P runnable-package The `-P` flag specifies the Maven profile to be run during the build. In this case, the [hotspot=40-48 file=0]`runnable-package` profile is invoked, which temporarily overrides -the [hotspot=33 hotspot=46 file=0]`packaging.type` property from the `usr` package to the `runnable` -package. This property then propagates to the [hotspot=193-215 file=0]`liberty-maven-plugin` +the [hotspot=32 hotspot=45 file=0]`packaging.type` property from the `usr` package to the `runnable` +package. This property then propagates to the [hotspot=192-213 file=0]`liberty-maven-plugin` plug-in, which generates the server package that you want. When the build completes, you can find the runnable `getting-started.jar` file in the From fe721e7efa47a69e126421df046fe5379498ea61 Mon Sep 17 00:00:00 2001 From: Danny Salman Date: Thu, 29 Aug 2019 10:38:51 -0400 Subject: [PATCH 2/3] Update README.adoc --- README.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.adoc b/README.adoc index 442fda54..4ec8d6e2 100644 --- a/README.adoc +++ b/README.adoc @@ -412,7 +412,7 @@ the [hotspot file=0]`pom.xml`. Instead of creating a server package, you can generate a runnable JAR file that contains the application along with a server runtime. This JAR can then be run anywhere and deploy your application and server at the same time. To generate a runnable JAR, invoke the -[hotspot=40-48 file=0]`runnable-package` profile by using the `-P` flag: +[hotspot=39-47 file=0]`runnable-package` profile by using the `-P` flag: [role='command'] ``` @@ -420,7 +420,7 @@ mvn install -P runnable-package ``` The `-P` flag specifies the Maven profile to be run during the build. In this case, the -[hotspot=40-48 file=0]`runnable-package` profile is invoked, which temporarily overrides +[hotspot=39-47 file=0]`runnable-package` profile is invoked, which temporarily overrides the [hotspot=32 hotspot=45 file=0]`packaging.type` property from the `usr` package to the `runnable` package. This property then propagates to the [hotspot=192-213 file=0]`liberty-maven-plugin` plug-in, which generates the server package that you want. @@ -431,15 +431,15 @@ Open Liberty, including the entirety of Java EE and MicroProfile. As a result, t is over 100 MB. To omit the features that you don't need and package the JAR with only the [hotspot=2-9 file=1]`features` that you defined in the [hotspot file=1]`server.xml` file, use `minifiy,runnable` as the packaging type. To build a minimal runnable JAR, invoke the -[hotspot=49-57 file=0]`minify-runnable-package` profile by using the `-P` flag: +[hotspot=48-56 file=0]`minify-runnable-package` profile by using the `-P` flag: [role='command'] ``` mvn install -P minify-runnable-package ``` -The [hotspot=49-57 file=0]`minify-runnable-package` profile overrides the -[hotspot=33 hotspot=55 file=0]`packaging.type` property from the `usr` package to the `minify,runnable` +The [hotspot=48-56 file=0]`minify-runnable-package` profile overrides the +[hotspot=32 hotspot=54 file=0]`packaging.type` property from the `usr` package to the `minify,runnable` package and generates a runnable JAR file that contains only the [hotspot=2-9 file=1]`features` that you explicitly enabled in your [hotspot file=1]`server.xml` file. As a result, the generated JAR is only about 50 MB. From aeaefedde3e4b15affd3d1c117ee2ce93f20f46c Mon Sep 17 00:00:00 2001 From: Danny Salman Date: Thu, 29 Aug 2019 13:56:41 -0400 Subject: [PATCH 3/3] Update README.adoc maven-plugin hotspot was incorrect --- README.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.adoc b/README.adoc index 4ec8d6e2..19e36d9c 100644 --- a/README.adoc +++ b/README.adoc @@ -72,7 +72,7 @@ contains a [hotspot]`pom.xml` file, which defines the project configuration, dep and so on. Navigate to the `start` directory where your [hotspot]`pom.xml` file is located. Your `pom.xml` file -is configured to include the [hotspot=192-213]`liberty-maven-plugin`, which allows +is configured to include the [hotspot=168-190]`liberty-maven-plugin`, which allows you to install applications into Open Liberty as well as manage the server instances. pom.xml @@ -222,7 +222,7 @@ updates the running server without the need for the server to be restarted. Take a look at your [hotspot file=0]`pom.xml` file. The loose application support is enabled with the [hotspot=181 file=0]`` -element in the [hotspot=192-213 file=0]`liberty-maven-plugin` plug-in. +element in the [hotspot=168-190 file=0]`liberty-maven-plugin` plug-in. pom.xml [source, XML, linenums, role="code_column"] @@ -422,7 +422,7 @@ mvn install -P runnable-package The `-P` flag specifies the Maven profile to be run during the build. In this case, the [hotspot=39-47 file=0]`runnable-package` profile is invoked, which temporarily overrides the [hotspot=32 hotspot=45 file=0]`packaging.type` property from the `usr` package to the `runnable` -package. This property then propagates to the [hotspot=192-213 file=0]`liberty-maven-plugin` +package. This property then propagates to the [hotspot=168-190 file=0]`liberty-maven-plugin` plug-in, which generates the server package that you want. When the build completes, you can find the runnable `getting-started.jar` file in the