Änderungen von Dokument FORMCYCLE-Deploy-Plugin-Plugin


Von Version 1.1
bearbeitet von awa
am 20.01.2021, 16:19
Änderungskommentar: Imported from XAR
Auf Version 1.3
bearbeitet von awa
am 23.03.2022, 19:53
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -446,14 +446,6 @@
446 446   <fc-deploy-plugin-maven-plugin.version>1.1.0</fc-deploy-plugin-maven-plugin.version>
447 447   </properties>
448 448  
449 - <profiles>
450 - <profile>
451 - <id>fc-deploy</id>
452 - <activation>
453 - <property>
454 - <name>fcDeployUrl</name>
455 - </property>
456 - </activation>
457 457   <build>
458 458   <plugins>
459 459   <plugin>
... ... @@ -460,18 +460,9 @@
460 460   <groupId>de.xima.fc.maven.plugin</groupId>
461 461   <artifactId>fc-deploy-plugin-maven-plugin</artifactId>
462 462   <version>${fc-deploy-plugin-maven-plugin.version}</version>
463 - <executions>
464 - <execution>
465 - <goals>
466 - <goal>deploy</goal>
467 - </goals>
468 - </execution>
469 - </executions>
470 470   </plugin>
471 471   </plugins>
472 472   </build>
473 - </profile>
474 - </profiles>
475 475  {{/code}}
476 476  
477 477  Das Plugin wird dann anhand des Eintrags //Implementation-Title// im Manifest identifiziert. Hierzu muss der Wert korrekt im Manifest gesetzt werden. Dies kann entweder über das maven-jar-plugin oder über das maven-assembly-plugin geschehen, je nachdem, welches von diesen im Plugin-Projekt genutzt wird:
... ... @@ -549,7 +549,7 @@
549 549  Nun kann das Plugin über Maven gebaut und hochgeladen werden. Die URL auf {{formcycle/}}, die Mandant-ID und das Token (Passwort) wird dynamisch über Parameter an Maven übergeben:
550 550  
551 551  {{code language="bash"}}
552 -mvn clean install -DfcDeployUrl="http://localhost:8080/xima-formcycle" -DfcDeployClientId="1" -DfcDeployToken="admin"
535 +mvn package fc-deploy:deploy -DfcDeployUrl="http://localhost:8080/xima-formcycle" -DfcDeployClientId="1" -DfcDeployToken="admin"
553 553  {{/code}}
554 554  
555 555  Hinweis: IDE wie Eclipse und IntelliJ erlauben es, eine Build-Konfiguration für das Plugin-Projekt zu erstellen, wo die Parameter //fcDeployUrl//, //fcDeployClientId// und //fcDeployToken// hinterlegt werden können.
... ... @@ -558,6 +558,14 @@
558 558  
559 559  In diesem Abschnitt werden die vorhandenen Versionen des Deploy-Plugins und die jeweiligen Änderungen in dieser Version beschrieben.
560 560  
544 +=== 7.0.1 ===
545 +
546 +* Kleine Verbesserungen in der Fehlerbehandlung.
547 +
548 +=== 7.0.0 ===
549 +
550 +* Anpassungen für {{formcycle/}} 7.0.
551 +
561 561  === 1.1.0 ===
562 562  
563 563  * Anpassungen für {{formcycle/}} 6.4.