@@ -72,7 +72,7 @@ contains a [hotspot]`pom.xml` file, which defines the project configuration, dep
7272and so on.
7373
7474Navigate to the `start` directory where your [hotspot]`pom.xml` file is located. Your `pom.xml` file
75- is configured to include the [hotspot=193-215 ]`liberty-maven-plugin`, which allows
75+ is configured to include the [hotspot=168-190 ]`liberty-maven-plugin`, which allows
7676you to install applications into Open Liberty as well as manage the server instances.
7777
7878pom.xml
@@ -221,8 +221,8 @@ updates the running server without the need for the server to be restarted.
221221
222222Take a look at your [hotspot file=0]`pom.xml` file.
223223
224- The loose application support is enabled with the [hotspot=206 file=0]`<looseApplication/>`
225- element in the [hotspot=193-215 file=0]`liberty-maven-plugin` plug-in.
224+ The loose application support is enabled with the [hotspot=181 file=0]`<looseApplication/>`
225+ element in the [hotspot=168-190 file=0]`liberty-maven-plugin` plug-in.
226226
227227pom.xml
228228[source, XML, linenums, role="code_column"]
@@ -406,23 +406,23 @@ Open Liberty supports a number of different server packages. The sample applicat
406406currently generates a `usr` package that contains the servers and application to be
407407extracted onto an Open Liberty installation.
408408
409- The type of server package is configured with [hotspot=33 file=0]`<packaging.type/>` in
409+ The type of server package is configured with [hotspot=32 file=0]`<packaging.type/>` in
410410the [hotspot file=0]`pom.xml`.
411411
412412Instead of creating a server package, you can generate a runnable JAR file that contains
413413the application along with a server runtime. This JAR can then be run anywhere and deploy
414414your application and server at the same time. To generate a runnable JAR, invoke the
415- [hotspot=40-48 file=0]`runnable-package` profile by using the `-P` flag:
415+ [hotspot=39-47 file=0]`runnable-package` profile by using the `-P` flag:
416416
417417[role='command']
418418```
419419mvn install -P runnable-package
420420```
421421
422422The `-P` flag specifies the Maven profile to be run during the build. In this case, the
423- [hotspot=40-48 file=0]`runnable-package` profile is invoked, which temporarily overrides
424- the [hotspot=33 hotspot=46 file=0]`packaging.type` property from the `usr` package to the `runnable`
425- package. This property then propagates to the [hotspot=193-215 file=0]`liberty-maven-plugin`
423+ [hotspot=39-47 file=0]`runnable-package` profile is invoked, which temporarily overrides
424+ the [hotspot=32 hotspot=45 file=0]`packaging.type` property from the `usr` package to the `runnable`
425+ package. This property then propagates to the [hotspot=168-190 file=0]`liberty-maven-plugin`
426426plug-in, which generates the server package that you want.
427427
428428When the build completes, you can find the runnable `getting-started.jar` file in the
@@ -431,15 +431,15 @@ Open Liberty, including the entirety of Java EE and MicroProfile. As a result, t
431431is over 100 MB. To omit the features that you don't need and package the JAR with only
432432the [hotspot=2-9 file=1]`features` that you defined in the [hotspot file=1]`server.xml` file, use
433433`minifiy,runnable` as the packaging type. To build a minimal runnable JAR, invoke the
434- [hotspot=49-57 file=0]`minify-runnable-package` profile by using the `-P` flag:
434+ [hotspot=48-56 file=0]`minify-runnable-package` profile by using the `-P` flag:
435435
436436[role='command']
437437```
438438mvn install -P minify-runnable-package
439439```
440440
441- The [hotspot=49-57 file=0]`minify-runnable-package` profile overrides the
442- [hotspot=33 hotspot=55 file=0]`packaging.type` property from the `usr` package to the `minify,runnable`
441+ The [hotspot=48-56 file=0]`minify-runnable-package` profile overrides the
442+ [hotspot=32 hotspot=54 file=0]`packaging.type` property from the `usr` package to the `minify,runnable`
443443package and generates a runnable JAR file that contains only the [hotspot=2-9 file=1]`features` that you
444444explicitly enabled in your [hotspot file=1]`server.xml` file. As a result, the
445445generated JAR is only about 50 MB.
0 commit comments