Skip to content

Commit ea1446e

Browse files
authored
Format repository with Spotless (#74)
1 parent 01d619c commit ea1446e

File tree

3 files changed

+709
-711
lines changed

3 files changed

+709
-711
lines changed

pom.xml

Lines changed: 170 additions & 169 deletions
Original file line numberDiff line numberDiff line change
@@ -1,181 +1,182 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<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/maven-v4_0_0.xsd">
3-
<modelVersion>4.0.0</modelVersion>
3+
<modelVersion>4.0.0</modelVersion>
44

5-
<parent>
6-
<groupId>org.jenkins-ci.plugins</groupId>
7-
<artifactId>plugin</artifactId>
8-
<version>4.54</version>
9-
<relativePath />
10-
</parent>
5+
<parent>
6+
<groupId>org.jenkins-ci.plugins</groupId>
7+
<artifactId>plugin</artifactId>
8+
<version>4.63</version>
9+
<relativePath />
10+
</parent>
1111

12-
<artifactId>docker-java-api</artifactId>
13-
<version>${revision}-${changelist}</version>
14-
<packaging>hpi</packaging>
12+
<artifactId>docker-java-api</artifactId>
13+
<version>${revision}-${changelist}</version>
14+
<packaging>hpi</packaging>
15+
<name>Docker API Plugin</name>
16+
<description>Plugin providing Docker API for other plugins. Wrap docker-java and required dependency for Netty transport only. JAX-RS default transport is not usable</description>
17+
<url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>
1518

16-
<name>Docker API Plugin</name>
17-
<description>Plugin providing Docker API for other plugins. Wrap docker-java and required dependency for Netty transport only. JAX-RS default transport is not usable</description>
18-
<url>https://github.com/jenkinsci/${project.artifactId}-plugin</url>
19+
<licenses>
20+
<license>
21+
<name>MIT</name>
22+
<url>https://opensource.org/licenses/MIT</url>
23+
</license>
24+
</licenses>
1925

20-
<scm>
21-
<connection>scm:git:https://github.com/${gitHubRepo}.git</connection>
22-
<developerConnection>scm:git:git@github.com:${gitHubRepo}.git</developerConnection>
23-
<url>https://github.com/${gitHubRepo}</url>
24-
<tag>${scmTag}</tag>
25-
</scm>
26+
<scm>
27+
<connection>scm:git:https://github.com/${gitHubRepo}.git</connection>
28+
<developerConnection>scm:git:git@github.com:${gitHubRepo}.git</developerConnection>
29+
<tag>${scmTag}</tag>
30+
<url>https://github.com/${gitHubRepo}</url>
31+
</scm>
2632

27-
<properties>
28-
<revision>3.2.13</revision>
29-
<changelist>999999-SNAPSHOT</changelist>
30-
<jenkins.version>2.361.4</jenkins.version>
31-
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
32-
<hpi.compatibleSinceVersion>3.2</hpi.compatibleSinceVersion>
33-
</properties>
33+
<properties>
34+
<revision>3.2.13</revision>
35+
<changelist>999999-SNAPSHOT</changelist>
36+
<jenkins.version>2.361.4</jenkins.version>
37+
<gitHubRepo>jenkinsci/${project.artifactId}-plugin</gitHubRepo>
38+
<hpi.compatibleSinceVersion>3.2</hpi.compatibleSinceVersion>
39+
<spotless.check.skip>false</spotless.check.skip>
40+
</properties>
3441

35-
<licenses>
36-
<license>
37-
<name>MIT</name>
38-
<url>https://opensource.org/licenses/MIT</url>
39-
</license>
40-
</licenses>
42+
<dependencyManagement>
43+
<dependencies>
44+
<dependency>
45+
<groupId>io.jenkins.tools.bom</groupId>
46+
<artifactId>bom-2.361.x</artifactId>
47+
<version>2081.v85885a_d2e5c5</version>
48+
<type>pom</type>
49+
<scope>import</scope>
50+
</dependency>
51+
</dependencies>
52+
</dependencyManagement>
4153

42-
<repositories>
43-
<repository>
44-
<id>repo.jenkins-ci.org</id>
45-
<url>https://repo.jenkins-ci.org/public/</url>
46-
</repository>
47-
</repositories>
48-
<pluginRepositories>
49-
<pluginRepository>
50-
<id>repo.jenkins-ci.org</id>
51-
<url>https://repo.jenkins-ci.org/public/</url>
52-
</pluginRepository>
53-
</pluginRepositories>
54+
<dependencies>
55+
<dependency>
56+
<groupId>com.github.docker-java</groupId>
57+
<artifactId>docker-java</artifactId>
58+
<version>${revision}</version>
59+
<exclusions>
60+
<!-- Provided by jackson2-api plugin -->
61+
<exclusion>
62+
<groupId>com.fasterxml.jackson.core</groupId>
63+
<artifactId>jackson-annotations</artifactId>
64+
</exclusion>
65+
<exclusion>
66+
<groupId>com.fasterxml.jackson.core</groupId>
67+
<artifactId>jackson-core</artifactId>
68+
</exclusion>
69+
<exclusion>
70+
<groupId>com.fasterxml.jackson.core</groupId>
71+
<artifactId>jackson-databind</artifactId>
72+
</exclusion>
73+
<!-- Deprecated transport -->
74+
<exclusion>
75+
<groupId>com.github.docker-java</groupId>
76+
<artifactId>docker-java-transport-jersey</artifactId>
77+
</exclusion>
78+
<!-- Provided by Jenkins core -->
79+
<exclusion>
80+
<groupId>com.google.guava</groupId>
81+
<artifactId>guava</artifactId>
82+
</exclusion>
83+
<exclusion>
84+
<groupId>commons-compress</groupId>
85+
<artifactId>commons-compress</artifactId>
86+
</exclusion>
87+
<exclusion>
88+
<groupId>commons-io</groupId>
89+
<artifactId>commons-io</artifactId>
90+
</exclusion>
91+
<!-- Provided by commons-lang3-api plugin -->
92+
<exclusion>
93+
<groupId>org.apache.commons</groupId>
94+
<artifactId>commons-lang3</artifactId>
95+
</exclusion>
96+
<!-- Provided by bouncycastle-api-plugin -->
97+
<exclusion>
98+
<groupId>org.bouncycastle</groupId>
99+
<artifactId>bcpkix-jdk15on</artifactId>
100+
</exclusion>
101+
<exclusion>
102+
<groupId>org.bouncycastle</groupId>
103+
<artifactId>bcprov-jdk15on</artifactId>
104+
</exclusion>
105+
<!-- Provided by Jenkins core -->
106+
<exclusion>
107+
<groupId>org.slf4j</groupId>
108+
<artifactId>jcl-over-slf4j</artifactId>
109+
</exclusion>
110+
<exclusion>
111+
<groupId>org.slf4j</groupId>
112+
<artifactId>slf4j-api</artifactId>
113+
</exclusion>
114+
</exclusions>
115+
</dependency>
116+
<dependency>
117+
<groupId>com.github.docker-java</groupId>
118+
<artifactId>docker-java-transport-httpclient5</artifactId>
119+
<version>${revision}</version>
120+
<exclusions>
121+
<!-- Provided by Jenkins core -->
122+
<exclusion>
123+
<groupId>commons-codec</groupId>
124+
<artifactId>commons-codec</artifactId>
125+
</exclusion>
126+
<exclusion>
127+
<groupId>net.java.dev.jna</groupId>
128+
<artifactId>jna</artifactId>
129+
</exclusion>
130+
<!-- Provided by apache-httpcomponents-client-5-api plugin -->
131+
<exclusion>
132+
<groupId>org.apache.httpcomponents.client5</groupId>
133+
<artifactId>httpclient5</artifactId>
134+
</exclusion>
135+
<exclusion>
136+
<groupId>org.apache.httpcomponents.client5</groupId>
137+
<artifactId>httpcore5</artifactId>
138+
</exclusion>
139+
<!-- Provided by Jenkins core -->
140+
<exclusion>
141+
<groupId>org.slf4j</groupId>
142+
<artifactId>slf4j-api</artifactId>
143+
</exclusion>
144+
</exclusions>
145+
</dependency>
146+
<dependency>
147+
<groupId>io.jenkins.plugins</groupId>
148+
<artifactId>apache-httpcomponents-client-5-api</artifactId>
149+
</dependency>
150+
<dependency>
151+
<groupId>io.jenkins.plugins</groupId>
152+
<artifactId>commons-lang3-api</artifactId>
153+
</dependency>
154+
<dependency>
155+
<groupId>org.jenkins-ci.plugins</groupId>
156+
<artifactId>bouncycastle-api</artifactId>
157+
</dependency>
158+
<dependency>
159+
<groupId>org.jenkins-ci.plugins</groupId>
160+
<artifactId>jackson2-api</artifactId>
161+
</dependency>
162+
<dependency>
163+
<groupId>org.mockito</groupId>
164+
<artifactId>mockito-core</artifactId>
165+
<scope>test</scope>
166+
</dependency>
167+
</dependencies>
54168

55-
<dependencyManagement>
56-
<dependencies>
57-
<dependency>
58-
<groupId>io.jenkins.tools.bom</groupId>
59-
<artifactId>bom-2.361.x</artifactId>
60-
<version>2081.v85885a_d2e5c5</version>
61-
<scope>import</scope>
62-
<type>pom</type>
63-
</dependency>
64-
</dependencies>
65-
</dependencyManagement>
169+
<repositories>
170+
<repository>
171+
<id>repo.jenkins-ci.org</id>
172+
<url>https://repo.jenkins-ci.org/public/</url>
173+
</repository>
174+
</repositories>
66175

67-
<dependencies>
68-
<dependency>
69-
<groupId>com.github.docker-java</groupId>
70-
<artifactId>docker-java</artifactId>
71-
<version>${revision}</version>
72-
<exclusions>
73-
<!-- Provided by jackson2-api plugin -->
74-
<exclusion>
75-
<groupId>com.fasterxml.jackson.core</groupId>
76-
<artifactId>jackson-annotations</artifactId>
77-
</exclusion>
78-
<exclusion>
79-
<groupId>com.fasterxml.jackson.core</groupId>
80-
<artifactId>jackson-core</artifactId>
81-
</exclusion>
82-
<exclusion>
83-
<groupId>com.fasterxml.jackson.core</groupId>
84-
<artifactId>jackson-databind</artifactId>
85-
</exclusion>
86-
<!-- Deprecated transport -->
87-
<exclusion>
88-
<groupId>com.github.docker-java</groupId>
89-
<artifactId>docker-java-transport-jersey</artifactId>
90-
</exclusion>
91-
<!-- Provided by Jenkins core -->
92-
<exclusion>
93-
<groupId>com.google.guava</groupId>
94-
<artifactId>guava</artifactId>
95-
</exclusion>
96-
<exclusion>
97-
<groupId>commons-compress</groupId>
98-
<artifactId>commons-compress</artifactId>
99-
</exclusion>
100-
<exclusion>
101-
<groupId>commons-io</groupId>
102-
<artifactId>commons-io</artifactId>
103-
</exclusion>
104-
<!-- Provided by commons-lang3-api plugin -->
105-
<exclusion>
106-
<groupId>org.apache.commons</groupId>
107-
<artifactId>commons-lang3</artifactId>
108-
</exclusion>
109-
<!-- Provided by bouncycastle-api-plugin -->
110-
<exclusion>
111-
<groupId>org.bouncycastle</groupId>
112-
<artifactId>bcpkix-jdk15on</artifactId>
113-
</exclusion>
114-
<exclusion>
115-
<groupId>org.bouncycastle</groupId>
116-
<artifactId>bcprov-jdk15on</artifactId>
117-
</exclusion>
118-
<!-- Provided by Jenkins core -->
119-
<exclusion>
120-
<groupId>org.slf4j</groupId>
121-
<artifactId>jcl-over-slf4j</artifactId>
122-
</exclusion>
123-
<exclusion>
124-
<groupId>org.slf4j</groupId>
125-
<artifactId>slf4j-api</artifactId>
126-
</exclusion>
127-
</exclusions>
128-
</dependency>
129-
<dependency>
130-
<groupId>com.github.docker-java</groupId>
131-
<artifactId>docker-java-transport-httpclient5</artifactId>
132-
<version>${revision}</version>
133-
<exclusions>
134-
<!-- Provided by Jenkins core -->
135-
<exclusion>
136-
<groupId>commons-codec</groupId>
137-
<artifactId>commons-codec</artifactId>
138-
</exclusion>
139-
<exclusion>
140-
<groupId>net.java.dev.jna</groupId>
141-
<artifactId>jna</artifactId>
142-
</exclusion>
143-
<!-- Provided by apache-httpcomponents-client-5-api plugin -->
144-
<exclusion>
145-
<groupId>org.apache.httpcomponents.client5</groupId>
146-
<artifactId>httpclient5</artifactId>
147-
</exclusion>
148-
<exclusion>
149-
<groupId>org.apache.httpcomponents.client5</groupId>
150-
<artifactId>httpcore5</artifactId>
151-
</exclusion>
152-
<!-- Provided by Jenkins core -->
153-
<exclusion>
154-
<groupId>org.slf4j</groupId>
155-
<artifactId>slf4j-api</artifactId>
156-
</exclusion>
157-
</exclusions>
158-
</dependency>
159-
<dependency>
160-
<groupId>io.jenkins.plugins</groupId>
161-
<artifactId>apache-httpcomponents-client-5-api</artifactId>
162-
</dependency>
163-
<dependency>
164-
<groupId>io.jenkins.plugins</groupId>
165-
<artifactId>commons-lang3-api</artifactId>
166-
</dependency>
167-
<dependency>
168-
<groupId>org.jenkins-ci.plugins</groupId>
169-
<artifactId>bouncycastle-api</artifactId>
170-
</dependency>
171-
<dependency>
172-
<groupId>org.jenkins-ci.plugins</groupId>
173-
<artifactId>jackson2-api</artifactId>
174-
</dependency>
175-
<dependency>
176-
<groupId>org.mockito</groupId>
177-
<artifactId>mockito-core</artifactId>
178-
<scope>test</scope>
179-
</dependency>
180-
</dependencies>
176+
<pluginRepositories>
177+
<pluginRepository>
178+
<id>repo.jenkins-ci.org</id>
179+
<url>https://repo.jenkins-ci.org/public/</url>
180+
</pluginRepository>
181+
</pluginRepositories>
181182
</project>

0 commit comments

Comments
 (0)