... |
... |
@@ -12,7 +12,7 @@ |
12 |
12 |
|
13 |
13 |
Zu Beginn der Entwicklung eines Plugins ist es nötig das entsprechende Entwicklungsprojekt aufzusetzten und zu konfigurieren. Für letzteres kommt hierbei das Build-Management-Tool [[Apache Maven>>url:https://maven.apache.org/||rel="__blank"]] zum Einsatz. Um die entsprechenden Abhängigkeiten zu {{formcycle case="dat"/}} bereitzustellen ist ein Repository unter der URL [[https:~~/~~/artifactory.xima-services.de/artifactory/fc-plugin-dev>>url:https://artifactory.xima-services.de/artifactory/fc-plugin-dev]] zu benutzen. Dieses beinhaltet alle öffentlich zur Verfügung stehenden Artefakte welche dem Plugin zur Laufzeit bereitgestellt und während der Entwicklung benötigt werden. Augangspunkt ist hierbei das Artefakt //fc-plugin-common//, welches die einzelnen Plugin-Schnittstellen beinhaltet und auch auf [[unserere Downloadseite zur Verfügung steht>>url:http://artifactory.xima-services.de/artifactory/fc-plugin-dev/de/xima/fc/fc-plugin-common/]]. Ein Auszug des Project Object Models (pom.xml) sieht dem entsprechend beispielhaft wie folgt aus: |
14 |
14 |
|
15 |
|
-{{panel title="Beispiel für pom.xml" fullwidth="true" initial="hidden" triggerable="true"}} |
|
15 |
+{{panel title="Beispiel für pom.xml" initial="hidden" triggerable="true" fullwidth="true"}} |
16 |
16 |
{{code language="xml"}} |
17 |
17 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
18 |
18 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
... |
... |
@@ -24,7 +24,7 @@ |
24 |
24 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
25 |
25 |
|
26 |
26 |
<!-- Dependencies --> |
27 |
|
- <xfc.version>7.0.9</xfc.version> |
|
27 |
+ <xfc.version>6.0.0</xfc.version> |
28 |
28 |
|
29 |
29 |
<!-- Plugins --> |
30 |
30 |
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> |
... |
... |
@@ -55,7 +55,8 @@ |
55 |
55 |
<artifactId>maven-compiler-plugin</artifactId> |
56 |
56 |
<version>${maven-compiler-plugin.version}</version> |
57 |
57 |
<configuration> |
58 |
|
- <release>11</release> |
|
58 |
+ <source>1.8</source> |
|
59 |
+ <target>1.8</target> |
59 |
59 |
<encoding>UTF-8</encoding> |
60 |
60 |
</configuration> |
61 |
61 |
</plugin> |