Workplace Widget 5.10.23
This commit is contained in:
@@ -189,13 +189,52 @@
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- Package the JSON-P *implementation* for the browser Java VM.
|
||||
Payara's own JSON-P provider is not on the CheerpJ classpath.
|
||||
Copy only into the WAR's public support directory, not into vendor JARs.
|
||||
Version 1.1.4 implements javax.json (Java EE 8 / JSR 374). -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>3.6.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-cheerpj-jsonp-provider</id>
|
||||
<phase>prepare-package</phase>
|
||||
<goals><goal>copy</goal></goals>
|
||||
<configuration>
|
||||
<artifactItems>
|
||||
<artifactItem>
|
||||
<groupId>org.glassfish</groupId>
|
||||
<artifactId>javax.json</artifactId>
|
||||
<version>1.1.4</version>
|
||||
<type>jar</type>
|
||||
<outputDirectory>${project.build.directory}/cheerpj-support</outputDirectory>
|
||||
<destFileName>javax.json-1.1.4.jar</destFileName>
|
||||
<overWrite>true</overWrite>
|
||||
</artifactItem>
|
||||
</artifactItems>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- WAR Plugin (if needed) -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<version>3.3.2</version>
|
||||
<configuration>
|
||||
<!-- Additional war settings if needed -->
|
||||
<!-- JAR is part of the WAR at /backend/hmi/cheerpj-libs/...
|
||||
and can be read by CheerpJ via /app/backend/hmi/cheerpj-libs/... -->
|
||||
<webResources>
|
||||
<resource>
|
||||
<directory>${project.build.directory}/cheerpj-support</directory>
|
||||
<targetPath>hmi/cheerpj-libs</targetPath>
|
||||
<includes><include>javax.json-1.1.4.jar</include></includes>
|
||||
<filtering>false</filtering>
|
||||
</resource>
|
||||
</webResources>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
Reference in New Issue
Block a user