Skip to content

Commit c60b852

Browse files
committed
prepare pom for release
Signed-off-by: Olivier Lamy <[email protected]>
1 parent 7349c13 commit c60b852

File tree

1 file changed

+58
-9
lines changed

1 file changed

+58
-9
lines changed

pom.xml

Lines changed: 58 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,11 @@
155155
<artifactId>maven-compiler-plugin</artifactId>
156156
<version>3.10.1</version>
157157
</plugin>
158+
<plugin>
159+
<groupId>org.apache.maven.plugins</groupId>
160+
<artifactId>maven-gpg-plugin</artifactId>
161+
<version>3.0.1</version>
162+
</plugin>
158163
<plugin>
159164
<groupId>org.apache.maven.plugins</groupId>
160165
<artifactId>maven-plugin-plugin</artifactId>
@@ -170,6 +175,11 @@
170175
<artifactId>maven-jar-plugin</artifactId>
171176
<version>3.2.2</version>
172177
</plugin>
178+
<plugin>
179+
<groupId>org.apache.maven.plugins</groupId>
180+
<artifactId>maven-javadoc-plugin</artifactId>
181+
<version>3.4.0</version>
182+
</plugin>
173183
<plugin>
174184
<groupId>org.apache.maven.plugins</groupId>
175185
<artifactId>maven-install-plugin</artifactId>
@@ -185,6 +195,24 @@
185195
<artifactId>maven-invoker-plugin</artifactId>
186196
<version>3.3.0</version>
187197
</plugin>
198+
<plugin>
199+
<groupId>org.apache.maven.plugins</groupId>
200+
<artifactId>maven-source-plugin</artifactId>
201+
<version>3.2.1</version>
202+
</plugin>
203+
<plugin>
204+
<groupId>org.apache.maven.plugins</groupId>
205+
<artifactId>maven-release-plugin</artifactId>
206+
<version>2.5.3</version>
207+
<configuration>
208+
<useReleaseProfile>false</useReleaseProfile>
209+
<goals>deploy</goals>
210+
<arguments>-Peclipse-release -DskipTests</arguments>
211+
<preparationGoals>clean install</preparationGoals>
212+
<mavenExecutorId>forked-path</mavenExecutorId>
213+
<localCheckout>true</localCheckout>
214+
</configuration>
215+
</plugin>
188216
</plugins>
189217
</pluginManagement>
190218
<plugins>
@@ -242,22 +270,43 @@
242270
</plugin>
243271
</plugins>
244272
</build>
245-
246273
<profiles>
247274
<profile>
248-
<id>release-sign-artifact</id>
249-
<activation>
250-
<property>
251-
<name>performRelease</name>
252-
<value>true</value>
253-
</property>
254-
</activation>
275+
<id>eclipse-release</id>
255276
<build>
256277
<plugins>
278+
<plugin>
279+
<inherited>true</inherited>
280+
<groupId>org.apache.maven.plugins</groupId>
281+
<artifactId>maven-deploy-plugin</artifactId>
282+
</plugin>
283+
<plugin>
284+
<groupId>org.apache.maven.plugins</groupId>
285+
<artifactId>maven-source-plugin</artifactId>
286+
<executions>
287+
<execution>
288+
<id>attach-sources</id>
289+
<goals>
290+
<goal>jar</goal>
291+
</goals>
292+
</execution>
293+
</executions>
294+
</plugin>
295+
<plugin>
296+
<groupId>org.apache.maven.plugins</groupId>
297+
<artifactId>maven-javadoc-plugin</artifactId>
298+
<executions>
299+
<execution>
300+
<id>attach-javadocs</id>
301+
<goals>
302+
<goal>jar</goal>
303+
</goals>
304+
</execution>
305+
</executions>
306+
</plugin>
257307
<plugin>
258308
<groupId>org.apache.maven.plugins</groupId>
259309
<artifactId>maven-gpg-plugin</artifactId>
260-
<version>3.0.1</version>
261310
<executions>
262311
<execution>
263312
<id>sign-artifacts</id>

0 commit comments

Comments
 (0)