Skip to content

Commit 51ea6a0

Browse files
authored
Use stable Spring Data 4.0.0-RC1 for Maven Central release (#12)
* Use stable Spring Data 4.0.0-RC1 instead of SNAPSHOT for Maven Central release - Updated spring-data-parent from 4.0.0-SNAPSHOT to 4.0.0-RC1 - Updated spring-data-commons from 4.0.0-SNAPSHOT to 4.0.0-RC1 This allows the project to be published to Maven Central which requires all dependencies to be stable releases (no SNAPSHOT versions). * Remove duplicate maven-source-plugin from release profile The spring-data-parent POM already configures maven-source-plugin, so having it again in the release profile causes a duplicate artifact error.
1 parent 768dc63 commit 51ea6a0

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

pom.xml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.springframework.data.build</groupId>
2424
<artifactId>spring-data-parent</artifactId>
25-
<version>4.0.0-SNAPSHOT</version>
25+
<version>4.0.0-RC1</version>
2626
</parent>
2727

2828
<groupId>org.springframework.data</groupId>
@@ -115,7 +115,7 @@
115115
<skipUnitTests>${skipTests}</skipUnitTests>
116116
<sortpom-maven-plugin.version>4.0.0</sortpom-maven-plugin.version>
117117
<spring-javaformat.version>0.0.46</spring-javaformat.version>
118-
<springdata.commons>4.0.0-SNAPSHOT</springdata.commons>
118+
<springdata.commons>4.0.0-RC1</springdata.commons>
119119
</properties>
120120

121121
<dependencyManagement>
@@ -777,18 +777,6 @@
777777
<skip>true</skip>
778778
</configuration>
779779
</plugin>
780-
<plugin>
781-
<groupId>org.apache.maven.plugins</groupId>
782-
<artifactId>maven-source-plugin</artifactId>
783-
<executions>
784-
<execution>
785-
<id>attach-sources</id>
786-
<goals>
787-
<goal>jar-no-fork</goal>
788-
</goals>
789-
</execution>
790-
</executions>
791-
</plugin>
792780
<plugin>
793781
<groupId>org.apache.maven.plugins</groupId>
794782
<artifactId>maven-javadoc-plugin</artifactId>

0 commit comments

Comments
 (0)