Skip to content

Commit

Permalink
Publish snapshots into central sonatype instead of github (#216)
Browse files Browse the repository at this point in the history
## Description

New version of sonatype allows to publish snapshots, so we do not need
to use GH to store snapshots.


## Type of Change

Please delete options that are not relevant.

* New feature (non-breaking change which adds functionality)

---------

Signed-off-by: David Kornel <kornys@outlook.com>
  • Loading branch information
kornys authored Jan 23, 2025
1 parent 7bb6966 commit b34cdfc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 69 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/publish-snapshot.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ name: Publish-release

on:
push:
branches:
- main
tags:
- '*'

jobs:
publish-release:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Library for easy testing of Kubernetes deployments and operators using Fabric8 API.

[![Build](https://github.com/skodjob/test-frame/actions/workflows/build.yaml/badge.svg?branch=main)](https://github.com/skodjob/test-frame/actions/workflows/build.yaml)
[![Publish-snapshot](https://github.com/skodjob/test-frame/actions/workflows/publish-snapshot.yaml/badge.svg?branch=main)](https://github.com/skodjob/test-frame/actions/workflows/publish-snapshot.yaml)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![GitHub Release](https://img.shields.io/github/v/release/skodjob/test-frame)](https://github.com/skodjob/test-frame/releases)
[![Maven Central Version](https://img.shields.io/maven-central/v/io.skodjob/test-frame)](https://central.sonatype.com/search?q=io.skodjob.test-frame)
Expand Down
22 changes: 0 additions & 22 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,6 @@
<url>https://github.com/skodjob/test-frame/issues</url>
</issueManagement>

<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Apache Maven Packages</name>
<url>https://maven.pkg.github.com/skodjob/test-frame</url>
</repository>
</distributionManagement>

<developers>
<developer>
<id>im-konge</id>
Expand Down Expand Up @@ -89,7 +81,6 @@

<maven.compile.plugin.version>3.13.0</maven.compile.plugin.version>
<maven.source.plugin.version>3.3.1</maven.source.plugin.version>
<maven.deploy.plugin.version>3.1.3</maven.deploy.plugin.version>
<maven.gpg.version>3.2.7</maven.gpg.version>
<sonatype.nexus.central>0.7.0</sonatype.nexus.central>
<maven.javadoc.version>3.11.2</maven.javadoc.version>
Expand Down Expand Up @@ -361,19 +352,6 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven.deploy.plugin.version}</version>
<executions>
<execution>
<id>deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
Expand Down

0 comments on commit b34cdfc

Please sign in to comment.