Skip to content

Commit

Permalink
[SUREFIRE-1972] Use current version of surefire-shared-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibor17 committed Jan 8, 2022
1 parent e969bef commit 646b38f
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 14 deletions.
2 changes: 1 addition & 1 deletion maven-surefire-common/pom.xml
Expand Up @@ -74,7 +74,7 @@
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-shared-utils</artifactId>
<version>3.0.0-M4</version>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
Expand Down
8 changes: 1 addition & 7 deletions pom.xml
Expand Up @@ -48,6 +48,7 @@
</contributors>

<modules>
<module>surefire-shared</module>
<module>surefire-logger-api</module>
<module>surefire-api</module>
<module>surefire-extensions-api</module>
Expand All @@ -62,7 +63,6 @@
<module>maven-failsafe-plugin</module>
<module>maven-surefire-report-plugin</module>
<module>surefire-its</module>
<module>surefire-shared-utils</module>
</modules>

<scm>
Expand Down Expand Up @@ -667,12 +667,6 @@
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<deployAtEnd>true</deployAtEnd>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
2 changes: 1 addition & 1 deletion surefire-api/pom.xml
Expand Up @@ -40,7 +40,7 @@
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-shared-utils</artifactId>
<version>3.0.0-M4</version>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.google.code.findbugs</groupId>
Expand Down
2 changes: 1 addition & 1 deletion surefire-extensions-api/pom.xml
Expand Up @@ -45,7 +45,7 @@
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-shared-utils</artifactId>
<version>3.0.0-M4</version>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
Expand Down
2 changes: 1 addition & 1 deletion surefire-providers/common-java5/pom.xml
Expand Up @@ -35,7 +35,7 @@
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-shared-utils</artifactId>
<version>3.0.0-M4</version>
<version>${project.version}</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion surefire-report-parser/pom.xml
Expand Up @@ -41,7 +41,7 @@
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-shared-utils</artifactId>
<version>3.0.0-M4</version>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.reporting</groupId>
Expand Down
57 changes: 55 additions & 2 deletions surefire-shared-utils/pom.xml → surefire-shared/pom.xml
Expand Up @@ -27,9 +27,11 @@
<version>3.0.0-M6-SNAPSHOT</version>
</parent>

<artifactId>surefire-shared-utils</artifactId>
<artifactId>surefire-shared</artifactId>
<name>Surefire Shared Utils</name>
<description>Relocated Java packages of maven-shared-utils in Surefire</description>
<description>
Relocated Java packages of maven-shared-utils and several Apache Commons utilities in Surefire.
</description>

<licenses>
<license>
Expand All @@ -39,6 +41,11 @@
</license>
</licenses>

<properties>
<distRepoId>${distributionManagement.snapshotRepository.id}</distRepoId>
<distRepoUrl>${distributionManagement.snapshotRepository.url}</distRepoUrl>
</properties>

<dependencies>
<dependency>
<groupId>org.apache.maven.shared</groupId>
Expand Down Expand Up @@ -98,7 +105,53 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<executions>
<execution>
<id>install-jar</id>
<phase>install</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<artifactId>surefire-shared-utils</artifactId>
<file>target/${project.build.finalName}.jar</file>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<executions>
<execution>
<id>deploy-jar</id>
<phase>deploy</phase>
<goals>
<goal>deploy-file</goal>
</goals>
<configuration>
<groupId>${project.groupId}</groupId>
<artifactId>surefire-shared-utils</artifactId>
<version>${project.version}</version>
<file>target/${project.build.finalName}.jar</file>
<url>${distRepoUrl}</url>
<repositoryId>${distRepoId}</repositoryId>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>apache-release</id>
<properties>
<distRepoId>${distributionManagement.repository.id}</distRepoId>
<distRepoUrl>${distributionManagement.repository.url}</distRepoUrl>
</properties>
</profile>
</profiles>

</project>

0 comments on commit 646b38f

Please sign in to comment.