Skip to content

Commit b45e897

Browse files
author
Derek Tang
committed
update release-common-lib
1 parent 22b412b commit b45e897

File tree

2 files changed

+36
-34
lines changed

2 files changed

+36
-34
lines changed

.github/workflows/ci.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
11
name: release-orthoinference ci
22

3-
43
on:
5-
workflow_dispatch:
6-
4+
workflow_dispatch:
75
pull_request:
86
types:
97
- opened
10-
- synchronize
11-
8+
- synchronize
129
push:
1310
branches:
1411
- main
1512

16-
1713
permissions:
1814
id-token: write
1915
contents: read
2016

21-
2217
jobs:
2318
lint:
2419
if: ${{ github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}

pom.xml

+34-27
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<dependency>
6666
<groupId>org.reactome.release</groupId>
6767
<artifactId>release-common-lib</artifactId>
68-
<version>1.2.0</version>
68+
<version>2.0.0-SNAPSHOT</version>
6969
</dependency>
7070

7171
<!-- Test dependencies -->
@@ -95,6 +95,13 @@
9595
</dependency>
9696
</dependencies>
9797

98+
<repositories>
99+
<repository>
100+
<id>ossrh</id>
101+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
102+
</repository>
103+
</repositories>
104+
98105
<build>
99106
<plugins>
100107
<!-- sets the Java compiler version targeted by Maven -->
@@ -174,32 +181,32 @@
174181
</executions>
175182
</plugin>
176183

177-
<plugin>
178-
<groupId>org.apache.maven.plugins</groupId>
179-
<artifactId>maven-checkstyle-plugin</artifactId>
180-
<version>3.1.1</version>
181-
<dependencies>
182-
<!-- This dependency allows Checkstyle to understand Java 11 syntax -->
183-
<dependency>
184-
<groupId>com.puppycrawl.tools</groupId>
185-
<artifactId>checkstyle</artifactId>
186-
<version>8.44</version>
187-
</dependency>
188-
</dependencies>
189-
<executions>
190-
<execution>
191-
<id>checkstyle-check</id>
192-
<goals>
193-
<goal>check</goal>
194-
</goals>
195-
</execution>
196-
</executions>
197-
<configuration>
198-
<configLocation>checkstyle.xml</configLocation>
199-
<!-- Optional: Set encoding -->
200-
<encoding>UTF-8</encoding>
201-
</configuration>
202-
</plugin>
184+
<plugin>
185+
<groupId>org.apache.maven.plugins</groupId>
186+
<artifactId>maven-checkstyle-plugin</artifactId>
187+
<version>3.1.1</version>
188+
<dependencies>
189+
<!-- This dependency allows Checkstyle to understand Java 11 syntax -->
190+
<dependency>
191+
<groupId>com.puppycrawl.tools</groupId>
192+
<artifactId>checkstyle</artifactId>
193+
<version>8.44</version>
194+
</dependency>
195+
</dependencies>
196+
<executions>
197+
<execution>
198+
<id>checkstyle-check</id>
199+
<goals>
200+
<goal>check</goal>
201+
</goals>
202+
</execution>
203+
</executions>
204+
<configuration>
205+
<configLocation>checkstyle.xml</configLocation>
206+
<!-- Optional: Set encoding -->
207+
<encoding>UTF-8</encoding>
208+
</configuration>
209+
</plugin>
203210
</plugins>
204211
</build>
205212
</project>

0 commit comments

Comments
 (0)