Änderungen von Dokument Plugin-Entwicklung


Von Version 7.3
bearbeitet von awa
am 25.02.2022, 21:20
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 10.1
bearbeitet von awa
am 25.02.2022, 22:48
Änderungskommentar: Neuen Anhang pom.xml hochladen

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -239,7 +239,7 @@
239 239   <executions>
240 240   <execution>
241 241   <id>upload</id>
242 - <phase>install</phase>
242 + <phase>package</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 clean install -DfcDeployUrl=http://localhost:8080/xima-formcycle -DfcDeployToken=admin
256 +mvn package -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 -6.1 KB
1 +5.7 KB
Inhalt
... ... @@ -27,14 +27,6 @@
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 -
38 38   <dependencies>
39 39   <!-- Reference FORMCYCLE libraries. The plugin is installed in a running -->
40 40   <!-- FORMCYCLE system, , so you do not need to include the FORMCYCLE libraries -->
... ... @@ -66,20 +66,11 @@
66 66   <plugins>
67 67  
68 68   <!-- Upload the plugin to a running FORMCYCLE server as part of the Maven build process -->
69 - <!-- 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 -->
70 70   <plugin>
71 71   <groupId>de.xima.fc.maven.plugin</groupId>
72 72   <artifactId>fc-deploy-plugin-maven-plugin</artifactId>
73 73   <version>${fc-deploy-plugin-maven-plugin.version}</version>
74 - <executions>
75 - <execution>
76 - <id>upload</id>
77 - <phase>install</phase>
78 - <goals>
79 - <goal>deploy</goal>
80 - </goals>
81 - </execution>
82 - </executions>
83 83   </plugin>
84 84  
85 85   <!-- Start a preconfigured FORMCYCLE server-->