Skip to content

Commit 8b2d755

Browse files
committed
Upgrade to J2CL Maven Plugin 0.23.5
1 parent 139b0f4 commit 8b2d755

4 files changed

Lines changed: 11 additions & 7 deletions

File tree

pom.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@
111111
<github.org>hal</github.org>
112112
<github.name>elemento</github.name>
113113
<java.version>21</java.version>
114-
<maven.compiler.source>${java.version}</maven.compiler.source>
115114
<maven.compiler.release>${java.version}</maven.compiler.release>
116-
<maven.compiler.target>${java.version}</maven.compiler.target>
117115
<maven.min.version>3.9.9</maven.min.version>
118116
<project.build.sourceEncoding>${encoding}</project.build.sourceEncoding>
119117
<project.reporting.outputEncoding>${encoding}</project.reporting.outputEncoding>

samples/music/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
],
77
"source": "src/web/index.html",
88
"scripts": {
9-
"start:parcel": "parcel watch src/web/index.html --dist-dir target/music --port 1234",
10-
"start:server": "node server.js 8234 1234",
11-
"open:browser": "wait-on http://localhost:8234 && open http://localhost:8234",
9+
"start:parcel": "parcel watch src/web/index.html --dist-dir target/music --port 1235",
10+
"start:server": "node server.js 1234 1235",
11+
"open:browser": "wait-on http://localhost:1234 && open http://localhost:1234",
1212
"dev": "concurrently \"npm run start:parcel\" \"npm run start:server\" \"npm run open:browser\"",
1313
"prod": "parcel build src/web/index.html --dist-dir target/music --public-url /elemento/samples/music",
1414
"http-server": "http-server target/music --ssl --cert cert.pem"

samples/music/server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ const {createProxyMiddleware} = require('http-proxy-middleware');
1818
const path = require('path');
1919

2020
const app = express();
21-
const port = process.argv[2] || 8234;
22-
const parcelPort = process.argv[3] || 1234;
21+
const port = process.argv[2] || 1234;
22+
const parcelPort = process.argv[3] || 1235;
2323

2424
// 1. Proxy Parcel's dev server
2525
app.use(

samples/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141

4242
<!-- Plugin versions -->
4343
<version.frontend.plugin>1.15.4</version.frontend.plugin>
44+
<version.j2cl.plugin>0.23.5</version.j2cl.plugin>
4445

4546
<!-- Build related -->
4647
<gwt.sourceLevel>17</gwt.sourceLevel>
@@ -123,6 +124,11 @@
123124
<artifactId>frontend-maven-plugin</artifactId>
124125
<version>${version.frontend.plugin}</version>
125126
</plugin>
127+
<plugin>
128+
<groupId>org.kie.j2cl.tools</groupId>
129+
<artifactId>j2cl-maven-plugin</artifactId>
130+
<version>${version.j2cl.plugin}</version>
131+
</plugin>
126132
</plugins>
127133
</pluginManagement>
128134
</build>

0 commit comments

Comments
 (0)