... |
... |
@@ -219,42 +219,8 @@ |
219 |
219 |
|
220 |
220 |
== Deploy-Plugin |
221 |
221 |
|
222 |
|
-Um beim Entwickeln nicht jedes Mal eine neue Plugin-Version manuell über die Oberfläche hochladen zu müssen, kann das Deploy-Plugin verwendet werden. Dieses besteht aus 2 Teilen: |
|
222 |
+TODO |
223 |
223 |
|
224 |
|
-* Ein Maven-Plugin, welches nach dem Bauen das Plugin via HTTP an einen laufenden {{formcycle/}}-Server sendet |
225 |
|
-* Ein Plugin für {{formcycle/}}, welche die Gegenstelle in {{formcycle/}} bereitstellt und das Plugin aus dem HTTP-Request in {{formcycle/}} installiert. |
226 |
|
- |
227 |
|
-Weitere Details können im [[Hilfe-Artikel zum Deploy-Plugin>>doc:Formcycle.PluginDocumentation.FormcycleDeployPluginPlugin]] nachgelesen werden. Für die meisten Fälle reicht folgende Konfiguration in der //pom.xml// des Plugin-Projekts aus: |
228 |
|
- |
229 |
|
-{{code language="xml"}} |
230 |
|
- <properties> |
231 |
|
- <fc-deploy-plugin-maven-plugin.version>7.0.1<fc-deploy-plugin-maven-plugin.version/> |
232 |
|
- <build> |
233 |
|
- <plugins> |
234 |
|
- <plugin> |
235 |
|
- <groupId>de.xima.fc.maven.plugin</groupId> |
236 |
|
- <artifactId>fc-deploy-plugin-maven-plugin</artifactId> |
237 |
|
- <version>${fc-deploy-plugin-maven-plugin.version}</version> |
238 |
|
- <executions> |
239 |
|
- <execution> |
240 |
|
- <id>upload</id> |
241 |
|
- <phase>install</phase> |
242 |
|
- <goals> |
243 |
|
- <goal>deploy</goal> |
244 |
|
- </goals> |
245 |
|
- </execution> |
246 |
|
- </executions> |
247 |
|
- </plugin> |
248 |
|
- </plugins> |
249 |
|
- </build> |
250 |
|
-{{/code}} |
251 |
|
- |
252 |
|
-Sofern das Deploy-Plugin bereits in {{formcycle/}} installiert ist, kann das Plugin-Projekt dann beim Bauen wie folgt hochgeladen werden: |
253 |
|
- |
254 |
|
-{{code language="bash"}} |
255 |
|
-mvn clean install -DfcDeployUrl=http://localhost:8080/xima-formcycle -DfcDeployToken=admin |
256 |
|
-{{/code}} |
257 |
|
- |
258 |
258 |
== FC-Server-Plugin |
259 |
259 |
|
260 |
260 |
TODO |