Skip to content

Commit 757a58b

Browse files
committed
move central-publishing-maven-plugin out of profile
1 parent 2846f47 commit 757a58b

File tree

3 files changed

+13
-26
lines changed

3 files changed

+13
-26
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
STAGING_BRANCH="staging/$GROUP_ID/$ARTIFACT_ID/$VERSION/$(date -u +"%Y%m%d.%H%M%S%3N")"
4242
4343
# Build the project and deploy to the local repo branch
44-
mvn clean deploy -DaltDeploymentRepository=snapshot-repo::default::file://$(pwd)/target-branch/
44+
mvn clean deploy -DskipPublishing=true -DaltDeploymentRepository=snapshot-repo::default::file://$(pwd)/target-branch/
4545
4646
# Push the updated snapshots to the branch
4747
cd target-branch

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ZenWave Spring-Modulith events externalizer for Spring Cloud Stream
1+
Spring-Modulith events externalizer for Spring Cloud Stream
22
=====================================
33

44

pom.xml

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -155,32 +155,19 @@
155155
</dependency>
156156
</dependencies>
157157

158-
<profiles>
159-
<profile>
160-
<id>release</id>
161-
<activation>
162-
<activeByDefault>false</activeByDefault>
163-
</activation>
164-
<build>
165-
<plugins>
166-
<plugin>
167-
<groupId>org.sonatype.central</groupId>
168-
<artifactId>central-publishing-maven-plugin</artifactId>
169-
<version>0.6.0</version>
170-
<extensions>true</extensions>
171-
<configuration>
172-
<publishingServerId>central</publishingServerId>
173-
<autoPublish>true</autoPublish>
174-
<tokenAuth>true</tokenAuth>
175-
</configuration>
176-
</plugin>
177-
</plugins>
178-
</build>
179-
</profile>
180-
</profiles>
181-
182158
<build>
183159
<plugins>
160+
<plugin>
161+
<groupId>org.sonatype.central</groupId>
162+
<artifactId>central-publishing-maven-plugin</artifactId>
163+
<version>0.6.0</version>
164+
<extensions>true</extensions>
165+
<configuration>
166+
<publishingServerId>central</publishingServerId>
167+
<autoPublish>true</autoPublish>
168+
<tokenAuth>true</tokenAuth>
169+
</configuration>
170+
</plugin>
184171
<plugin>
185172
<groupId>org.apache.maven.plugins</groupId>
186173
<artifactId>maven-surefire-plugin</artifactId>

0 commit comments

Comments
 (0)