... |
... |
@@ -446,6 +446,14 @@ |
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> |
449 |
449 |
<build> |
450 |
450 |
<plugins> |
451 |
451 |
<plugin> |
... |
... |
@@ -452,9 +452,18 @@ |
452 |
452 |
<groupId>de.xima.fc.maven.plugin</groupId> |
453 |
453 |
<artifactId>fc-deploy-plugin-maven-plugin</artifactId> |
454 |
454 |
<version>${fc-deploy-plugin-maven-plugin.version}</version> |
|
463 |
+ <executions> |
|
464 |
+ <execution> |
|
465 |
+ <goals> |
|
466 |
+ <goal>deploy</goal> |
|
467 |
+ </goals> |
|
468 |
+ </execution> |
|
469 |
+ </executions> |
455 |
455 |
</plugin> |
456 |
456 |
</plugins> |
457 |
457 |
</build> |
|
473 |
+ </profile> |
|
474 |
+ </profiles> |
458 |
458 |
{{/code}} |
459 |
459 |
|
460 |
460 |
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: |
... |
... |
@@ -532,7 +532,7 @@ |
532 |
532 |
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: |
533 |
533 |
|
534 |
534 |
{{code language="bash"}} |
535 |
|
-mvn package fc-deploy:deploy -DfcDeployUrl="http://localhost:8080/xima-formcycle" -DfcDeployClientId="1" -DfcDeployToken="admin" |
|
552 |
+mvn clean install -DfcDeployUrl="http://localhost:8080/xima-formcycle" -DfcDeployClientId="1" -DfcDeployToken="admin" |
536 |
536 |
{{/code}} |
537 |
537 |
|
538 |
538 |
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. |
... |
... |
@@ -541,10 +541,14 @@ |
541 |
541 |
|
542 |
542 |
In diesem Abschnitt werden die vorhandenen Versionen des Deploy-Plugins und die jeweiligen Änderungen in dieser Version beschrieben. |
543 |
543 |
|
544 |
|
-=== 7.1.0 === |
|
561 |
+=== 1.1.0 === |
545 |
545 |
|
546 |
|
-* Aktualisierte Version für {{formcycle/}} 7.1 |
|
563 |
+* Anpassungen für {{formcycle/}} 6.4. |
547 |
547 |
|
548 |
|
-=== 7.0.0 === |
|
565 |
+=== 1.0.1 === |
549 |
549 |
|
550 |
|
-* Initialer Release für {{formcycle/}} 7.0 |
|
567 |
+* Verbesserte Fehlerbehandlung bei der Plugin-Installation. |
|
568 |
+ |
|
569 |
+=== 1.0.0 === |
|
570 |
+ |
|
571 |
+* Initialer Release |