| ... |
... |
@@ -193,29 +193,29 @@ |
| 193 |
193 |
|
| 194 |
194 |
See the [[FC server plugin>>||anchor="HFCServerPlugin"]] for starting a simple {{formcycle/}} server. |
| 195 |
195 |
|
| 196 |
|
-== Maven archetypes == |
|
196 |
+== Maven-Archetypes == |
| 197 |
197 |
|
| 198 |
198 |
{{figure image="eclipse-archetype.png" width="500"}} |
| 199 |
|
- Adding an archetype catalog in Eclipse |
|
199 |
+ Hinzufügen des Archetypes-Katalogs in Eclipse |
| 200 |
200 |
{{/figure}} |
| 201 |
201 |
|
| 202 |
202 |
{{figure image="eclipse-archetype-select.png" width="500"}} |
| 203 |
|
- Selecting an archetype in Eclispe when creating a new Maven project |
|
203 |
+ Auswahl eines Archetypes beim Erstellen eines Maven-Projekts in Eclipse |
| 204 |
204 |
{{/figure}} |
| 205 |
205 |
|
| 206 |
|
-For some common plugin types, we provide [[Maven archetypes>>url:https://maven.apache.org/guides/introduction/introduction-to-archetypes.html||target="_blank"]] to help you get started. |
|
206 |
+Für einige häufig verwendete Plugin-Typen stehen [[Maven-Archetypes>>url:https://maven.apache.org/guides/introduction/introduction-to-archetypes.html||target="_blank"]] bereits, um schnell ein Maven-Projekt aufsetzen zu können. |
| 207 |
207 |
|
| 208 |
|
-If you added the XIMA artifactory to the //~~/.m2/settings.xml// as described above, you can create a new plugin project from an archetype via the following CLI command: |
|
208 |
+Voraussetzung für die Verwendung ist, dass in den //~~/.m2/settings.xml// wie oben beschrieben das XIMA-Artifactory eingerichtet wurde. Dann kann etwa über die Kommandozeile wie folgt eine Archetype generiert werden: |
| 209 |
209 |
|
| 210 |
210 |
{{code}} |
| 211 |
|
-mvn archetype:generate -DarchetypeArtifactId=plugin-archetype-workflow-element-simple -DarchetypeGroupId=de.xima.fc.archetype |
|
211 |
+mvn archetype:generate -DarchetypeArtifactId=plugin-archetype-workflow-element-simple -DarchetypeGroupId=de.xima.fc.archetype -DarchetypeVersion=7.0.4 |
| 212 |
212 |
{{/code}} |
| 213 |
213 |
|
| 214 |
|
-This prompts for a few required details such as the desired Maven coordinates of the new project, then creates a new folder in the current working directory with a preconfigured Maven project. |
|
214 |
+Es werden dann einige wenige Informationen wie die gewünschten Maven-Koordinaten des neuen Plugin-Projekts abgefragt und anschließend ein neues vorkonfiguriertes Projekt erstellt. |
| 215 |
215 |
|
| 216 |
|
-See the [[archetype catalog>>url:https://artifactory.xima-services.de/artifactory/libs-release-local/archetype-catalog.xml||target="_blank"]] for a list of available archetypes. |
|
216 |
+Alle vorhandenen Archetypes und deren Versionen können im [[Archetype-Katalog>>url:https://artifactory.xima-services.de/artifactory/libs-release-local/archetype-catalog.xml||target="_blank"]] eingesehen werden. |
| 217 |
217 |
|
| 218 |
|
-If you are using Eclipse, you can also add the archetype catalog in the Eclipse settings. Eclipse will then show you the available archetypes when you create a new Maven project with the builtin wizard. |
|
218 |
+In Eclipse kann der Archetype-Katalog in den Einstellungen hinzugefügt werden. Bei der Erstellung eines neuen Maven-Projekt werden dann alle verfügbaren Archetypes angezeigt: |
| 219 |
219 |
|
| 220 |
220 |
{{code language="plaintext"}}https://artifactory.xima-services.de/artifactory/libs-release-local/archetype-catalog.xml{{/code}} |
| 221 |
221 |
|