File tree Expand file tree Collapse file tree 3 files changed +19
-23
lines changed
Expand file tree Collapse file tree 3 files changed +19
-23
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,11 @@ jobs:
2727 run : mvn -B install --file pom.xml
2828 - name : Publish to GitHub Packages Apache Maven
2929 if : contains(github.ref, 'main')
30- run : mvn -B deploy -Pgithub -s $GITHUB_WORKSPACE/settings.xml -pl '!flyway-community-db-support-archetype' -DskipPublishing=true
30+ run : mvn -B deploy -Pgithub -s $GITHUB_WORKSPACE/settings.xml -pl '!flyway-community-db-support-archetype'
3131 env :
3232 GITHUB_TOKEN : ${{ github.token }}
3333 - name : Publish Archetype to GitHub Packages Apache Maven
3434 if : contains(github.ref, 'main')
35- run : mvn -B deploy -Pgithub -s $GITHUB_WORKSPACE/settings.xml -pl flyway-community-db-support-archetype -DskipPublishing=true
35+ run : mvn -B deploy -Pgithub -s $GITHUB_WORKSPACE/settings.xml -pl flyway-community-db-support-archetype
3636 env :
3737 GITHUB_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 172172 <profiles >
173173 <profile >
174174 <id >github</id >
175+ <properties >
176+ <skipTests >true</skipTests >
177+ </properties >
178+ <distributionManagement >
179+ <repository >
180+ <id >github</id >
181+ <url >https://maven.pkg.github.com/flyway/flyway-community-db-support</url >
182+ </repository >
183+ <snapshotRepository >
184+ <id >github</id >
185+ <url >https://maven.pkg.github.com/flyway/flyway-community-db-support</url >
186+ </snapshotRepository >
187+ </distributionManagement >
175188 <build >
176189 <plugins >
177190 <plugin >
178191 <groupId >org.sonatype.central</groupId >
179192 <artifactId >central-publishing-maven-plugin</artifactId >
180- <version >0.7 .0</version >
193+ <version >0.8 .0</version >
181194 <extensions >true</extensions >
182- <executions >
183- <execution >
184- <id >injected-central-publishing</id >
185- <phase >none</phase >
186- </execution >
187- </executions >
195+ <configuration >
196+ <publishingServerId >github</publishingServerId >
197+ </configuration >
188198 </plugin >
189199 </plugins >
190200 </build >
Original file line number Diff line number Diff line change 22 xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
33 xsi : schemaLocation =" http://maven.apache.org/SETTINGS/1.0.0
44 http://maven.apache.org/xsd/settings-1.0.0.xsd" >
5- <profiles >
6- <profile >
7- <id >github</id >
8- <properties >
9- <snapshotRepository .id>github</snapshotRepository .id>
10- <snapshotRepository .name>Flyway Community DB Support Maven Packages</snapshotRepository .name>
11- <snapshotRepository .url>https://maven.pkg.github.com/flyway/flyway-community-db-support</snapshotRepository .url>
12-
13- <releaseRepository .id>github</releaseRepository .id>
14- <releaseRepository .name>Flyway Community DB Support Maven Packages</releaseRepository .name>
15- <releaseRepository .url>https://maven.pkg.github.com/flyway/flyway-community-db-support</releaseRepository .url>
16- </properties >
17- </profile >
18- </profiles >
195 <servers >
206 <server >
217 <id >github</id >
You can’t perform that action at this time.
0 commit comments