Skip to content

Commit 23ebbb6

Browse files
committed
Deploy to Artifactory
1 parent e76b2f1 commit 23ebbb6

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

.github/workflows/build-sbm-support-rewrite.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ jobs:
3535
- name: Deploy to Artifactory
3636
run: |
3737
jfrog mvnc \
38-
--server-id-deploy spring-snapshot \
39-
--server-url https.//repo.spring.io \
38+
--server-id-deploy repo.spring.io \
4039
--repo-deploy-releases release \
4140
--repo-deploy-snapshots snapshot
4241
echo JFROG_CLI_BUILD_NAME=sbm-support-rewrite >> $GITHUB_ENV
@@ -45,5 +44,5 @@ jobs:
4544
env:
4645
DISABLE_SAMPLES: true
4746
run: |
48-
jfrog mvn clean install -B -Pci -DskipTests
47+
jfrog mvn clean install -B -Pci,spring -DskipTests -DaltSnapshotDeploymentRepository=repo.spring.io::default::https://repo.spring.io/libs-snapshot-local
4948
jfrog build-publish

sbm-support-rewrite/pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,5 +438,24 @@ limitations under the License.
438438
</plugins>
439439
</build>
440440
</profile>
441+
<profile>
442+
<id>spring</id>
443+
<repositories>
444+
<repository>
445+
<id>spring-milestone</id>
446+
<url>https://repo.spring.io/milestone</url>
447+
<snapshots>
448+
<enabled>false</enabled>
449+
</snapshots>
450+
</repository>
451+
<repository>
452+
<id>spring-snapshot</id>
453+
<url>https://repo.spring.io/snapshot</url>
454+
<releases>
455+
<enabled>false</enabled>
456+
</releases>
457+
</repository>
458+
</repositories>
459+
</profile>
441460
</profiles>
442461
</project>

0 commit comments

Comments
 (0)