Skip to content

Commit 5e7a51c

Browse files
Cleanup project
- use common configurations and plugin versions from parent - add me as developer - maven core artifacts in provided scope - execute IT tests in parallel
1 parent a4938ad commit 5e7a51c

File tree

1 file changed

+22
-34
lines changed

1 file changed

+22
-34
lines changed

pom.xml

Lines changed: 22 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,12 @@
1313

1414
<name>Exec Maven Plugin</name>
1515
<description>A plugin to allow execution of system and Java programs</description>
16-
<url>http://www.mojohaus.org/exec-maven-plugin</url>
16+
<url>https://www.mojohaus.org/exec-maven-plugin</url>
1717
<inceptionYear>2005</inceptionYear>
18+
1819
<prerequisites>
1920
<maven>${mavenVersion}</maven>
2021
</prerequisites>
21-
<issueManagement>
22-
<system>GitHub</system>
23-
<url>https://github.com/mojohaus/exec-maven-plugin/issues/</url>
24-
</issueManagement>
25-
<ciManagement>
26-
<system>Travis-CI</system>
27-
<url>https://travis-ci.org/mojohaus/exec-maven-plugin</url>
28-
</ciManagement>
2922

3023
<developers>
3124
<developer>
@@ -62,6 +55,12 @@
6255
<email>[email protected]</email>
6356
<timezone>Europe/Berlin</timezone>
6457
</developer>
58+
<developer>
59+
<id>sjaranowski</id>
60+
<name>Slawomir Jaranowski</name>
61+
<email>[email protected]</email>
62+
<timezone>Europe/Warsaw</timezone>
63+
</developer>
6564
</developers>
6665

6766
<contributors>
@@ -94,15 +93,15 @@
9493
<licenses>
9594
<license>
9695
<name>Apache License 2</name>
97-
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
96+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
9897
<distribution>repo</distribution>
9998
</license>
10099
</licenses>
101100

102101
<scm>
103102
<connection>scm:git:https://github.com/mojohaus/exec-maven-plugin.git</connection>
104103
<developerConnection>scm:git:ssh://[email protected]/mojohaus/exec-maven-plugin.git</developerConnection>
105-
<url>https://github.com/mojohaus/exec-maven-plugin</url>
104+
<url>https://github.com/mojohaus/exec-maven-plugin/tree/master</url>
106105
<tag>HEAD</tag>
107106
</scm>
108107

@@ -111,22 +110,26 @@
111110
<groupId>org.apache.maven</groupId>
112111
<artifactId>maven-model</artifactId>
113112
<version>${mavenVersion}</version>
113+
<scope>provided</scope>
114114
</dependency>
115115
<dependency>
116116
<groupId>org.apache.maven</groupId>
117117
<artifactId>maven-artifact</artifactId>
118118
<version>${mavenVersion}</version>
119+
<scope>provided</scope>
119120
</dependency>
120121
<dependency>
121122
<groupId>org.apache.maven</groupId>
122123
<artifactId>maven-core</artifactId>
123124
<version>${mavenVersion}</version>
125+
<scope>provided</scope>
124126
</dependency>
125127

126128
<dependency>
127129
<groupId>org.apache.maven</groupId>
128130
<artifactId>maven-plugin-api</artifactId>
129131
<version>${mavenVersion}</version>
132+
<scope>provided</scope>
130133
</dependency>
131134
<dependency>
132135
<groupId>org.codehaus.plexus</groupId>
@@ -137,7 +140,6 @@
137140
<dependency>
138141
<groupId>org.apache.maven.plugin-tools</groupId>
139142
<artifactId>maven-plugin-annotations</artifactId>
140-
<version>3.6.4</version>
141143
<scope>provided</scope>
142144
</dependency>
143145

@@ -188,6 +190,7 @@
188190
<groupId>org.slf4j</groupId>
189191
<artifactId>slf4j-simple</artifactId>
190192
<version>${slf4j.version}</version>
193+
<scope>test</scope>
191194
</dependency>
192195
</dependencies>
193196

@@ -201,30 +204,15 @@
201204
<build>
202205
<pluginManagement>
203206
<plugins>
204-
<plugin>
205-
<groupId>org.apache.maven.plugins</groupId>
206-
<artifactId>maven-compiler-plugin</artifactId>
207-
<version>3.10.1</version>
208-
</plugin>
209207
<plugin>
210208
<groupId>org.apache.maven.plugins</groupId>
211209
<artifactId>maven-javadoc-plugin</artifactId>
212-
<version>3.4.0</version>
213210
<configuration>
214211
<detectLinks>false</detectLinks>
215212
<detectJavaApiLink>false</detectJavaApiLink>
216213
<detectOfflineLinks>false</detectOfflineLinks>
217214
</configuration>
218215
</plugin>
219-
<plugin>
220-
<groupId>org.apache.maven.plugins</groupId>
221-
<artifactId>maven-gpg-plugin</artifactId>
222-
<version>3.0.1</version>
223-
<configuration>
224-
<!-- Temporary solution to get a release out using gpg version 1 -->
225-
<useAgent>false</useAgent>
226-
</configuration>
227-
</plugin>
228216
<plugin>
229217
<groupId>org.apache.maven.plugins</groupId>
230218
<artifactId>maven-plugin-plugin</artifactId>
@@ -242,11 +230,11 @@
242230
</plugin>
243231
</plugins>
244232
</pluginManagement>
233+
245234
<plugins>
246235
<plugin>
247236
<groupId>org.codehaus.mojo</groupId>
248237
<artifactId>animal-sniffer-maven-plugin</artifactId>
249-
<version>1.21</version>
250238
<executions>
251239
<execution>
252240
<goals>
@@ -281,7 +269,6 @@
281269
<plugin>
282270
<groupId>org.apache.maven.plugins</groupId>
283271
<artifactId>maven-dependency-plugin</artifactId>
284-
<version>3.3.0</version>
285272
<executions>
286273
<execution>
287274
<id>copy-test-deps</id>
@@ -365,7 +352,6 @@
365352
<plugin>
366353
<groupId>org.apache.maven.plugins</groupId>
367354
<artifactId>maven-invoker-plugin</artifactId>
368-
<version>3.3.0</version>
369355
<configuration>
370356
<addTestClassPath>true</addTestClassPath>
371357
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
@@ -375,11 +361,10 @@
375361
<preBuildHookScript>setup</preBuildHookScript>
376362
<postBuildHookScript>verify</postBuildHookScript>
377363
<settingsFile>src/it/mrm/settings.xml</settingsFile>
364+
<parallelThreads>1C</parallelThreads>
378365
<properties>
379366
<maven.compiler.source>${mojo.java.target}</maven.compiler.source>
380367
<maven.compiler.target>${mojo.java.target}</maven.compiler.target>
381-
<!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
382-
<https.protocols>${https.protocols}</https.protocols>
383368
</properties>
384369
<filterProperties>
385370
<mrm.repository.url>${mrm.repository.url}</mrm.repository.url>
@@ -389,15 +374,15 @@
389374
<execution>
390375
<goals>
391376
<goal>install</goal>
392-
<goal>run</goal>
377+
<goal>integration-test</goal>
378+
<goal>verify</goal>
393379
</goals>
394380
</execution>
395381
</executions>
396382
</plugin>
397383
<plugin>
398384
<groupId>org.codehaus.mojo</groupId>
399385
<artifactId>mrm-maven-plugin</artifactId>
400-
<version>1.4.1</version>
401386
<executions>
402387
<execution>
403388
<goals>
@@ -411,6 +396,9 @@
411396
<mockRepo>
412397
<source>src/it/mrm/repository</source>
413398
</mockRepo>
399+
<localRepo>
400+
<source>${project.build.directory}/local-repo</source>
401+
</localRepo>
414402
<proxyRepo />
415403
</repositories>
416404
</configuration>

0 commit comments

Comments
 (0)