Skip to content

Commit f0b3516

Browse files
authored
Merge pull request #102 from OpenLiberty/qa
Merge qa to master: fixed the hotspots
2 parents 0529917 + f0a7d48 commit f0b3516

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.adoc

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ contains a [hotspot]`pom.xml` file, which defines the project configuration, dep
7272
and so on.
7373

7474
Navigate 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
7676
you to install applications into Open Liberty as well as manage the server instances.
7777

7878
pom.xml
@@ -221,8 +221,8 @@ updates the running server without the need for the server to be restarted.
221221

222222
Take 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

227227
pom.xml
228228
[source, XML, linenums, role="code_column"]
@@ -406,23 +406,23 @@ Open Liberty supports a number of different server packages. The sample applicat
406406
currently generates a `usr` package that contains the servers and application to be
407407
extracted 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
410410
the [hotspot file=0]`pom.xml`.
411411

412412
Instead of creating a server package, you can generate a runnable JAR file that contains
413413
the application along with a server runtime. This JAR can then be run anywhere and deploy
414414
your 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
```
419419
mvn install -P runnable-package
420420
```
421421

422422
The `-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`
426426
plug-in, which generates the server package that you want.
427427

428428
When 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
431431
is over 100 MB. To omit the features that you don't need and package the JAR with only
432432
the [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
```
438438
mvn 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`
443443
package and generates a runnable JAR file that contains only the [hotspot=2-9 file=1]`features` that you
444444
explicitly enabled in your [hotspot file=1]`server.xml` file. As a result, the
445445
generated JAR is only about 50 MB.

0 commit comments

Comments
 (0)