[Project] maven archetypes have been renamed
This commit is contained in:
parent
6253a104ff
commit
36ab08d083
|
@ -14,6 +14,6 @@ Once that works, use the archetypes configuration to reconfigure your project to
|
||||||
{{% notice warning %}}
|
{{% notice warning %}}
|
||||||
Note: Beware to select the archetype pertaining to your use case:
|
Note: Beware to select the archetype pertaining to your use case:
|
||||||
|
|
||||||
* For a web app use the [li.strolch.mvn.archetype.webapp](/development/web-app)
|
* For a web app use the [strolch.mvn.archetype.webapp](/development/web-app)
|
||||||
* For an application with a main method use [li.strolch.mvn.archetype.main](/development/main-class-app)
|
* For an application with a main method use [strolch.mvn.archetype.main](/development/main-class-app)
|
||||||
{{% /notice %}}
|
{{% /notice %}}
|
||||||
|
|
|
@ -16,7 +16,7 @@ following command will fail.
|
||||||
```shell
|
```shell
|
||||||
mvn archetype:generate \
|
mvn archetype:generate \
|
||||||
-DarchetypeGroupId=li.strolch \
|
-DarchetypeGroupId=li.strolch \
|
||||||
-DarchetypeArtifactId=li.strolch.mvn.archetype.main \
|
-DarchetypeArtifactId=strolch.mvn.archetype.main \
|
||||||
-DarchetypeVersion=0.1.0-SNAPSHOT \
|
-DarchetypeVersion=0.1.0-SNAPSHOT \
|
||||||
-DgroupId=<my.groupid> \
|
-DgroupId=<my.groupid> \
|
||||||
-DartifactId=<my-artifactId> \
|
-DartifactId=<my-artifactId> \
|
||||||
|
|
|
@ -7,10 +7,10 @@ weight: 40
|
||||||
|
|
||||||
Maven offers archetypes to generate new projects. Strolch offers the following archetypes, to create new projects:
|
Maven offers archetypes to generate new projects. Strolch offers the following archetypes, to create new projects:
|
||||||
|
|
||||||
* [li.strolch.mvn.archetype.main](/development/main-class-app) for Java main class applications
|
* [strolch.mvn.archetype.main](/development/main-class-app) for Java main class applications
|
||||||
* [li.strolch.mvn.archetype.webapp](/development/web-app) for Java Web based applications using REST and Polymer 1.x as
|
* [strolch.mvn.archetype.webapp](/development/web-app) for Java Web based applications using REST and Polymer 1.x as
|
||||||
the frontend.
|
the frontend.
|
||||||
* [li.strolch.mvn.archetype.plc](/plc/example-set-up) for Strolch PLC projects.
|
* [strolch.mvn.archetype.plc](/plc/example-set-up) for Strolch PLC projects.
|
||||||
|
|
||||||
To use the archetypes, clone the archetypes repository and install it locally:
|
To use the archetypes, clone the archetypes repository and install it locally:
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ following command will fail.
|
||||||
```shell
|
```shell
|
||||||
mvn archetype:generate \
|
mvn archetype:generate \
|
||||||
-DarchetypeGroupId=li.strolch \
|
-DarchetypeGroupId=li.strolch \
|
||||||
-DarchetypeArtifactId=li.strolch.mvn.archetype.webapp \
|
-DarchetypeArtifactId=strolch.mvn.archetype.webapp \
|
||||||
-DarchetypeVersion=0.1.0-SNAPSHOT \
|
-DarchetypeVersion=0.1.0-SNAPSHOT \
|
||||||
-DgroupId=<my.groupid> \
|
-DgroupId=<my.groupid> \
|
||||||
-DartifactId=<my-artifactId> \
|
-DartifactId=<my-artifactId> \
|
||||||
|
|
|
@ -26,7 +26,7 @@ Create a new project using the PLC Strolch Maven Archetype:
|
||||||
```shell
|
```shell
|
||||||
mvn archetype:generate \
|
mvn archetype:generate \
|
||||||
-DarchetypeGroupId=li.strolch \
|
-DarchetypeGroupId=li.strolch \
|
||||||
-DarchetypeArtifactId=li.strolch.mvn.archetype.plc \
|
-DarchetypeArtifactId=strolch.mvn.archetype.plc \
|
||||||
-DarchetypeVersion=0.1.0-SNAPSHOT \
|
-DarchetypeVersion=0.1.0-SNAPSHOT \
|
||||||
-DgroupId=<my.groupid> \
|
-DgroupId=<my.groupid> \
|
||||||
-DartifactId=<my-artifactId> \
|
-DartifactId=<my-artifactId> \
|
||||||
|
|
Loading…
Reference in New Issue