From b6f0b8b2b1537d88606684066cf1bfe58d2ede0c Mon Sep 17 00:00:00 2001 From: Christian Del Monte <register@cdelmonte.de> Date: Thu, 7 Dec 2023 12:17:49 +0100 Subject: [PATCH] [maven-release-plugin] prepare release bitbucket-push-and-pull-request-3.0.1 --- pom.xml | 4 +- pom.xml.releaseBackup | 255 ++++++++++++++++++++++++++++++++++++++++++ release.properties | 26 +++++ 3 files changed, 283 insertions(+), 2 deletions(-) create mode 100644 pom.xml.releaseBackup create mode 100644 release.properties diff --git a/pom.xml b/pom.xml index 28e9cb5..425e71c 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ <groupId>io.jenkins.plugins</groupId> <artifactId>bitbucket-push-and-pull-request</artifactId> - <version>3.0.1-SNAPSHOT</version> + <version>3.0.1</version> <packaging>hpi</packaging> <properties> @@ -214,7 +214,7 @@ <connection>scm:git:https://github.com/jenkinsci/${project.artifactId}-plugin.git</connection> <developerConnection>scm:git:git@github.com:jenkinsci/${project.artifactId}-plugin.git</developerConnection> <url>https://github.com/jenkinsci/${project.artifactId}-plugin</url> - <tag>bitbucket-push-and-pull-request-2.8.3</tag> + <tag>bitbucket-push-and-pull-request-3.0.1</tag> </scm> <repositories> diff --git a/pom.xml.releaseBackup b/pom.xml.releaseBackup new file mode 100644 index 0000000..28e9cb5 --- /dev/null +++ b/pom.xml.releaseBackup @@ -0,0 +1,255 @@ +<?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> + + <parent> + <groupId>org.jenkins-ci.plugins</groupId> + <artifactId>plugin</artifactId> + <version>4.53</version> + <relativePath /> + </parent> + + <groupId>io.jenkins.plugins</groupId> + <artifactId>bitbucket-push-and-pull-request</artifactId> + <version>3.0.1-SNAPSHOT</version> + <packaging>hpi</packaging> + + <properties> + <jenkins.version>2.361.4</jenkins.version> + <powermock.version>2.0.0</powermock.version> + <hpi.compatibleSinceVersion>2.9.0</hpi.compatibleSinceVersion> +<!-- Readd to enable Java 17 --> +<!-- <maven.compiler.source>17</maven.compiler.source>--> +<!-- <maven.compiler.target>17</maven.compiler.target>--> +<!-- <maven.compiler.release>17</maven.compiler.release>--> +<!-- <maven.compiler.testRelease>17</maven.compiler.testRelease>--> + </properties> + + <name>Bitbucket Push and Pull Request Plugin</name> + <description>Bitbucket plugin for Jenkins v2.138.2 or later, allowing push and pull requests</description> + + <licenses> + <license> + <name>MIT License</name> + <url>https://opensource.org/licenses/MIT</url> + </license> + </licenses> + + <developers> + <developer> + <id>cdelmonte</id> + <name>Christian Del Monte</name> + </developer> + </developers> + + <dependencyManagement> + <dependencies> + <dependency> + <groupId>io.jenkins.tools.bom</groupId> + <artifactId>bom-2.361.x</artifactId> + <version>1750.v0071fa_4c4a_e3</version> + <scope>import</scope> + <type>pom</type> + </dependency> + </dependencies> + </dependencyManagement> + + <dependencies> + <dependency> + <groupId>org.jenkins-ci.plugins</groupId> + <artifactId>structs</artifactId> + </dependency> + <dependency> + <groupId>org.jenkins-ci.plugins</groupId> + <artifactId>git</artifactId> + </dependency> + <dependency> + <groupId>org.jenkins-ci.plugins.workflow</groupId> + <artifactId>workflow-multibranch</artifactId> + </dependency> + <dependency> + <groupId>org.jenkins-ci.plugins</groupId> + <artifactId>scm-api</artifactId> + </dependency> + <dependency> + <groupId>org.jenkins-ci.plugins.workflow</groupId> + <artifactId>workflow-api</artifactId> + </dependency> + <dependency> + <groupId>org.jenkins-ci</groupId> + <artifactId>annotation-indexer</artifactId> + </dependency> + <dependency> + <groupId>org.jenkins-ci.plugins</groupId> + <artifactId>plain-credentials</artifactId> + </dependency> + <dependency> + <groupId>org.jenkins-ci.plugins</groupId> + <artifactId>credentials</artifactId> + </dependency> + + <dependency> + <groupId>org.jenkins-ci.plugins</groupId> + <artifactId>matrix-project</artifactId> + </dependency> + + <dependency> + <groupId>org.jenkins-ci.plugins</groupId> + <artifactId>job-dsl</artifactId> + <version>1.81.1</version> + </dependency> + + <dependency> + <groupId>com.google.code.gson</groupId> + <artifactId>gson</artifactId> + <version>2.10.1</version> + </dependency> + <dependency> + <groupId>org.codehaus.groovy</groupId> + <artifactId>groovy-all</artifactId> + <version>2.4.21</version> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + <version>3.12.0</version> + </dependency> + <dependency> + <groupId>com.github.scribejava</groupId> + <artifactId>scribejava-core</artifactId> + <version>8.3.3</version> + </dependency> + + <!-- Added to avoid transitive dependency via scribejava-core--> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + <version>2.14.0</version> + </dependency> + + <!-- Added to avoid transitive dependency via scribejava-core--> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-databind</artifactId> + <version>2.14.0</version> + </dependency> + + <!-- JCasC compatibility --> + <dependency> + <groupId>io.jenkins</groupId> + <artifactId>configuration-as-code</artifactId> + <optional>true</optional> + </dependency> + <dependency> + <groupId>io.jenkins.configuration-as-code</groupId> + <artifactId>test-harness</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.jenkins-ci.main</groupId> + <artifactId>jenkins-test-harness</artifactId> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.jenkins-ci.plugins</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.jenkins-ci.plugins.workflow</groupId> + <artifactId>workflow-basic-steps</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.jenkins-ci.plugins.workflow</groupId> + <artifactId>workflow-cps</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.jenkins-ci.plugins.workflow</groupId> + <artifactId>workflow-durable-task-step</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.jenkins-ci.plugins.workflow</groupId> + <artifactId>workflow-job</artifactId> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.jenkins-ci.plugins</groupId> + <artifactId>pipeline-stage-step</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.jenkins-ci.plugins.workflow</groupId> + <artifactId>workflow-scm-step</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.jenkins-ci.plugins</groupId> + <artifactId>pipeline-input-step</artifactId> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-junit-jupiter</artifactId> + <version>5.5.0</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-inline</artifactId> + <version>5.2.0</version> + <scope>test</scope> + </dependency> + + </dependencies> + + <url>https://github.com/jenkinsci/bitbucket-push-and-pull-request-plugin</url> + + <scm> + <connection>scm:git:https://github.com/jenkinsci/${project.artifactId}-plugin.git</connection> + <developerConnection>scm:git:git@github.com:jenkinsci/${project.artifactId}-plugin.git</developerConnection> + <url>https://github.com/jenkinsci/${project.artifactId}-plugin</url> + <tag>bitbucket-push-and-pull-request-2.8.3</tag> + </scm> + + <repositories> + <repository> + <id>repo.jenkins-ci.org</id> + <url>https://repo.jenkins-ci.org/public/</url> + </repository> + </repositories> + <pluginRepositories> + <pluginRepository> + <id>repo.jenkins-ci.org</id> + <url>https://repo.jenkins-ci.org/public/</url> + </pluginRepository> + </pluginRepositories> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + </plugin> + + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.22.2</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>17</source> + <target>17</target> + </configuration> + </plugin> + </plugins> + </build> + +</project> \ No newline at end of file diff --git a/release.properties b/release.properties new file mode 100644 index 0000000..0f64eeb --- /dev/null +++ b/release.properties @@ -0,0 +1,26 @@ +#release configuration +#Thu Dec 07 12:16:16 CET 2023 +projectVersionPolicyId=default +project.scm.io.jenkins.plugins\:bitbucket-push-and-pull-request.connection=scm\:git\:https\://github.com/jenkinsci/${project.artifactId}-plugin.git +scm.branchCommitComment=@{prefix} prepare branch @{releaseLabel} +project.scm.io.jenkins.plugins\:bitbucket-push-and-pull-request.developerConnection=scm\:git\:git@github.com\:jenkinsci/${project.artifactId}-plugin.git +pinExternals=false +project.scm.io.jenkins.plugins\:bitbucket-push-and-pull-request.tag=bitbucket-push-and-pull-request-2.8.3 +pushChanges=true +scm.rollbackCommitComment=@{prefix} rollback the release of @{releaseLabel} +remoteTagging=true +releaseStrategyId=default +scm.commentPrefix=[maven-release-plugin] +completedPhase=generate-release-poms +scm.url=scm\:git\:git@github.com\:jenkinsci/bitbucket-push-and-pull-request-plugin.git +scm.developmentCommitComment=@{prefix} prepare for next development iteration +scm.tagNameFormat=@{project.artifactId}-@{project.version} +exec.additionalArguments= +project.rel.io.jenkins.plugins\:bitbucket-push-and-pull-request=3.0.1 +project.scm.io.jenkins.plugins\:bitbucket-push-and-pull-request.url=https\://github.com/jenkinsci/${project.artifactId}-plugin +scm.tag=bitbucket-push-and-pull-request-3.0.1 +exec.snapshotReleasePluginAllowed=false +preparationGoals=clean install +scm.releaseCommitComment=@{prefix} prepare release @{releaseLabel} +exec.pomFileName=pom.xml +project.dev.io.jenkins.plugins\:bitbucket-push-and-pull-request=3.0.2-SNAPSHOT