Skip to content

Commit b0c53f5

Browse files
author
Vignesh Kennadi
committed
adds pom.xml changes
1 parent d1968b8 commit b0c53f5

File tree

2 files changed

+8
-14
lines changed

2 files changed

+8
-14
lines changed

.github/workflows/build-lint-test.yml

-10
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@ jobs:
2323

2424
- name: Import GPG Key
2525
run: |
26-
if command -v gpg > /dev/null 2>&1; then
27-
echo "GPG is installed."
28-
gpg --version
29-
else
30-
echo "GPG is not installed."
31-
exit 1
32-
fi
33-
mkdir -p ~/.gnupg
34-
chmod 700 ~/.gnupg
35-
echo "pinentry-mode loopback" > ~/.gnupg/gpg.conf
3626
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import
3727
env:
3828
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY}}

pom.xml

+8-4
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@
166166
<artifactId>maven-compiler-plugin</artifactId>
167167
<version>3.6.1</version>
168168
<configuration>
169-
<source>1.8</source>
170-
<target>1.8</target>
169+
<source>11</source>
170+
<target>11</target>
171171
</configuration>
172172
</plugin>
173173
<plugin>
@@ -257,7 +257,11 @@
257257
<goal>sign</goal>
258258
</goals>
259259
<configuration>
260-
<passphraseServerId>gpg.passphrase</passphraseServerId>
260+
<gpgArguments>
261+
<arg>--pinentry-mode</arg>
262+
<arg>loopback</arg>
263+
</gpgArguments>
264+
<passphraseServerId>gpg.passphrase</passphraseServerId>
261265
</configuration>
262266
</execution>
263267
</executions>
@@ -311,7 +315,7 @@
311315
<github.global.server>github</github.global.server>
312316
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
313317
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
314-
<java.version>1.8</java.version>
318+
<java.version>11</java.version>
315319
<swagger-annotations-version>1.6.3</swagger-annotations-version>
316320
<google-api-client-version>2.3.0</google-api-client-version>
317321
<jersey-common-version>2.25.1</jersey-common-version>

0 commit comments

Comments
 (0)