|
1 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | 4 |
|
5 | 5 | <groupId>com.xwintop</groupId> |
6 | 6 | <artifactId>xJavaFxTool</artifactId> |
7 | | - <version>0.2.3-jdk17</version> |
| 7 | + <version>0.3.1</version> |
8 | 8 | <packaging>jar</packaging> |
9 | 9 | <name>xJavaFxTool</name> |
10 | 10 | <description>基于JavaFx搭建的实用小工具集合</description> |
| 11 | + <organization> |
| 12 | + <name>xwintop</name> |
| 13 | + <url>https://gitee.com/xwintop</url> |
| 14 | + </organization> |
11 | 15 | <url>https://gitee.com/xwintop/xJavaFxTool</url> |
12 | 16 |
|
13 | 17 | <properties> |
|
85 | 89 | </execution> |
86 | 90 | </executions> |
87 | 91 | </plugin> |
88 | | - <plugin> |
89 | | - <groupId>org.openjfx</groupId> |
90 | | - <artifactId>javafx-maven-plugin</artifactId> |
91 | | - <version>0.0.8</version> |
92 | | - <configuration> |
93 | | - <mainClass>com.xwintop.xJavaFxTool.XJavaFxToolMain</mainClass> |
94 | | - </configuration> |
95 | | - </plugin> |
96 | | -<!-- <plugin>--> |
97 | | -<!-- <groupId>org.panteleyev</groupId>--> |
98 | | -<!-- <artifactId>jpackage-maven-plugin</artifactId>--> |
99 | | -<!-- <version>1.4.0</version>--> |
100 | | -<!-- <configuration>--> |
101 | | -<!-- <name>xJavaFxTool</name>--> |
102 | | -<!-- <appVersion>1.0.0</appVersion>--> |
103 | | -<!-- <vendor>com.xwintop</vendor>--> |
104 | | -<!-- <destination>target/dist</destination>--> |
105 | | -<!-- <module>xJavaFxTool/com.xwintop.xJavaFxTool.XJavaFxToolMain</module>--> |
106 | | -<!-- <runtimeImage>target</runtimeImage>--> |
107 | | -<!-- <linuxShortcut>true</linuxShortcut>--> |
108 | | -<!-- <linuxPackageName>xJavaFxTool</linuxPackageName>--> |
109 | | -<!-- <linuxAppCategory>xwintop</linuxAppCategory>--> |
110 | | -<!-- <linuxMenuGroup>xwintop</linuxMenuGroup>--> |
111 | | -<!-- <javaOptions>--> |
112 | | -<!-- <option>-Dfile.encoding=UTF-8</option>--> |
113 | | -<!-- </javaOptions>--> |
114 | | -<!-- </configuration>--> |
115 | | -<!-- </plugin>--> |
| 92 | + <!-- <plugin>--> |
| 93 | + <!-- <groupId>org.openjfx</groupId>--> |
| 94 | + <!-- <artifactId>javafx-maven-plugin</artifactId>--> |
| 95 | + <!-- <version>0.0.8</version>--> |
| 96 | + <!-- <configuration>--> |
| 97 | + <!-- <mainClass>com.xwintop.xJavaFxTool.XJavaFxToolMain</mainClass>--> |
| 98 | + <!-- </configuration>--> |
| 99 | + <!-- </plugin>--> |
116 | 100 | <plugin> |
117 | 101 | <groupId>io.github.fvarrui</groupId> |
118 | 102 | <artifactId>javapackager</artifactId> |
|
121 | 105 | <bundleJre>true</bundleJre> |
122 | 106 | <mainClass>com.xwintop.xJavaFxTool.XJavaFxToolMain</mainClass> |
123 | 107 | <generateInstaller>true</generateInstaller> |
| 108 | + <platform>auto</platform> |
| 109 | + <createZipball>true</createZipball> |
| 110 | + <administratorRequired>true</administratorRequired> |
| 111 | + <winConfig> |
| 112 | + <!-- general properties --> |
| 113 | + <generateSetup>true</generateSetup> |
| 114 | + <generateMsi>false</generateMsi> |
| 115 | + <!-- setup generation properties --> |
| 116 | + <setupMode>installForAllUsers</setupMode> |
| 117 | + <createDesktopIconTask>true</createDesktopIconTask> |
| 118 | + <disableDirPage>false</disableDirPage> |
| 119 | + <disableFinishedPage>false</disableFinishedPage> |
| 120 | + <disableRunAfterInstall>false</disableRunAfterInstall> |
| 121 | + <disableWelcomePage>false</disableWelcomePage> |
| 122 | + <createDesktopIconTask>false</createDesktopIconTask> |
| 123 | + <setupLanguages> |
| 124 | + <chinesesimp>compiler:Default.isl</chinesesimp> |
| 125 | + <english>compiler:Languages\English.isl</english> |
| 126 | + </setupLanguages> |
| 127 | + </winConfig> |
124 | 128 | <!-- 这行不能被格式化为多行,否则会出错--> |
125 | | - <vmArgs>--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</vmArgs> |
| 129 | + <!-- <vmArgs>--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</vmArgs>--> |
126 | 130 | </configuration> |
127 | | - <executions> |
128 | | - <execution> |
129 | | - <id>bundling-for-windows</id> |
130 | | - <phase>package</phase> |
131 | | - <goals> |
132 | | - <goal>package</goal> |
133 | | - </goals> |
134 | | - <configuration> |
135 | | - <platform>windows</platform> |
136 | | - <createZipball>true</createZipball> |
137 | | - <administratorRequired>true</administratorRequired> |
138 | | - <winConfig> |
139 | | - <!-- general properties --> |
140 | | - <generateSetup>true</generateSetup> |
141 | | - <generateMsi>true</generateMsi> |
142 | | - <generateMsm>true</generateMsm> |
143 | | - <!-- setup generation properties --> |
144 | | - <setupMode>installForAllUsers</setupMode> |
145 | | - <createDesktopIconTask>true</createDesktopIconTask> |
146 | | - <disableDirPage>false</disableDirPage> |
147 | | - <disableFinishedPage>false</disableFinishedPage> |
148 | | - <setupLanguages> |
149 | | - <english>compiler:Default.isl</english> |
150 | | - </setupLanguages> |
151 | | - </winConfig> |
152 | | - </configuration> |
153 | | - </execution> |
154 | | - </executions> |
155 | 131 | </plugin> |
156 | 132 | </plugins> |
157 | 133 | </build> |
|
0 commit comments