Skip to content

Commit 146343a

Browse files
authored
Merge pull request #56 from levigo/feature/JS-2482_js_5.15
feat(JS-2482): jadice server 5.15 and java 17
2 parents fe8a138 + 4ae2634 commit 146343a

File tree

5 files changed

+62
-15
lines changed

5 files changed

+62
-15
lines changed

launch.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@echo off
2-
mvn exec:java -Dexec.mainClass="ConverterClient" -Dexec.args="-gui" -e
2+
mvn exec:java -Dexec.mainClass="ConverterClient" -Dexec.args="-gui" --add-opens=javafx.graphics/javafx.css=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED -e

launch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
mvn exec:java -Dexec.mainClass="ConverterClient" -Dexec.args="-gui" -e
1+
mvn exec:java -Dexec.mainClass="ConverterClient" -Dexec.args="-gui" --add-opens=javafx.graphics/javafx.css=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED -e

pom.xml

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,25 @@
1818
<properties>
1919
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2020
<java.version>11</java.version>
21-
<jadice.server.version>5.14.3.0</jadice.server.version>
22-
<slf4j.version>2.0.3</slf4j.version>
23-
<jfreechart.version>1.5.3</jfreechart.version>
21+
<jadice.server.version>5.15.0.0</jadice.server.version>
22+
<slf4j.version>2.0.13</slf4j.version>
23+
<jfreechart.version>1.5.5</jfreechart.version>
2424
<prefuse.version>beta-20130106</prefuse.version>
25-
<controlsfx.version>11.1.1</controlsfx.version>
25+
<controlsfx.version>11.2.1</controlsfx.version>
2626
<enzo.version>0.3.6_1-levigo</enzo.version>
2727
<fontawesomefx.version>11.0</fontawesomefx.version>
2828
<jackson.version>2.10.5</jackson.version>
2929
<junit.version>4.13.2</junit.version>
30-
<ehcache.version>2.10.10.4.43</ehcache.version>
31-
<commons-cli.version>1.4</commons-cli.version>
30+
<ehcache.version>2.10.9.2</ehcache.version>
31+
<commons-cli.version>1.9.0</commons-cli.version>
3232

3333
<!-- Maven Plugins -->
34-
<gmavenplus-plugin.version>1.13.1</gmavenplus-plugin.version>
35-
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
36-
<maven-release-plugin.version>3.0.0-M6</maven-release-plugin.version>
37-
<maven-shade-plugin.version>3.3.0</maven-shade-plugin.version>
38-
<launch4j-maven-plugin.version>2.1.2</launch4j-maven-plugin.version>
39-
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
34+
<gmavenplus-plugin.version>4.0.1</gmavenplus-plugin.version>
35+
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
36+
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>
37+
<maven-shade-plugin.version>3.6.0</maven-shade-plugin.version>
38+
<launch4j-maven-plugin.version>2.5.2</launch4j-maven-plugin.version>
39+
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
4040
</properties>
4141

4242
<dependencyManagement>
@@ -75,7 +75,17 @@
7575
<artifactId>libreoffice-client</artifactId>
7676
</dependency>
7777
<dependency>
78-
<groupId>org.codehaus.groovy</groupId>
78+
<groupId>com.levigo.jadice.server</groupId>
79+
<artifactId>addon-callas-pdftoolbox-client</artifactId>
80+
<version>${jadice.server.version}</version>
81+
</dependency>
82+
<dependency>
83+
<groupId>com.levigo.jadice.documentplatform.core</groupId>
84+
<artifactId>jadice-format-xrechnung</artifactId>
85+
<version>3.165.0</version>
86+
</dependency>
87+
<dependency>
88+
<groupId>org.apache.groovy</groupId>
7989
<artifactId>groovy-all</artifactId>
8090
<type>pom</type>
8191
</dependency>
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
package org.levigo.jadice.server.converterclient.configurations;
2+
3+
import com.levigo.jadice.server.Job;
4+
import com.levigo.jadice.server.documentplatform.StreamAnalysisNode;
5+
import com.levigo.jadice.server.nodes.DynamicPipelineNode;
6+
import com.levigo.jadice.server.nodes.StreamInputNode;
7+
import com.levigo.jadice.server.nodes.StreamOutputNode;
8+
import com.levigo.jadice.server.pdf.PDFMergeNode;
9+
import com.levigo.jadice.server.pdf.PortableCollectionDisassemblingNode;
10+
11+
12+
public class ZUGFeRD2PDFConfig implements WorkflowConfiguration {
13+
14+
public void configureWorkflow(Job job) {
15+
final StreamAnalysisNode streamAnalysisNode = new StreamAnalysisNode();
16+
final PortableCollectionDisassemblingNode disassemblingNode = new PortableCollectionDisassemblingNode();
17+
final DynamicPipelineNode dynamicPipelineNode = new DynamicPipelineNode();
18+
job.attach(new StreamInputNode() //
19+
.appendSuccessor(streamAnalysisNode) //
20+
.appendSuccessor(disassemblingNode) //
21+
.appendSuccessor(dynamicPipelineNode) //
22+
.appendSuccessor(new PDFMergeNode()) ///
23+
.appendSuccessor(new StreamOutputNode()) //
24+
);
25+
}
26+
27+
public String getDescription() {
28+
return "Convert ZUGFeRD to PDF";
29+
}
30+
31+
public String getID() {
32+
return "zugferd2pdf";
33+
}
34+
35+
}

src/main/java/org/levigo/jadice/server/converterclient/updatecheck/User.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,6 @@ class User {
4141
public String site_admin;
4242

4343
public String node_id;
44+
45+
public String user_view_type;
4446
}

0 commit comments

Comments
 (0)