maven-release-plugin

Jenkins maven release job to trigger downstream parameterized job

时光怂恿深爱的人放手 提交于 2021-01-28 14:07:58
问题 I'm using the jenkins maven-release plugin to tag, package and perform a release. This is working fine. The plugin asks for: the version of the release (parameter releaseVersion of the release plugin); the version of development, after the release (parameter developmentVersion of the release plugin); Now, I want to have a second step after packaging this release. I want to import the specific version packaged (say 0.0.5) to our deployment tool. I did this by configuring a second Jenkins jobs.

Maven versioning and release GIT repository

柔情痞子 提交于 2020-05-16 03:23:06
问题 I have a multiple maven projects in a single GIT repository .I wanted to perform individual release for the maven projects,push the release version to nexus, skip the tagging and increment the snapshot and commit. Maven release goal used release:clean release:prepare release:perform Maven Release plugin : <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>${maven.releaseplugin.version}</version> <configuration> <tagNameFormat>v@{project

maven-release-plugin deploys snapshot to archiva

我的未来我决定 提交于 2020-02-22 07:16:51
问题 How can I force mvn release:perform to deploy to my release and not tom my snapshot repository? release:perform always deploys SNAPSHOT versions. Which makes no sense IMHO I have in my pom.xml <groupId>com.mydomain</groupId> <artifactId>MyArtifactName</artifactId> <version>1.0.6-SNAPSHOT</version> <packaging>jar</packaging> <name>MyArtifactName</name> <url>http://maven.apache.org</url> <distributionManagement> <repository> <id>central</id> <url>http://repo.example.com/artifactory/libs-release

Maven release:perform without deploy and calling an external shell script

淺唱寂寞╮ 提交于 2020-02-17 06:14:06
问题 I am using the maven release plugin. Problem is simple: I don't want to do a deploy on release:perform. I actually want to execute a shell script that will do the deploy for me. So I have two things to accomplish: Somehow disable the default "deploy" goal from release:perform Somehow make release:perform call the exec:exec plugin to execute a shell script Here is my pom: <plugin> <artifactId>maven-release-plugin</artifactId> <version>2.0</version> <configuration> <tagBase>svn://saoj-la.dyndns

Maven release:perform without deploy and calling an external shell script

亡梦爱人 提交于 2020-02-17 06:13:09
问题 I am using the maven release plugin. Problem is simple: I don't want to do a deploy on release:perform. I actually want to execute a shell script that will do the deploy for me. So I have two things to accomplish: Somehow disable the default "deploy" goal from release:perform Somehow make release:perform call the exec:exec plugin to execute a shell script Here is my pom: <plugin> <artifactId>maven-release-plugin</artifactId> <version>2.0</version> <configuration> <tagBase>svn://saoj-la.dyndns

Maven release:perform without deploy and calling an external shell script

我怕爱的太早我们不能终老 提交于 2020-02-17 06:13:00
问题 I am using the maven release plugin. Problem is simple: I don't want to do a deploy on release:perform. I actually want to execute a shell script that will do the deploy for me. So I have two things to accomplish: Somehow disable the default "deploy" goal from release:perform Somehow make release:perform call the exec:exec plugin to execute a shell script Here is my pom: <plugin> <artifactId>maven-release-plugin</artifactId> <version>2.0</version> <configuration> <tagBase>svn://saoj-la.dyndns

Jenkins pipeline, bitbucket hook and maven release plugin infinite loop

纵然是瞬间 提交于 2020-02-02 10:46:11
问题 I haven't been able to find any info about this, so i hope you guys can help me on this one I've a maven project hosted in bitbucket that has a BitBucket WebHook pointing to someurl/bitbucket-hook/ , this hooks triggers the build of my project that is defined by a pipeline that has this structure: node { stage 'Checkout' git url: 'https:...' def mvnHome = tool 'M3' #Various stages here ... stage 'Release' sh "${mvnHome}/bin/mvn -B clean install release:prepare release:perform release:clean" }

Jenkins pipeline, bitbucket hook and maven release plugin infinite loop

孤街浪徒 提交于 2020-02-02 10:45:28
问题 I haven't been able to find any info about this, so i hope you guys can help me on this one I've a maven project hosted in bitbucket that has a BitBucket WebHook pointing to someurl/bitbucket-hook/ , this hooks triggers the build of my project that is defined by a pipeline that has this structure: node { stage 'Checkout' git url: 'https:...' def mvnHome = tool 'M3' #Various stages here ... stage 'Release' sh "${mvnHome}/bin/mvn -B clean install release:prepare release:perform release:clean" }

Maven Release Plugin - prepare creates tag of Snapshot version instead of release version

元气小坏坏 提交于 2020-01-31 07:10:14
问题 I have following project structure: framework framework-parent-pom framework-something ... In the pom.xml of framework-parent-pom I have defined following plugin: <plugin> <artifactId>maven-release-plugin</artifactId> <version>2.3.2</version> <configuration> <branchBase>http://.../svn/REPO/branches/framework</branchBase> <tagBase>http://.../svn/REPO/tags/releases/framework</tagBase> <tagNameFormat>release-@{project.version}</tagNameFormat> <releaseProfiles>release</releaseProfiles> <