Ä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 10.2
bearbeitet von awa
am 25.02.2022, 22:48
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -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 package fc-deploy:deploy -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.
... ... @@ -268,7 +268,7 @@
268 268  mvn package fc-server:run-ms-war -DxfcVersion=7.0.10
269 269  {{/code}}
270 270  
271 -Nach kurzer Wartezeit (beim ersten Mal kann es länger dauern) ist dann ein {{formcycle/}}-Server gestartet. Die URL steht am Ende in der Kommandozeile, standardmäßig http://localhost:8080/xima-formcycle
271 +Nach kurzer Wartezeit (beim ersten Mal kann es länger dauern) ist dann ein {{formcycle/}}-Server gestartet. Die URL steht am Ende in der Kommandozeile, standardmäßig http://localhost:8080/xima-formcycle Der Zugang für den Superadmin ist {{code language="plaintext"}}sadmin{{/code}} (Passwort {{code language="plaintext"}}admin{{/code}}), der Zugang für den Mandantadministrator {{code language="plaintext"}}admin{{/code}} (Passwort {{code language="plaintext"}}/admin_{{/code}}).
272 272  
273 273  Dies funktioniert auch in einem Ordner ohne Maven-Projekt. Falls keine {{formcycle/}} angegeben ist, wird eine Standard-Version genommen. Wird der Befehl innerhalb eines Plugin-Maven-Projekts ausgeführt, wird versucht, die Version von {{formcycle/}} aus dem Plugin-Projekt auszulesen.
274 274  
pom.xml
Größe
... ... @@ -1,1 +1,1 @@
1 -5.9 KB
1 +5.7 KB
Inhalt
... ... @@ -58,20 +58,11 @@
58 58   <plugins>
59 59  
60 60   <!-- Upload the plugin to a running FORMCYCLE server as part of the Maven build process -->
61 - <!-- mvn clean install -DfcDeployUrl=http://localhost:8080/xima-formcycle -DfcDeployToken=admin -->
61 + <!-- mvn package fc-deploy:deploy -DfcDeployUrl=http://localhost:8080/xima-formcycle -DfcDeployToken=admin -->
62 62   <plugin>
63 63   <groupId>de.xima.fc.maven.plugin</groupId>
64 64   <artifactId>fc-deploy-plugin-maven-plugin</artifactId>
65 65   <version>${fc-deploy-plugin-maven-plugin.version}</version>
66 - <executions>
67 - <execution>
68 - <id>upload</id>
69 - <phase>package</phase>
70 - <goals>
71 - <goal>deploy</goal>
72 - </goals>
73 - </execution>
74 - </executions>
75 75   </plugin>
76 76  
77 77   <!-- Start a preconfigured FORMCYCLE server-->