Skip to content

Commit

Permalink
# WARNING: head commit changed in the meantime
Browse files Browse the repository at this point in the history
24: Replace Bintray/JCenter

Task-Url: unitsofmeasurement/uom-parent#24
  • Loading branch information
keilw committed May 7, 2021
1 parent 6f27c82 commit b87c8a5
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 52 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# uom-tools
Tools for JSR 363 and Units of Measurement
Tools for JSR 385 and Units of Measurement

[![Circle CI](https://circleci.com/gh/unitsofmeasurement/uom-tools.svg?style=svg)](https://circleci.com/gh/unitsofmeasurement/uom-tools)
[![Stability: Experimental](https://masterminds.github.io/stability/experimental.svg)](https://masterminds.github.io/stability/experimental.html)
[![License](http://img.shields.io/badge/license-BSD3-blue.svg)](http://opensource.org/licenses/BSD-3-Clause)

83 changes: 40 additions & 43 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<url>http://github.com/unitsofmeasurement/uom-tools</url>
<organization>
<name>Units of Measurement project</name>
<url>http://www.unitsofmeasurement.org</url>
<url>http://unitsofmeasurement.github.io</url>
</organization>
<description>Units of Measurement Tools - supporting JSR 363 and the UOM project</description>
<licenses>
Expand Down Expand Up @@ -117,49 +117,46 @@
</dependencies>
</dependencyManagement>

<distributionManagement>
<repository>
<id>bintray-release</id>
<name>oss-jfrog-artifactory-release</name>
<url>https://oss.jfrog.org/artifactory/oss-release-local</url>
</repository>
<snapshotRepository>
<id>bintray-snapshot</id>
<name>oss-jfrog-artifactory-snapshot</name>
<url>https://oss.jfrog.org/artifactory/oss-snapshot-local</url>
</snapshotRepository>
<site>
<id>www.unitsofmeasurement.org</id>
<url>scp://www.unitsofmeasurement.org/www/docs/lib/</url>
</site>
</distributionManagement>

<!-- Additional repositories -->
<!-- Helps to resolve Parent POM -->
<repositories>
<repository>
<id>jcenter</id>
<name>JCenter</name>
<url>http://jcenter.bintray.com</url>
</repository>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-release</id>
<name>libs-release</name>
<url>http://oss.jfrog.org/artifactory/libs-release</url>
</repository>
<repository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>bintray-snapshot</id>
<name>libs-snapshot</name>
<url>http://oss.jfrog.org/artifactory/libs-snapshot</url>
</repository>
</repositories>
<!-- Deployment to public servers -->
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<!-- Additional repositories -->
<!-- Helps to resolve Parent POM and Snapshot artifacts -->
<repositories>
<repository>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>ossrh-snapshot</id>
<name>OSSRH Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
<repository>
<id>repository.jboss.org</id>
<name>JBoss Repository</name>
<url>http://repository.jboss.org/maven2</url>
</repository>
<repository>
<id>jboss-maven2-brew</id>
<name>JBoss Maven 2 Brew Repository</name>
<url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
</repository>
<repository>
<id>jboss-maven2-snapshots</id>
<name>JBoss Maven 2 Brew Repository</name>
<url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url>
</repository>
</repositories>

<profiles>
<profile>
<id>license</id>
Expand Down
9 changes: 2 additions & 7 deletions settings.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>bintray-snapshot</id>
<username>${env.CI_DEPLOY_USERNAME}</username>
<password>${env.CI_DEPLOY_PASSWORD}</password>
</server>
<server>
<id>bintray-release</id>
<id>ossrh</id>
<username>${env.CI_DEPLOY_USERNAME}</username>
<password>${env.CI_DEPLOY_PASSWORD}</password>
</server>
</servers>
</settings>
</settings>

0 comments on commit b87c8a5

Please sign in to comment.