Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AD95718267 for ; Wed, 3 Jun 2015 15:03:43 +0000 (UTC) Received: (qmail 6855 invoked by uid 500); 3 Jun 2015 15:03:38 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 6808 invoked by uid 500); 3 Jun 2015 15:03:38 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 6795 invoked by uid 99); 3 Jun 2015 15:03:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2015 15:03:38 +0000 Date: Wed, 3 Jun 2015 15:03:38 +0000 (UTC) From: "Eric B (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SCM-775) Add workItem and changeset associate support for scm deliver MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SCM-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14570963#comment-14570963 ] Eric B commented on SCM-775: ---------------------------- Hi Frank, I've been working with Chris on 1.9.5 and is not released yet. It is still in SNAPSHOT mode. You can get the code from github @ https://github.com/apache/maven-scm/tree/master. Thanks Eric > Add workItem and changeset associate support for scm deliver > ------------------------------------------------------------ > > Key: SCM-775 > URL: https://issues.apache.org/jira/browse/SCM-775 > Project: Maven SCM > Issue Type: Improvement > Components: maven-scm-provider-jazz > Affects Versions: 1.9.1 > Reporter: AShit Shah > Assignee: Chris Graham > Fix For: 1.9.5 > > > Maven {{release:prepare}} command is failing with below error while delivering updated pom.xml to the stream due to Preconditions configured in RTC to have comments and associated work item with every delivery. > {noformat} > [ERROR] Name: Deliver > [ERROR] Participant Reports: > [ERROR] Name: Require Work items and Comments > [ERROR] A work item must be associated with the change set.` > [ERROR] At least one of the associated work items must specify that the work is planned for the current iteration. > [ERROR] At least one of the associated work items must be assigned to you. > [ERROR] Problem running 'deliver': > [ERROR] 'Deliver' failed. Preconditions have not been met: A work item must be associated with the change set. > [ERROR] -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:prepare (default-cli) on project junit-ext: Unable to commit files > Provider message: > Error code for Jazz SCM deliver command - 17 > {noformat} > I can not find any optional parameters on http://maven.apache.org/maven-release/maven-release-plugin/prepare-mojo.html for release:prepare command which I can use and pass the RTC workitem number on command line. > Suggestion: > It will be great if you can provide optional parameters like "workItem" which I can use and pass RTC workitem number with release:prepare at command line. > Example: {{mvn -PmyProfile release:prepare -DworkItem=123456}} > So build process should associate change sets created by {{release:prepare}} with work item 123456 and deliver change sets to the stream. > As of now I have to use "{{-DpushChanges=false}}" parameter to block delivery process and I have to manually find the change sets, associate them with work item and deliver them before I run {{release:perform}}. > Thanks. -- This message was sent by Atlassian JIRA (v6.3.4#6332)