Skip to content

Commit

Permalink
Change maven repository server to sonatype oss s01.
Browse files Browse the repository at this point in the history
  • Loading branch information
splatch committed Jan 30, 2024
1 parent 61b0821 commit b30a0b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 34 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
CI_RELEASE_PASSWORD: ${{ secrets.CI_RELEASE_PASSWORD }}
with:
openhab: false
server_id: 'sonatype-nexus-staging-s01'
release_version: ${{ inputs.release_version }}
development_version: ${{ inputs.development_version }}
perform_version: ${{ inputs.perform_version }}
Expand Down
37 changes: 3 additions & 34 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@
<snapshot.repository-name>Thing4 Snapshots</snapshot.repository-name>
<snapshot.repository-url>https://repository.connectorio.cloud/repository/thing4-snapshots/</snapshot.repository-url>

<release.repository-id>sonatype-nexus-staging</release.repository-id>
<release.repository-name>Sonatype Central Synchronisation</release.repository-name>
<release.repository-url>https://oss.sonatype.org/service/local/staging/deploy/maven2</release.repository-url>
<release.repository-id>sonatype-nexus-staging-s01</release.repository-id>
<release.repository-name>Sonatype Central Synchronisation (S01)</release.repository-name>
<release.repository-url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2</release.repository-url>

<site.repository-id>github.com</site.repository-id>
<site.repository-name>GitHub Pages</site.repository-name>
Expand All @@ -105,7 +105,6 @@
<maven-wagon.version>3.4.3</maven-wagon.version>
<maven-scm.version>1.12.0</maven-scm.version>
<maven-scm-publish-plugin.version>3.1.0</maven-scm-publish-plugin.version>
<central-publishing-maven-plugin.version>0.3.0</central-publishing-maven-plugin.version>
</properties>

<!-- Repositories -->
Expand Down Expand Up @@ -260,15 +259,6 @@
<artifactId>build-helper-maven-plugin</artifactId>
<version>${mojohaus-buildhelper-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central-publishing-maven-plugin.version}</version>
<configuration>
<publishingServerId>sonatype-central</publishingServerId>
<tokenAuth>true</tokenAuth>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down Expand Up @@ -477,27 +467,6 @@
</build>
</profile>

<profile>
<id>release-sonatype-central</id>

<activation>
<property>
<name>release</name>
<value>true</value>
</property>
</activation>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>site</id>

Expand Down

0 comments on commit b30a0b1

Please sign in to comment.