Änderungen von Dokument Plugin-Entwicklung


Von Version 10.1
bearbeitet von awa
am 25.02.2022, 22:48
Änderungskommentar: Neuen Anhang pom.xml hochladen
Auf Version 8.1
bearbeitet von awa
am 25.02.2022, 21:31
Änderungskommentar: Uploaded new attachment "pom.xml", version 1.5

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -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 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}}).
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
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.7 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 -->
... ... @@ -58,11 +58,20 @@
58 58   <plugins>
59 59  
60 60   <!-- Upload the plugin to a running FORMCYCLE server as part of the Maven build process -->
61 - <!-- mvn package fc-deploy:deploy -DfcDeployUrl=http://localhost:8080/xima-formcycle -DfcDeployToken=admin -->
69 + <!-- mvn clean install -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>
74 + <executions>
75 + <execution>
76 + <id>upload</id>
77 + <phase>package</phase>
78 + <goals>
79 + <goal>deploy</goal>
80 + </goals>
81 + </execution>
82 + </executions>
66 66   </plugin>
67 67  
68 68   <!-- Start a preconfigured FORMCYCLE server-->