Return-Path: X-Original-To: apmail-maven-dev-archive@www.apache.org Delivered-To: apmail-maven-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8F538786C for ; Mon, 21 Nov 2011 20:33:39 +0000 (UTC) Received: (qmail 32334 invoked by uid 500); 21 Nov 2011 20:33:39 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 32263 invoked by uid 500); 21 Nov 2011 20:33:38 -0000 Mailing-List: contact dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Developers List" Reply-To: "Maven Developers List" Delivered-To: mailing list dev@maven.apache.org Received: (qmail 32255 invoked by uid 99); 21 Nov 2011 20:33:38 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2011 20:33:38 +0000 Received: from localhost (HELO mail-iy0-f171.google.com) (127.0.0.1) (smtp-auth username olamy, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Nov 2011 20:33:38 +0000 Received: by iaby12 with SMTP id y12so10264972iab.30 for ; Mon, 21 Nov 2011 12:33:38 -0800 (PST) Received: by 10.42.156.130 with SMTP id z2mr16008028icw.13.1321907618093; Mon, 21 Nov 2011 12:33:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.158.130 with HTTP; Mon, 21 Nov 2011 12:33:17 -0800 (PST) From: Olivier Lamy Date: Mon, 21 Nov 2011 21:33:17 +0100 Message-ID: Subject: New plugin patch-tracker To: Maven Developers List Content-Type: text/plain; charset=ISO-8859-1 Hello, FYI, I have created a new plugin called maven-patch-tracker-plugin in sandbox. Basically, this plugin will generate a diff using the scm provider configured in your pom (note if the pom says svn but you use git svn, you can use -Dscm.providerType=git). Then will create an issue in your configured issue tracker (currently only jira is supported) and attach the patch. A typical cli is: mvn patch-tracker:create -e -X -Dpatch.summary="foo summary" -Dpatch.serverUrl=http://localhost:8080/browse/MNG -B -Dpatch.user=uid -Dpatch.password=pwd Note you can add an entry in your settings and use it for authz with -Dpatch.serverId=serverIdFromYourSettings (and you can remove -Dpatch.user -Dpatch.pasword from your cli). The server url can come from the pom. (issueManagement/url). Urls with component id are supported too: https://jira.codehaus.org/browse/MSHARED/component/15255 (and issue is created in MSHARED and attach to the component with 15255) Note: there is a prompter use to setup values, BTW you can use -B and nothing will be asked if your configuration is correct. An other goal is to update an issue with an other patch: mvn patch-tracker:update -e -Dscm.providerType=git -Dpatch.description="update of the issue with an other patch" -Dpatch.patchId=MNG-5203 -B The result is something like: https://jira.codehaus.org/browse/MNG-5203 Let me know if you see any other features (I think I will add support of loading patch in review board). Have fun! -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org For additional commands, e-mail: dev-help@maven.apache.org