... |
... |
@@ -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,10 +443,18 @@ |
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> |
450 |
450 |
<build> |
451 |
451 |
<plugins> |
452 |
452 |
<plugin> |
... |
... |
@@ -453,9 +453,18 @@ |
453 |
453 |
<groupId>de.xima.fc.maven.plugin</groupId> |
454 |
454 |
<artifactId>fc-deploy-plugin-maven-plugin</artifactId> |
455 |
455 |
<version>${fc-deploy-plugin-maven-plugin.version}</version> |
|
464 |
+ <executions> |
|
465 |
+ <execution> |
|
466 |
+ <goals> |
|
467 |
+ <goal>deploy</goal> |
|
468 |
+ </goals> |
|
469 |
+ </execution> |
|
470 |
+ </executions> |
456 |
456 |
</plugin> |
457 |
457 |
</plugins> |
458 |
458 |
</build> |
|
474 |
+ </profile> |
|
475 |
+ </profiles> |
459 |
459 |
{{/code}} |
460 |
460 |
|
461 |
461 |
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. |
... |
... |
@@ -533,7 +533,7 @@ |
533 |
533 |
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: |
534 |
534 |
|
535 |
535 |
{{code language="bash"}} |
536 |
|
-mvn package fc-deploy:deploy -DfcDeployUrl="http://localhost:8080/xima-formcycle" -DfcDeployClientId="1" -DfcDeployToken="admin" |
|
553 |
+mvn clean install -DfcDeployUrl="http://localhost:8080/xima-formcycle" -DfcDeployClientId="1" -DfcDeployToken="admin" |
537 |
537 |
{{/code}} |
538 |
538 |
|
539 |
539 |
If you do not pass these parameters, the deploy plugin is not executed and the plugin is not uploaded. |
... |
... |
@@ -544,14 +544,6 @@ |
544 |
544 |
|
545 |
545 |
This is a list of available version of this plugin and which changes took place in which version. |
546 |
546 |
|
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 |
|
- |
555 |
555 |
=== 1.1.0 |
556 |
556 |
|
557 |
557 |
* Modifications to make the plugin work with {{formcycle/}} 6.4. |