Skip to content

Commit

Permalink
[maven-release-plugin] prepare release ciftools-java-6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sbittrich committed Mar 19, 2024
1 parent 86a342a commit 5e7abe6
Show file tree
Hide file tree
Showing 3 changed files with 207 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.rcsb</groupId>
<artifactId>ciftools-java</artifactId>
<version>5.0.3-SNAPSHOT</version>
<version>6.0.0</version>
<packaging>jar</packaging>
<description>
A Java library for handling text and binary CIF files.
Expand Down Expand Up @@ -35,7 +35,7 @@
<connection>scm:git:git://github.com/rcsb/ciftools-java.git</connection>
<developerConnection>scm:git:git@github.com:rcsb/ciftools-java.git</developerConnection>
<url>https://github.com/rcsb/ciftools-java</url>
<tag>HEAD</tag>
<tag>ciftools-java-6.0.0</tag>
</scm>

<dependencies>
Expand Down
178 changes: 178 additions & 0 deletions pom.xml.releaseBackup
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.rcsb</groupId>
<artifactId>ciftools-java</artifactId>
<version>5.0.3-SNAPSHOT</version>
<packaging>jar</packaging>
<description>
A Java library for handling text and binary CIF files.
</description>
<name>ciftools-java</name>
<url>https://github.com/rcsb/ciftools-java</url>
<organization>
<name>RCSB PDB</name>
<url>https://www.rcsb.org/</url>
</organization>

<licenses>
<license>
<name>MIT License</name>
<url>https://www.opensource.org/licenses/mit-license.php</url>
</license>
</licenses>

<developers>
<developer>
<name>Sebastian Bittrich</name>
<email>sebastian.bittrich@rcsb.org</email>
<organization>RCSB PDB</organization>
<organizationUrl>https://www.rcsb.org</organizationUrl>
</developer>
</developers>

<scm>
<connection>scm:git:git://github.com/rcsb/ciftools-java.git</connection>
<developerConnection>scm:git:git@github.com:rcsb/ciftools-java.git</developerConnection>
<url>https://github.com/rcsb/ciftools-java</url>
<tag>HEAD</tag>
</scm>

<dependencies>
<!-- provides @Generated -->
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>

<!-- optional functionality to read json configs -->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.10.1</version>
<scope>compile</scope>
</dependency>

<!-- test dependencies -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.10.2</version>
<scope>test</scope>
</dependency>

</dependencies>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.targetEncoding>UTF-8</project.build.targetEncoding>
<sonar.organization>rcsb</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
</plugins>
</build>

<!-- https://central.sonatype.org/pages/apache-maven.html -->
<!-- https://github.com/chhh/sonatype-ossrh-parent/blob/master/pom.xml -->
<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>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<!-- handles propagating the build to the staging repository -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>

<!-- signing of content to be published -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<!-- This is necessary for gpg to not try to use the pinentry programs -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>

<!-- create source -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- create javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<configuration>
<source>11</source>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
27 changes: 27 additions & 0 deletions release.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#release configuration
#Tue Mar 19 12:10:16 PDT 2024
completedPhase=generate-release-poms
exec.activateProfiles=nexus,release
exec.pomFileName=pom.xml
exec.snapshotReleasePluginAllowed=false
pinExternals=false
preparationGoals=clean verify
project.dev.org.rcsb\:ciftools-java=6.0.1-SNAPSHOT
project.rel.org.rcsb\:ciftools-java=6.0.0
project.scm.org.rcsb\:ciftools-java.connection=scm\:git\:git\://github.com/rcsb/ciftools-java.git
project.scm.org.rcsb\:ciftools-java.developerConnection=scm\:git\:git@github.com\:rcsb/ciftools-java.git
project.scm.org.rcsb\:ciftools-java.tag=HEAD
project.scm.org.rcsb\:ciftools-java.url=https\://github.com/rcsb/ciftools-java
projectVersionPolicyConfig=<projectVersionPolicyConfig>${projectVersionPolicyConfig}</projectVersionPolicyConfig>\n
projectVersionPolicyId=default
pushChanges=true
releaseStrategyId=default
remoteTagging=true
scm.branchCommitComment=@{prefix} prepare branch @{releaseLabel}
scm.commentPrefix=[maven-release-plugin]
scm.developmentCommitComment=@{prefix} prepare for next development iteration
scm.releaseCommitComment=@{prefix} prepare release @{releaseLabel}
scm.rollbackCommitComment=@{prefix} rollback the release of @{releaseLabel}
scm.tag=ciftools-java-6.0.0
scm.tagNameFormat=@{project.artifactId}-@{project.version}
scm.url=scm\:git\:git@github.com\:rcsb/ciftools-java.git

0 comments on commit 5e7abe6

Please sign in to comment.