Skip to content

Commit

Permalink
Drop snapshot releases in favour of nightlies (#2340)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonkoops authored Mar 28, 2022
1 parent e2573bd commit 23492a5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 77 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/publish.yml

This file was deleted.

54 changes: 17 additions & 37 deletions keycloak-theme/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<version>999-SNAPSHOT</version>
<name>Keycloak Administration UI</name>
<description>Keycloak Administration UI</description>

<properties>
<jboss.repo.nexusUrl>https://s01.oss.sonatype.org/</jboss.repo.nexusUrl>
<jboss.releases.repo.id>jboss-releases-repository</jboss.releases.repo.id>
Expand All @@ -41,15 +41,15 @@
<distribution>repo</distribution>
</license>
</licenses>
<url>http://keycloak.org</url>

<url>http://keycloak.org</url>

<scm>
<connection>scm:git:git://github.com/keycloak/keycloak-admin-ui.git</connection>
<developerConnection>scm:git:[email protected]:keycloak/keycloak-admin-ui.git</developerConnection>
<url>https://github.com/keycloak/keycloak-admin-ui/tree/master/</url>
</scm>
</scm>

<developers>
<developer>
<id>keycloak</id>
Expand All @@ -59,36 +59,18 @@

<distributionManagement>
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/keycloak/keycloak-admin-ui</url>
<id>${jboss.releases.repo.id}</id>
<name>JBoss Releases Repository</name>
<url>${jboss.releases.repo.url}</url>
</repository>
<snapshotRepository>
<id>${jboss.snapshots.repo.id}</id>
<name>JBoss Snapshots Repository</name>
<url>${jboss.snapshots.repo.url}</url>
</snapshotRepository>
</distributionManagement>

<profiles>
<profile>
<id>nexus-staging</id>
<distributionManagement>
<repository>
<id>${jboss.releases.repo.id}</id>
<name>JBoss Releases Repository</name>
<url>${jboss.releases.repo.url}</url>
</repository>
<snapshotRepository>
<id>${jboss.snapshots.repo.id}</id>
<name>JBoss Snapshots Repository</name>
<url>${jboss.snapshots.repo.url}</url>
</snapshotRepository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>gpg</id>
<build>
Expand All @@ -113,8 +95,6 @@
</configuration>
</execution>
</executions>
<configuration>
</configuration>
</plugin>
</plugins>
</build>
Expand All @@ -136,7 +116,7 @@
</plugin>
</plugins>
</pluginManagement>

<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
Expand Down Expand Up @@ -258,7 +238,7 @@
</script>
</body>
]]>
</value>
</value>
</replacement>
</replacements>

Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ echo "--------------------------------------------------------------------------
echo "Building:"
echo ""

mvn --file=./keycloak-theme/pom.xml -Pnexus-staging,gpg -DretryFailedDeploymentCount=10 -DautoReleaseAfterClose=true clean deploy
mvn --file=./keycloak-theme/pom.xml -Pgpg -DretryFailedDeploymentCount=10 -DautoReleaseAfterClose=true clean deploy

echo "------------------------------------------------------------------------------------------------------------"
echo "Create tag:"
Expand Down

0 comments on commit 23492a5

Please sign in to comment.