Update documentation to correct Maven profile name
The profile name in the documentation was updated from 'Image' to 'image' to match the actual Maven profile name. The changes were made in both English and German versions of the documentation to ensure the accuracy of the build instruction.
This commit is contained in:
parent
7cc1877ca6
commit
ef4fedd441
@ -11,25 +11,25 @@ werden kann.
|
|||||||
|
|
||||||
## Aufruf
|
## Aufruf
|
||||||
|
|
||||||
Um das Image zu bauen, ist Maven mit dem Profil Image und dem Ziel install zu starten.
|
Um das Image zu bauen, ist Maven mit dem Profil image und dem Ziel install zu starten.
|
||||||
Da es teilweise zu Problemen kommt, wenn Dateien überschrieben werden müssen, sollte
|
Da es teilweise zu Problemen kommt, wenn Dateien überschrieben werden müssen, sollte
|
||||||
als Erstes ein clean durchlaufen.
|
als Erstes ein clean durchlaufen.
|
||||||
|
|
||||||
Dies kann in einem Durchlauf erfolgen:
|
Dies kann in einem Durchlauf erfolgen:
|
||||||
```shell
|
```shell
|
||||||
mvnw -PImage clean install
|
mvnw -Pimage clean install
|
||||||
```
|
```
|
||||||
|
|
||||||
## Beschreibung des Image Profils
|
## Beschreibung des image Profils
|
||||||
|
|
||||||
### Das Profil
|
### Das Profil
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
<profile>
|
<profile>
|
||||||
<id>Image</id>
|
<id>image</id>
|
||||||
<activation>
|
<activation>
|
||||||
<property>
|
<property>
|
||||||
<name>Image</name>
|
<name>image</name>
|
||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
<build>
|
<build>
|
||||||
@ -42,8 +42,8 @@ mvnw -PImage clean install
|
|||||||
</profile>
|
</profile>
|
||||||
```
|
```
|
||||||
|
|
||||||
- Das Profil hat eine Id: Image. Damit ist es möglich, das Profil über -PImage auszuwählen.
|
- Das Profil hat eine Id: image. Damit ist es möglich, das Profil über -Pimage auszuwählen.
|
||||||
- Durch die activation Property ist es zusätzlich möglich, das Profil auch über ein Define auszuwählen: -DImage
|
- Durch die activation Property ist es zusätzlich möglich, das Profil auch über ein Define auszuwählen: -Dimage
|
||||||
- In dem Profil selbst sind dann Plugins untergebracht.
|
- In dem Profil selbst sind dann Plugins untergebracht.
|
||||||
|
|
||||||
### maven-dependency-plugin
|
### maven-dependency-plugin
|
||||||
|
|||||||
@ -9,12 +9,12 @@ Creation of an "image": A directory structure with files along with a binary tha
|
|||||||
|
|
||||||
## Invocation
|
## Invocation
|
||||||
|
|
||||||
To build the image, start Maven with the Image profile and the install goal.
|
To build the image, start Maven with the image profile and the install goal.
|
||||||
Since there are sometimes problems when files need to be overwritten, a clean should be run first.
|
Since there are sometimes problems when files need to be overwritten, a clean should be run first.
|
||||||
|
|
||||||
This can be done in one run:
|
This can be done in one run:
|
||||||
```shell
|
```shell
|
||||||
mvnw -PImage clean install
|
mvnw -Pimage clean install
|
||||||
```
|
```
|
||||||
|
|
||||||
## Description of theImage Profile
|
## Description of theImage Profile
|
||||||
@ -23,10 +23,10 @@ mvnw -PImage clean install
|
|||||||
|
|
||||||
```xml
|
```xml
|
||||||
<profile>
|
<profile>
|
||||||
<id>Image</id>
|
<id>image</id>
|
||||||
<activation>
|
<activation>
|
||||||
<property>
|
<property>
|
||||||
<name>Image</name>
|
<name>image</name>
|
||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
<build>
|
<build>
|
||||||
@ -39,8 +39,8 @@ mvnw -PImage clean install
|
|||||||
</profile>
|
</profile>
|
||||||
```
|
```
|
||||||
|
|
||||||
- The profile has an ID: Image. This allows the profile to be selected using -PImage.
|
- The profile has an ID: image. This allows the profile to be selected using -Pimage.
|
||||||
- Additionally, the profile can be selected using a define: -DImage
|
- Additionally, the profile can be selected using a define: -Dimage
|
||||||
- The profile itself then contains plugins.
|
- The profile itself then contains plugins.
|
||||||
|
|
||||||
### maven-dependency-plugin
|
### maven-dependency-plugin
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user