Skip to content

Commit

Permalink
Remove oss.jfrog.org
Browse files Browse the repository at this point in the history
  • Loading branch information
yahavi committed Sep 12, 2021
1 parent faa2ef8 commit 0a68fd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 41 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
- name: Set up Maven Central Repository
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '8'
distribution: "adopt"
java-version: "8"
server-id: ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
Expand All @@ -25,19 +25,10 @@ jobs:
- name: Install
run: mvn install -B

# Deploy to oss.jfrog.org
- name: Deploy To OJO
run: >-
mvn -B deploy
-DARTIFACTORY_URL=${{ secrets.ARTIFACTORY_URL }}
-DARTIFACTORY_USERNAME=${{ secrets.ARTIFACTORY_USERNAME }}
-DARTIFACTORY_PASSWORD=${{ secrets.ARTIFACTORY_PASSWORD }}
# Deploy to Maven Central
- name: Deploy to Maven Central
run: mvn -B deploy -Pupload-to-central
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
OSSRH_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_PASSPHRASE }}

30 changes: 0 additions & 30 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,36 +20,6 @@
<skipITs>true</skipITs>
</properties>

<repositories>
<repository>
<id>releases</id>
<name>jfrog-dependencies</name>
<url>https://oss.jfrog.org/artifactory/jfrog-dependencies</url>
</repository>
<repository>
<snapshots/>
<id>snapshots</id>
<name>libs-snapshot</name>
<url>https://oss.jfrog.org/artifactory/libs-snapshot</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>releases</id>
<name>jfrog-dependencies</name>
<url>https://oss.jfrog.org/artifactory/jfrog-dependencies</url>
</pluginRepository>
<pluginRepository>
<snapshots/>
<id>snapshots</id>
<name>plugins-snapshot</name>
<url>https://oss.jfrog.org/artifactory/plugins-snapshot</url>
</pluginRepository>
</pluginRepositories>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
Expand Down

0 comments on commit 0a68fd3

Please sign in to comment.