Skip to content

Commit e7fb3f9

Browse files
authored
fix: Fix deployment workflow (#248)
attempt 3
1 parent eb72ec3 commit e7fb3f9

File tree

1 file changed

+61
-58
lines changed

1 file changed

+61
-58
lines changed

pom.xml

Lines changed: 61 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
34
<modelVersion>4.0.0</modelVersion>
4-
5+
<name>github-java-client</name>
56
<artifactId>github-client</artifactId>
67
<version>0.4.11-SNAPSHOT</version>
78

@@ -286,60 +287,60 @@
286287

287288
<profiles>
288289
<profile>
289-
<id>coverage</id>
290-
<build>
291-
<plugins>
292-
<plugin>
293-
<groupId>org.jacoco</groupId>
294-
<artifactId>jacoco-maven-plugin</artifactId>
295-
<version>0.8.5</version>
296-
<configuration>
297-
<!--Configure to work on codecov-->
298-
<!--https://github.com/codecov/example-java/blob/master/pom.xml-->
299-
<excludes>
300-
<exclude>**/*Builder*</exclude>
301-
<exclude>**/*Immutable*</exclude>
302-
<exclude>**/*_Factory*</exclude>
303-
<exclude>**/*_*Factory*.*</exclude>
304-
<exclude>**/generated-sources*.*</exclude>
305-
</excludes>
306-
<rules>
307-
<rule implementation="org.jacoco.maven.RuleConfiguration">
308-
<element>BUNDLE</element>
309-
<limits>
310-
<limit implementation="org.jacoco.report.check.Limit">
311-
<counter>INSTRUCTION</counter>
312-
<value>COVEREDRATIO</value>
313-
<minimum>0.60</minimum>
314-
</limit>
315-
</limits>
316-
</rule>
317-
</rules>
318-
</configuration>
319-
<executions>
320-
<execution>
321-
<id>pre-test</id>
322-
<goals>
323-
<goal>prepare-agent</goal>
324-
</goals>
325-
</execution>
326-
<execution>
327-
<id>default-check</id>
328-
<goals>
329-
<goal>check</goal>
330-
</goals>
331-
</execution>
332-
<execution>
333-
<id>post-unit-test</id>
334-
<phase>test</phase>
335-
<goals>
336-
<goal>report</goal>
337-
</goals>
338-
</execution>
339-
</executions>
340-
</plugin>
341-
</plugins>
342-
</build>
290+
<id>coverage</id>
291+
<build>
292+
<plugins>
293+
<plugin>
294+
<groupId>org.jacoco</groupId>
295+
<artifactId>jacoco-maven-plugin</artifactId>
296+
<version>0.8.5</version>
297+
<configuration>
298+
<!--Configure to work on codecov-->
299+
<!--https://github.com/codecov/example-java/blob/master/pom.xml-->
300+
<excludes>
301+
<exclude>**/*Builder*</exclude>
302+
<exclude>**/*Immutable*</exclude>
303+
<exclude>**/*_Factory*</exclude>
304+
<exclude>**/*_*Factory*.*</exclude>
305+
<exclude>**/generated-sources*.*</exclude>
306+
</excludes>
307+
<rules>
308+
<rule implementation="org.jacoco.maven.RuleConfiguration">
309+
<element>BUNDLE</element>
310+
<limits>
311+
<limit implementation="org.jacoco.report.check.Limit">
312+
<counter>INSTRUCTION</counter>
313+
<value>COVEREDRATIO</value>
314+
<minimum>0.60</minimum>
315+
</limit>
316+
</limits>
317+
</rule>
318+
</rules>
319+
</configuration>
320+
<executions>
321+
<execution>
322+
<id>pre-test</id>
323+
<goals>
324+
<goal>prepare-agent</goal>
325+
</goals>
326+
</execution>
327+
<execution>
328+
<id>default-check</id>
329+
<goals>
330+
<goal>check</goal>
331+
</goals>
332+
</execution>
333+
<execution>
334+
<id>post-unit-test</id>
335+
<phase>test</phase>
336+
<goals>
337+
<goal>report</goal>
338+
</goals>
339+
</execution>
340+
</executions>
341+
</plugin>
342+
</plugins>
343+
</build>
343344
</profile>
344345

345346
<profile>
@@ -359,9 +360,11 @@
359360
<goal>sign</goal>
360361
</goals>
361362
<configuration>
363+
<!-- Prevent gpg from using pinentry programs -->
362364
<gpgArguments>
363365
<arg>--pinentry-mode</arg>
364366
<arg>loopback</arg>
367+
<arg>--no-tty</arg>
365368
</gpgArguments>
366369
</configuration>
367370
</execution>
@@ -395,7 +398,7 @@
395398
</plugins>
396399
</build>
397400
</profile>
398-
</profiles>
401+
</profiles>
399402

400403
<build>
401404
<plugins>
@@ -461,7 +464,7 @@
461464
<id>enforce</id>
462465
<configuration>
463466
<rules>
464-
<requireUpperBoundDeps />
467+
<requireUpperBoundDeps/>
465468
</rules>
466469
</configuration>
467470
<goals>

0 commit comments

Comments
 (0)