Skip to content

Commit 888ff82

Browse files
committed
New development version 2.0.x and dependecy updates:
Spring 5.0.2.RELEASE --> 5.1.1.RELEASE commons-lang3 3.7 --> 3.8.1 jaxb 2.3.0 --> 2.3.0.1 jaxb-xjc 2.3.0 --> 2.3.1 maven-plugin-plugin 3.5 --> 3.5.2 maven-plugin-annotations 3.5 --> 3.5.2 maven-plugin-api 3.5.2 --> 3.5.4 Also updated the Maven Central Release tools & added them to version properties
1 parent fb6ca53 commit 888ff82

File tree

1 file changed

+99
-78
lines changed

1 file changed

+99
-78
lines changed

pom.xml

Lines changed: 99 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</parent>
99
<groupId>de.codecentric</groupId>
1010
<artifactId>cxf-spring-boot-starter-maven-plugin</artifactId>
11-
<version>1.1.5-SNAPSHOT</version>
11+
<version>2.0.0-SNAPSHOT</version>
1212
<name>cxf-spring-boot-starter-maven-plugin</name>
1313
<description>Maven plugin complementing the Boot starter for SOAP-Webservices with Apache CXF using JAX-WS &amp; JAXB with Annotations only</description>
1414
<packaging>maven-plugin</packaging>
@@ -48,24 +48,38 @@
4848
<java.version>1.8</java.version>
4949
<maven.compiler.target>1.8</maven.compiler.target>
5050
<maven.compiler.source>1.8</maven.compiler.source>
51+
52+
<!-- Project dependencies -->
5153
<commons-io.version>2.6</commons-io.version>
52-
<commons-lang3.version>3.7</commons-lang3.version>
53-
<spring.version>5.0.2.RELEASE</spring.version>
54-
<jaxb.version>2.3.0</jaxb.version>
54+
<commons-lang3.version>3.8.1</commons-lang3.version>
55+
<spring.version>5.1.1.RELEASE</spring.version>
56+
<jaxb-xjc.version>2.3.1</jaxb-xjc.version>
57+
<jaxb.version>2.3.0.1</jaxb.version>
58+
<mojo-executor.version>2.3.0</mojo-executor.version>
59+
<maven-plugin-plugin.version>3.5.2</maven-plugin-plugin.version>
60+
<maven-plugin-annotations.version>3.5.2</maven-plugin-annotations.version>
61+
<maven-plugin-api.version>3.5.4</maven-plugin-api.version>
62+
63+
<!-- Maven Central Release tools -->
64+
<versions-maven-plugin.version>2.7</versions-maven-plugin.version>
65+
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
66+
<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
67+
<maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version>
68+
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
5569
</properties>
5670

5771
<dependencies>
5872
<dependency>
5973
<groupId>org.apache.maven</groupId>
6074
<artifactId>maven-plugin-api</artifactId>
61-
<version>3.5.2</version>
75+
<version>${maven-plugin-api.version}</version>
6276
</dependency>
6377

6478
<!-- dependencies to annotations -->
6579
<dependency>
6680
<groupId>org.apache.maven.plugin-tools</groupId>
6781
<artifactId>maven-plugin-annotations</artifactId>
68-
<version>3.5</version>
82+
<version>${maven-plugin-annotations.version}</version>
6983
<scope>provided</scope>
7084
</dependency>
7185

@@ -74,7 +88,7 @@
7488
<dependency>
7589
<groupId>org.twdata.maven</groupId>
7690
<artifactId>mojo-executor</artifactId>
77-
<version>2.3.0</version>
91+
<version>${mojo-executor.version}</version>
7892
<exclusions>
7993
<exclusion>
8094
<groupId>org.slf4j</groupId>
@@ -100,7 +114,7 @@
100114
<dependency>
101115
<groupId>com.sun.xml.bind</groupId>
102116
<artifactId>jaxb-xjc</artifactId>
103-
<version>${jaxb.version}</version>
117+
<version>${jaxb-xjc.version}</version>
104118
</dependency>
105119

106120
<dependency>
@@ -128,65 +142,72 @@
128142
</dependencies>
129143

130144
<build>
131-
<plugins>
132-
<plugin>
133-
<groupId>org.apache.maven.plugins</groupId>
134-
<artifactId>maven-plugin-plugin</artifactId>
135-
<version>3.5</version>
136-
<executions>
137-
<execution>
138-
<id>default-descriptor</id>
139-
<phase>process-classes</phase>
140-
</execution>
141-
<!-- if you want to generate help goal -->
142-
<execution>
143-
<id>help-goal</id>
144-
<goals>
145-
<goal>helpmojo</goal>
146-
</goals>
147-
</execution>
148-
</executions>
149-
</plugin>
150-
</plugins>
151-
</build>
152-
145+
<plugins>
146+
<plugin>
147+
<groupId>org.apache.maven.plugins</groupId>
148+
<artifactId>maven-plugin-plugin</artifactId>
149+
<version>${maven-plugin-plugin.version}</version>
150+
<executions>
151+
<execution>
152+
<id>default-descriptor</id>
153+
<phase>process-classes</phase>
154+
</execution>
155+
<!-- if you want to generate help goal -->
156+
<execution>
157+
<id>help-goal</id>
158+
<goals>
159+
<goal>helpmojo</goal>
160+
</goals>
161+
</execution>
162+
</executions>
163+
</plugin>
164+
</plugins>
165+
</build>
166+
153167
<profiles>
154168
<!-- plugins needed to deploy to Maven Central -->
155169
<profile>
156170
<id>central-deploy</id>
157171
<build>
158172
<plugins>
159173
<plugin>
160-
<artifactId>maven-gpg-plugin</artifactId>
161-
<version>1.6</version>
162-
<executions>
163-
<execution>
164-
<id>sign-artifacts</id>
165-
<phase>verify</phase>
166-
<goals>
167-
<goal>sign</goal>
168-
</goals>
169-
</execution>
170-
</executions>
171-
</plugin>
172-
<plugin>
173-
<groupId>org.codehaus.mojo</groupId>
174-
<artifactId>versions-maven-plugin</artifactId>
175-
<version>2.5</version>
176-
<configuration>
177-
<generateBackupPoms>false</generateBackupPoms>
178-
</configuration>
179-
</plugin>
180-
<plugin>
181-
<artifactId>maven-deploy-plugin</artifactId>
182-
<configuration>
183-
<skip>true</skip>
184-
</configuration>
185-
</plugin>
174+
<artifactId>maven-gpg-plugin</artifactId>
175+
<version>${maven-gpg-plugin.version}</version>
176+
<executions>
177+
<execution>
178+
<id>sign-artifacts</id>
179+
<phase>verify</phase>
180+
<goals>
181+
<goal>sign</goal>
182+
</goals>
183+
<configuration>
184+
<!-- This is necessary for gpg to not try to use the pinentry programs -->
185+
<gpgArguments>
186+
<arg>--pinentry-mode</arg>
187+
<arg>loopback</arg>
188+
</gpgArguments>
189+
</configuration>
190+
</execution>
191+
</executions>
192+
</plugin>
193+
<plugin>
194+
<groupId>org.codehaus.mojo</groupId>
195+
<artifactId>versions-maven-plugin</artifactId>
196+
<version>${versions-maven-plugin.version}</version>
197+
<configuration>
198+
<generateBackupPoms>false</generateBackupPoms>
199+
</configuration>
200+
</plugin>
201+
<plugin>
202+
<artifactId>maven-deploy-plugin</artifactId>
203+
<configuration>
204+
<skip>true</skip>
205+
</configuration>
206+
</plugin>
186207
<plugin>
187208
<groupId>org.apache.maven.plugins</groupId>
188209
<artifactId>maven-source-plugin</artifactId>
189-
<version>3.0.1</version>
210+
<version>${maven-source-plugin.version}</version>
190211
<executions>
191212
<execution>
192213
<id>attach-sources</id>
@@ -199,7 +220,7 @@
199220
<plugin>
200221
<groupId>org.apache.maven.plugins</groupId>
201222
<artifactId>maven-javadoc-plugin</artifactId>
202-
<version>3.0.0</version>
223+
<version>${maven-javadoc-plugin.version}</version>
203224
<executions>
204225
<execution>
205226
<id>attach-javadocs</id>
@@ -210,26 +231,26 @@
210231
</executions>
211232
</plugin>
212233
<plugin>
213-
<groupId>org.sonatype.plugins</groupId>
214-
<artifactId>nexus-staging-maven-plugin</artifactId>
215-
<version>1.6.8</version>
216-
<extensions>true</extensions>
217-
<configuration>
218-
<serverId>oss.sonatype.org</serverId>
219-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
220-
<description>${project.version}</description>
221-
</configuration>
222-
<executions>
223-
<execution>
224-
<id>deploy-to-sonatype</id>
225-
<phase>deploy</phase>
226-
<goals>
227-
<goal>deploy</goal>
228-
<goal>release</goal>
229-
</goals>
230-
</execution>
231-
</executions>
232-
</plugin>
234+
<groupId>org.sonatype.plugins</groupId>
235+
<artifactId>nexus-staging-maven-plugin</artifactId>
236+
<version>${nexus-staging-maven-plugin.version}</version>
237+
<extensions>true</extensions>
238+
<configuration>
239+
<serverId>oss.sonatype.org</serverId>
240+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
241+
<description>${project.version}</description>
242+
</configuration>
243+
<executions>
244+
<execution>
245+
<id>deploy-to-sonatype</id>
246+
<phase>deploy</phase>
247+
<goals>
248+
<goal>deploy</goal>
249+
<goal>release</goal>
250+
</goals>
251+
</execution>
252+
</executions>
253+
</plugin>
233254
</plugins>
234255
</build>
235256
</profile>

0 commit comments

Comments
 (0)