Änderungen von Dokument Plugin-Entwicklung


Von Version 9.1
bearbeitet von awa
am 25.02.2022, 21:32
Änderungskommentar: Uploaded new attachment "pom.xml", version 1.6
Auf Version 7.3
bearbeitet von awa
am 25.02.2022, 21:20
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -239,7 +239,7 @@
239 239   <executions>
240 240   <execution>
241 241   <id>upload</id>
242 - <phase>package</phase>
242 + <phase>install</phase>
243 243   <goals>
244 244   <goal>deploy</goal>
245 245   </goals>
... ... @@ -253,7 +253,7 @@
253 253  Sofern das Deploy-Plugin bereits in {{formcycle/}} installiert ist, kann das Plugin-Projekt dann beim Bauen wie folgt hochgeladen werden:
254 254  
255 255  {{code language="bash"}}
256 -mvn package -DfcDeployUrl=http://localhost:8080/xima-formcycle -DfcDeployToken=admin
256 +mvn clean install -DfcDeployUrl=http://localhost:8080/xima-formcycle -DfcDeployToken=admin
257 257  {{/code}}
258 258  
259 259  Wird Eclipse benutzt, kann auch eine Launch-Configuration mit den //fcDeployUrl// und dem //fcDeployToken// angelegt werden.
pom.xml
Größe
... ... @@ -1,1 +1,1 @@
1 -5.9 KB
1 +6.1 KB
Inhalt
... ... @@ -27,6 +27,14 @@
27 27   <fc-server-maven-plugin.version>7.0.1</fc-server-maven-plugin.version>
28 28   </properties>
29 29  
30 + <repositories>
31 + <repository>
32 + <id>xima</id>
33 + <name>fc-plugin-dev</name>
34 + <url>http://artifactory.xima-services.de/artifactory/fc-plugin-dev</url>
35 + </repository>
36 + </repositories>
37 +
30 30   <dependencies>
31 31   <!-- Reference FORMCYCLE libraries. The plugin is installed in a running -->
32 32   <!-- FORMCYCLE system, , so you do not need to include the FORMCYCLE libraries -->
... ... @@ -66,7 +66,7 @@
66 66   <executions>
67 67   <execution>
68 68   <id>upload</id>
69 - <phase>package</phase>
77 + <phase>install</phase>
70 70   <goals>
71 71   <goal>deploy</goal>
72 72   </goals>