Skip to content

Commit 0990676

Browse files
committed
Fix Maven for CI
1 parent 995f954 commit 0990676

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
4949
# Build the project (compiles and packages the code)
5050
- name: Build the project
51-
run: mvn -B -X -e clean install --file pom.xml --batch-mode --fail-fast
51+
run: mvn -B -X -e clean install --file pom.xml --batch-mode --fail-fast -Dgpg.skip=true -Dmaven.deploy.skip=true
5252

5353
# Run tests
5454
- name: Run tests

liquidjava-api/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@
103103
<groupId>org.apache.maven.plugins</groupId>
104104
<artifactId>maven-gpg-plugin</artifactId>
105105
<version>3.1.0</version>
106+
<configuration>
107+
<skip>${gpg.skip}</skip>
108+
</configuration>
106109
<executions>
107110
<execution>
108111
<id>sign-artifacts</id>
@@ -132,6 +135,7 @@
132135
<extensions>true</extensions>
133136
<configuration>
134137
<publishingServerId>central</publishingServerId>
138+
<skipPublishing>${maven.deploy.skip}</skipPublishing>
135139
<!-- <autoPublish>true</autoPublish> -->
136140
</configuration>
137141
</plugin>

0 commit comments

Comments
 (0)