Skip to content

Commit 1221842

Browse files
committed
fix pom.xml
1 parent bcb0b30 commit 1221842

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v4
20+
- name: actions/setup-java@v3
21+
uses: actions/setup-java@v3
22+
with:
23+
distribution: 'temurin'
24+
java-version: 17
25+
architecture: x64
2026
- name: Setup Node.js
2127
uses: actions/setup-node@v3
2228
with:
@@ -28,3 +34,5 @@ jobs:
2834
run: npm test
2935
- name: Test building docs
3036
run: export NODE_OPTIONS=--openssl-legacy-provider; npm run docs:build
37+
- name: Test generator
38+
run: cd generator; mvn package

generator/pom.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,16 @@
4545
</configuration>
4646
</plugin>
4747

48-
<!-- attach test jar -->
4948
<plugin>
5049
<groupId>org.apache.maven.plugins</groupId>
5150
<artifactId>maven-jar-plugin</artifactId>
5251
<version>3.3.0</version>
5352
<executions>
5453
<execution>
55-
<goals>
56-
<goal>jar</goal>
57-
<goal>test-jar</goal>
58-
</goals>
54+
<id>default-jar</id>
55+
<goals>
56+
<goal>jar</goal>
57+
</goals>
5958
</execution>
6059
</executions>
6160
<configuration>

0 commit comments

Comments
 (0)