GithubHelp home page GithubHelp logo

mcurkovic2 / jira-maven-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gastaldi/jira-maven-plugin

0.0 2.0 0.0 386 KB

Set of maven plugins for JIRA integration

License: Apache License 2.0

Java 100.00%

jira-maven-plugin's Introduction

Maven JIRA Plugin

The initial code and older versions were originally placed in http://code.google.com/p/jira-maven-plugins/.

This Maven plugin allows performing of JIRA common actions, like releasing a version, create a new version and generate the release notes:

NOTE: This plugin is not installed in any Maven repository, so you must build and install locally before using it.

To build the plugin:

mvn clean install

Before you start using this plugin, you must have two configurations already set on your pom.xml:

issueManagement tag

    <issueManagement>
       <system>JIRA</system>
       <url>http://www.myjira.com/jira/browse/PROJECTKEY</url>
    </issueManagement>

Note: This is extremely important, as will use this information to connect on JIRA.

entry in settings.xml with the authentication information

Put the following in the settings.xml file:

<servers>
    <server>
        <id>jira</id>
        <username>your_user</username>
        <password>your_password</password>
    </server>
</servers>

Also, make sure your JIRA has SOAP access enabled.

release-jira-version goal

Add the following profile to be executed when released:

<profile>
    <id>release</id>
    <activation>
	    <property>
		    <name>performRelease</name>
		    <value>true</value>
	    </property>
    </activation>
    <build>
	    <plugins>
		    <plugin>
			    <groupId>com.george.app</groupId>
			    <artifactId>jira-maven-plugin</artifactId>
			    <version>1.2</version>
			    <inherited>false</inherited>
			    <configuration>
				    <!- <server> entry in settings.xml -->
				    <settingsKey>jira</settingsKey>
			    </configuration>
			    <executions>
				    <execution>
					    <phase>deploy</phase>
					    <goals>
						    <goal>release-jira-version</goal>
					    </goals>
				    </execution>
			    </executions>
		    </plugin>
	    </plugins>
    </build>
</profile>

create-new-version

Creates a new JIRA version of this project (without the -SNAPSHOT suffix)

Place it on your pom.xml:

<plugin>
    <groupId>com.george.app</groupId>
    <artifactId>jira-maven-plugin</artifactId>
    <version>1.2</version>
    <inherited>false</inherited>
    <configuration>
	    <!- <server> entry in settings.xml -->
	    <settingsKey>jira</settingsKey>
    </configuration>
    <executions>
	    <execution>
		    <phase>deploy</phase>
		    <goals>
			    <goal>create-new-jira-version</goal>
		    </goals>
	    </execution>
    </executions>
</plugin>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.