Skip to content

Commit 2e4ffee

Browse files
authored
Update README.md
1 parent 6679de6 commit 2e4ffee

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

README.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# JavaPackager
22
JavaPackager Maven Plugin provides an easy way to package Java applications in native Windows, OS X, or Linux executables.
33

4-
### How to build and install the plugin
4+
## How to build and install the plugin
55

66
Execute next commands in BASH (GNU/Linux) or CMD (Windows):
77

@@ -12,26 +12,24 @@ git clone https://github.com/fvarrui/JavaPackager.git
1212
cd JavaPackager
1313
```
1414

15-
2. Compile, package and install the plugin in your local repository and in `releases` folder:
15+
2. Compile, package and install the plugin in your local repository and in the project's `releases` folder:
1616

1717
```bash
1818
mvn install
1919
```
2020

21-
### How to use the plugin
21+
## How to use the plugin
2222

2323
Add the following `pluginRepository` to your `pom.xml`:
2424

2525
```xml
26-
<pluginRepositories>
27-
<pluginRepository>
28-
<id>javapackager-repo</id>
29-
<url>https://github.com/fvarrui/JavaPackager/raw/master/releases</url>
30-
<releases>
31-
<enabled>true</enabled>
32-
</releases>
33-
</pluginRepository>
34-
</pluginRepositories>
26+
<pluginRepository>
27+
<id>javapackager-repo</id>
28+
<url>https://github.com/fvarrui/JavaPackager/raw/master/releases</url>
29+
<releases>
30+
<enabled>true</enabled>
31+
</releases>
32+
</pluginRepository>
3533
```
3634

3735
And the following `plugin` tag to your `pom.xml`.
@@ -95,7 +93,7 @@ Some assets, such as application icons, could be located in `assets` folder orga
9593
└── projectname.ico # on Windows it has to be an ico file
9694
```
9795

98-
Where **projectname** corresponds to `name` property in `pom.xml`.
96+
> **projectname** corresponds to `name` property in `pom.xml`.
9997
10098
> :warning: If `iconFile` property is not specified and it can't find the correct icon in `assets` folder, it will use next icon by default for all platforms:
10199
>
@@ -122,4 +120,4 @@ By default, it will generate next artifacts in `target ` folder:
122120

123121
Thanks to the following contributors, who have provided patches and other assistance:
124122

125-
* **[Heinrich Drendorf (nachsommer)](https://github.com/nachsommer)**
123+
* **[Heinrich Drendorf (nachsommer)](https://github.com/nachsommer)**

0 commit comments

Comments
 (0)