• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

gastaldi/jira-maven-plugin: Set of maven plugins for JIRA integration

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

gastaldi/jira-maven-plugin

开源软件地址(OpenSource Url):

https://github.com/gastaldi/jira-maven-plugin

开源编程语言(OpenSource Language):

Java 100.0%

开源软件介绍(OpenSource Introduction):

Maven JIRA Plugin

No Maintenance Intended

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>



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap