Skip to content

Commit af6026a

Browse files
committed
Add flatten-maven-plugin to pom.xml
Add name `spring-cloud-starter-single-step-batch-job` to spring-cloud-starter-single-step-batch job Exclude integration tests from central portal Signed-off-by: Glenn Renfro <[email protected]>
1 parent 72cd7bc commit af6026a

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ spring-shell.log
1818
target/
1919
test-output
2020
result.txt
21+
.flattened-pom.xml
2122

2223
# Eclipse artifacts, including WTP generated manifests
2324
.classpath

pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@
140140
</plugins>
141141
</pluginManagement>
142142
<plugins>
143+
<plugin>
144+
<groupId>org.codehaus.mojo</groupId>
145+
<artifactId>flatten-maven-plugin</artifactId>
146+
</plugin>
143147
<plugin>
144148
<groupId>org.apache.maven.plugins</groupId>
145149
<artifactId>maven-surefire-plugin</artifactId>
@@ -278,6 +282,22 @@
278282
</reporting>
279283

280284
<profiles>
285+
<profile>
286+
<id>central</id>
287+
<build>
288+
<plugins>
289+
<plugin>
290+
<groupId>org.sonatype.central</groupId>
291+
<artifactId>central-publishing-maven-plugin</artifactId>
292+
<configuration>
293+
<excludeArtifacts>
294+
<artifact>spring-cloud-task-integration-tests</artifact>
295+
</excludeArtifacts>
296+
</configuration>
297+
</plugin>
298+
</plugins>
299+
</build>
300+
</profile>
281301
<profile>
282302
<id>spring</id>
283303
<repositories>

spring-cloud-starter-single-step-batch-job/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<modelVersion>4.0.0</modelVersion>
99

1010
<artifactId>spring-cloud-starter-single-step-batch-job</artifactId>
11+
<name>spring-cloud-starter-single-step-batch-job</name>
1112

1213
<properties>
1314
<spring-cloud-commons.version>5.0.0-SNAPSHOT</spring-cloud-commons.version>

0 commit comments

Comments
 (0)