Skip to content

Commit ceccc90

Browse files
authored
Update dependencies (#102)
1 parent f3db687 commit ceccc90

File tree

2 files changed

+25
-28
lines changed

2 files changed

+25
-28
lines changed

.github/workflows/maven.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ jobs:
1212
# "CompositeIO Unable to delete 'D:\a\elasticsearch-logs-plugin\elasticsearch-logs-plugin\target\tmp\j h1981224811615637958'"
1313
steps:
1414
- uses: actions/checkout@v1
15-
- name: Set up JDK 1.8
16-
uses: actions/setup-java@v1
15+
- name: Set up JDK 11
16+
uses: actions/setup-java@v3
1717
with:
18-
java-version: 1.8
18+
distribution: 'temurin'
19+
java-version: '11'
1920
- name: Test with Maven
20-
run: mvn -B test
21+
run: mvn -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn verify

pom.xml

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,35 @@
66
<parent>
77
<groupId>org.jenkins-ci.plugins</groupId>
88
<artifactId>plugin</artifactId>
9-
<version>4.40</version>
9+
<version>4.74</version>
1010
<relativePath />
1111
</parent>
1212
<groupId>io.jenkins.plugins</groupId>
1313
<artifactId>pipeline-elasticsearch-logs</artifactId>
14-
<version>0.13.1</version>
14+
<version>0.14.1</version>
1515
<packaging>hpi</packaging>
1616
<properties>
17-
<!-- If the "jenkins.version" is changed you also need to adjust:
18-
- the major and minor version in the "<bom-#.###.x.version>" tag a few lines below (keep "x" as patch version)
19-
- in the dependencyManagement section the "io.jenkins.tools.bom:bom-#.###.x" artifactId and version property name.
20-
See also https://github.com/jenkinsci/bom#usage and https://www.jenkins.io/doc/developer/plugin-development/dependency-management/#jenkins-plugin-bom
17+
<!--
18+
When changing 'jenkins.version' also adapt 'jenkins.bom.baseline'
19+
and 'jenkins.bom.version' accordingly.
20+
21+
See also:
22+
- https://github.com/jenkinsci/bom#usage
23+
- https://www.jenkins.io/doc/developer/plugin-development/dependency-management/#jenkins-plugin-bom
2124
-->
22-
<jenkins.version>2.332.3</jenkins.version>
25+
<jenkins.version>2.401.3</jenkins.version>
2326
<useBeta>true</useBeta>
2427

25-
<mock-slave.version>109.vac7845f10470</mock-slave.version>
26-
<unique-id.version>2.2.1</unique-id.version>
27-
<fluency.version>2.6.4</fluency.version>
28-
<jsr305.version>3.0.2</jsr305.version>
29-
3028
<!-- Latest releases see: https://github.com/jenkinsci/bom/releases -->
31-
<bom-2.332.x.version>1409.v7659b_c072f18</bom-2.332.x.version>
32-
<slf4j-api.version>1.7.36</slf4j-api.version>
29+
<jenkins.bom.baseline>bom-2.401.x</jenkins.bom.baseline>
30+
<jenkins.bom.version>2507.vcb_18c56b_f57c</jenkins.bom.version>
31+
32+
<mock-slave.version>125.vcfb_5c627d399</mock-slave.version>
33+
<unique-id.version>2.101.v21a_b_6390a_b_04</unique-id.version>
34+
<fluency.version>2.7.0</fluency.version>
35+
<jsr305.version>3.0.2</jsr305.version>
3336
</properties>
34-
<name>Pipeline Logging via Elastic Search</name>
37+
<name>Pipeline Logging via Elasticsearch</name>
3538
<repositories>
3639
<repository>
3740
<id>repo.jenkins-ci.org</id>
@@ -93,7 +96,6 @@
9396
<dependency>
9497
<groupId>org.jenkins-ci.modules</groupId>
9598
<artifactId>instance-identity</artifactId>
96-
<scope>provided</scope>
9799
</dependency>
98100
<dependency>
99101
<groupId>org.jenkins-ci.plugins</groupId>
@@ -137,17 +139,11 @@
137139
<dependencies>
138140
<dependency>
139141
<groupId>io.jenkins.tools.bom</groupId>
140-
<artifactId>bom-2.332.x</artifactId>
141-
<version>${bom-2.332.x.version}</version>
142+
<artifactId>${jenkins.bom.baseline}</artifactId>
143+
<version>${jenkins.bom.version}</version>
142144
<scope>import</scope>
143145
<type>pom</type>
144146
</dependency>
145-
<!-- Dependency added to fulfil upper bound dependency enforcer rule -->
146-
<dependency>
147-
<groupId>org.slf4j</groupId>
148-
<artifactId>slf4j-api</artifactId>
149-
<version>${slf4j-api.version}</version>
150-
</dependency>
151147
</dependencies>
152148
</dependencyManagement>
153149
<build>

0 commit comments

Comments
 (0)