Skip to content

Commit 1761d95

Browse files
committed
Tried to fix the JavaFX wrapper problem...
1 parent 42fd02c commit 1761d95

File tree

1 file changed

+25
-68
lines changed

1 file changed

+25
-68
lines changed

pom.xml

Lines changed: 25 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
<skipIfExist>true</skipIfExist>
5151
</configuration>
5252
</plugin>
53-
<plugin>
53+
<!-- <plugin>
5454
<groupId>com.github.eirslett</groupId>
5555
<artifactId>frontend-maven-plugin</artifactId>
5656
<version>1.7.6</version>
@@ -82,7 +82,7 @@
8282
<yarnVersion>v1.16.0</yarnVersion>
8383
<workingDirectory>src/main/resources/org/chrisle/netbeans/plugins/nbscratchfile/ui</workingDirectory>
8484
</configuration>
85-
</plugin>
85+
</plugin>-->
8686
<plugin>
8787
<groupId>org.apache.netbeans.utilities</groupId>
8888
<artifactId>nbm-maven-plugin</artifactId>
@@ -104,31 +104,17 @@
104104
<version>2.3.2</version>
105105
<configuration>
106106
<encoding>${project.build.sourceEncoding}</encoding>
107+
<debug>true</debug>
107108
</configuration>
108109
</plugin>
109110
<plugin>
110111
<groupId>org.apache.maven.plugins</groupId>
111112
<artifactId>maven-jar-plugin</artifactId>
112113
<version>2.4</version>
113-
<executions>
114-
<execution>
115-
<id>jar</id>
116-
<goals>
117-
<goal>jar</goal>
118-
</goals>
119-
<phase>prepare-package</phase>
120-
</execution>
121-
</executions>
122114
<configuration>
123115
<!-- to have the jar plugin pickup the nbm generated manifest -->
124116
<useDefaultManifestFile>true</useDefaultManifestFile>
125-
<archive>
126-
<manifest>
127-
<addClasspath>true</addClasspath>
128-
<classpathPrefix>lib/</classpathPrefix>
129-
<useUniqueVersions>false</useUniqueVersions>
130-
</manifest>
131-
</archive>
117+
<verifyRuntime>skip</verifyRuntime>
132118
</configuration>
133119
</plugin>
134120
<plugin>
@@ -146,17 +132,29 @@
146132
</plugin>
147133
</plugins>
148134
</build>
149-
<pluginRepositories>
150-
<pluginRepository>
151-
<id>4.3</id>
152-
<url>https://repository.apache.org/content/repositories/orgapachenetbeans-1043/</url>
153-
</pluginRepository>
154-
</pluginRepositories>
155135
<dependencies>
156136
<dependency>
157-
<groupId>org.openjfx</groupId>
158-
<artifactId>javafx-web</artifactId>
159-
<version>11</version>
137+
<groupId>org.netbeans.api</groupId>
138+
<artifactId>org-netbeans-libs-javafx</artifactId>
139+
<version>${netbeans.version}</version>
140+
<scope>runtime</scope>
141+
</dependency>
142+
<dependency>
143+
<groupId>org.netbeans.modules</groupId>
144+
<artifactId>org-netbeans-libs-javafx-win</artifactId>
145+
<version>${netbeans.version}</version>
146+
<scope>runtime</scope>
147+
</dependency>
148+
<dependency>
149+
<groupId>org.netbeans.modules</groupId>
150+
<artifactId>org-netbeans-libs-javafx-linux</artifactId>
151+
<version>${netbeans.version}</version>
152+
<scope>runtime</scope>
153+
</dependency>
154+
<dependency>
155+
<groupId>org.netbeans.modules</groupId>
156+
<artifactId>org-netbeans-libs-javafx-macosx</artifactId>
157+
<version>${netbeans.version}</version>
160158
<scope>runtime</scope>
161159
</dependency>
162160
<dependency>
@@ -219,38 +217,8 @@
219217
<groupId>org.netbeans.external</groupId>
220218
<artifactId>net-java-html-boot</artifactId>
221219
</exclusion>
222-
<exclusion>
223-
<groupId>org.netbeans.external</groupId>
224-
<artifactId>org-netbeans-html-ko4j</artifactId>
225-
</exclusion>
226-
<exclusion>
227-
<groupId>org.netbeans.external</groupId>
228-
<artifactId>org-netbeans-html-xhr4j</artifactId>
229-
</exclusion>
230-
<exclusion>
231-
<groupId>org.netbeans.external</groupId>
232-
<artifactId>net-java-html-geo</artifactId>
233-
</exclusion>
234220
</exclusions>
235221
</dependency>
236-
<dependency>
237-
<groupId>org.netbeans.modules</groupId>
238-
<artifactId>org-netbeans-libs-javafx-win</artifactId>
239-
<version>${netbeans.version}</version>
240-
<scope>runtime</scope>
241-
</dependency>
242-
<dependency>
243-
<groupId>org.netbeans.modules</groupId>
244-
<artifactId>org-netbeans-libs-javafx-macosx</artifactId>
245-
<version>${netbeans.version}</version>
246-
<scope>runtime</scope>
247-
</dependency>
248-
<dependency>
249-
<groupId>org.netbeans.modules</groupId>
250-
<artifactId>org-netbeans-libs-javafx-linux</artifactId>
251-
<version>${netbeans.version}</version>
252-
<scope>runtime</scope>
253-
</dependency>
254222
<dependency>
255223
<groupId>org.netbeans.api</groupId>
256224
<artifactId>org-openide-modules</artifactId>
@@ -261,11 +229,6 @@
261229
<artifactId>org-openide-text</artifactId>
262230
<version>${netbeans.version}</version>
263231
</dependency>
264-
<dependency>
265-
<groupId>org.netbeans.api</groupId>
266-
<artifactId>org-netbeans-api-templates</artifactId>
267-
<version>${netbeans.version}</version>
268-
</dependency>
269232
<dependency>
270233
<groupId>org.netbeans.html</groupId>
271234
<artifactId>net.java.html</artifactId>
@@ -281,12 +244,6 @@
281244
<artifactId>net.java.html.boot</artifactId>
282245
<version>${netbeans.html.version}</version>
283246
</dependency>
284-
<dependency>
285-
<groupId>org.netbeans.html</groupId>
286-
<artifactId>ko4j</artifactId>
287-
<version>${netbeans.html.version}</version>
288-
<scope>runtime</scope>
289-
</dependency>
290247
<dependency>
291248
<groupId>org.netbeans.html</groupId>
292249
<artifactId>net.java.html.boot.fx</artifactId>

0 commit comments

Comments
 (0)