From version 1.1
edited by awa
on 20.01.2021, 16:19
Change comment: Imported from XAR
To version 1.3
edited by awa
on 23.03.2022, 19:51
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -96,7 +96,7 @@
96 96  :; plugin-ident=manifest
97 97  :: //plugin-identifier// must contain the name of the manifest property and its value, in the format //Attribute-Name=value//. For example, if this property is set to //Implementation-Title=com.example.fc.plugin:my-plugin//, this will search for a plugin with a manifest entry //Implementation-Title// set to //com.example.fc.plugin:my-plugin//.
98 98  :; plugin-ident=id
99 -:: //plugin-identifier// must contain the data base ID of the target plugin, such as //53// or /893//.//
99 +:: //plugin-identifier// must contain the data base ID of the target plugin, such as //53// or //893//.
100 100  :; plugin-ident=name
101 101  :: //plugin-identifier// must contain the name of the target plugin, such as //my-plugin.jar// or //foobar.jar//.
102 102  :; plugin-ident=uuid
... ... @@ -443,18 +443,10 @@
443 443  
444 444  Add this code snippet to the profile section of the //pom.xml//:
445 445  {{code language="xml"}}
446 - <properties>
447 - <fc-deploy-plugin-maven-plugin.version>1.1.0</fc-deploy-plugin-maven-plugin.version>
448 - </properties>
446 + <properties>
447 + <fc-deploy-plugin-maven-plugin.version>1.1.0</fc-deploy-plugin-maven-plugin.version>
448 + </properties>
449 449  
450 - <profiles>
451 - <profile>
452 - <id>fc-deploy</id>
453 - <activation>
454 - <property>
455 - <name>fcDeployUrl</name>
456 - </property>
457 - </activation>
458 458   <build>
459 459   <plugins>
460 460   <plugin>
... ... @@ -461,18 +461,9 @@
461 461   <groupId>de.xima.fc.maven.plugin</groupId>
462 462   <artifactId>fc-deploy-plugin-maven-plugin</artifactId>
463 463   <version>${fc-deploy-plugin-maven-plugin.version}</version>
464 - <executions>
465 - <execution>
466 - <goals>
467 - <goal>deploy</goal>
468 - </goals>
469 - </execution>
470 - </executions>
471 471   </plugin>
472 472   </plugins>
473 473   </build>
474 - </profile>
475 - </profiles>
476 476  {{/code}}
477 477  
478 478  The plugin is identified based on the entry //Implementation-Title// in its //Manifest.MF// file. For this to work, you need to prepare the manifest correctly. You can do so either with the //maven-jar-plugin// or with the //maven-assembly-plugin//, depending on which plugin your project uses.
... ... @@ -550,7 +550,7 @@
550 550  Now you can build the plugin via Maven and upload it to a {{formcycle}} server. The URL, the client ID and the token (password) can be passed to Maven via command line parameters:
551 551  
552 552  {{code language="bash"}}
553 -mvn clean install -DfcDeployUrl="http://localhost:8080/xima-formcycle" -DfcDeployClientId="1" -DfcDeployToken="admin"
536 +mvn package fc-deploy:deploy -DfcDeployUrl="http://localhost:8080/xima-formcycle" -DfcDeployClientId="1" -DfcDeployToken="admin"
554 554  {{/code}}
555 555  
556 556  If you do not pass these parameters, the deploy plugin is not executed and the plugin is not uploaded.
... ... @@ -561,6 +561,14 @@
561 561  
562 562  This is a list of available version of this plugin and which changes took place in which version.
563 563  
547 +=== 7.0.1 ===
548 +
549 +* Minor improvement when handling errors
550 +
551 +=== 7.0.0 ===
552 +
553 +* Modifications to make the plugin work with {{formcycle/}} 7.0.
554 +
564 564  === 1.1.0
565 565  
566 566  * Modifications to make the plugin work with {{formcycle/}} 6.4.