Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CACC710444 for ; Wed, 16 Oct 2013 06:27:34 +0000 (UTC) Received: (qmail 11663 invoked by uid 500); 16 Oct 2013 06:27:25 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 11596 invoked by uid 500); 16 Oct 2013 06:27:13 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 11579 invoked by uid 99); 16 Oct 2013 06:27:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Oct 2013 06:27:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ianboston@gmail.com designates 209.85.220.44 as permitted sender) Received: from [209.85.220.44] (HELO mail-pa0-f44.google.com) (209.85.220.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Oct 2013 06:27:05 +0000 Received: by mail-pa0-f44.google.com with SMTP id lf10so596448pab.3 for ; Tue, 15 Oct 2013 23:26:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=Hc6muhZlWTcscBBlIJ94Oe6be9i5Ai5R0kybiQj2agY=; b=uoV6gEMBoNsNQCEq6aKPXfSbrg9pKrcS3ZRxO+kKzlZ2I2K+Zq45VJujsfPMjoiPw4 NKqbSwh25gg5Rk0bIAnhpg1SoxycEHTXfX8JWBOvjGh3knCaHsLXTSVZOH22nen7Lhfu W4QIs2sdidicDTuT7Oc+QDTPiLK/UD1Kek3GjyEHyQOH0DZBuV7sE/f4ufVWw4sr1MA4 HVXGEewhtLDW/s4gVzck15Htc2j2khywQPk1mDCVzdFLcNx7XO0l/rQHOFT0qiqjauHv jd4LHY5FLCeg5uSFamyiL2dlo7qRRlTSSXJmlBugXrr+ffeWUpkimWkyNUiZF2cUgak7 3STQ== MIME-Version: 1.0 X-Received: by 10.66.141.144 with SMTP id ro16mr1105366pab.173.1381904804965; Tue, 15 Oct 2013 23:26:44 -0700 (PDT) Sender: ianboston@gmail.com Received: by 10.69.14.225 with HTTP; Tue, 15 Oct 2013 23:26:44 -0700 (PDT) In-Reply-To: References: Date: Wed, 16 Oct 2013 07:26:44 +0100 X-Google-Sender-Auth: PQoo9M0STglJL0xtpFmeJ-N4fdc Message-ID: Subject: Re: Tooling to help with releases from within a source tree. From: Ian Boston To: Maven Users List Content-Type: multipart/alternative; boundary=001a1133316c0375d904e8d5c904 X-Virus-Checked: Checked by ClamAV on apache.org --001a1133316c0375d904e8d5c904 Content-Type: text/plain; charset=ISO-8859-1 Hi, Thank you for sharing. I like some of the things you do in the script, like squashing the commits. Since no one responded I ALS wrote some tooling that takes the output of dependency:tree from multiple projects, merges it, and given a target artefact writes a bash script for all SNAPSHOT dependencies using mvn. To release, the script is run. I will ask if it can be shared, at the moment I can't share the code, it's closed source. Perhaps the description will help someone. Ian On Tuesday, October 15, 2013, Curtis Rueden wrote: > Hi Ian, > > Sorry for the delay in reply. > > > I have a source tree releasing multiple artifacts, all on different > > release cycles, semantically versioned and depending on one another in > > a tree. > > My group has a very similar situation -- multiple different source trees, > actually. I don't know of any tooling to do what you ask. But we built some > simple tooling to assist us in making rapid releases. > > A shell script which uses the maven-release-plugin but with some features > specific to our projects: > > https://github.com/scijava/scijava-common/blob/master/bin/release-version.sh > > Instructions on using it: > https://github.com/imagej/imagej/blob/master/RELEASES.md > > We are firm believers in "release early, release often" (or as Jeff Atwood > of StackOverflow fame puts it: "Go that way, really fast" [1]). So it is > vital that the release process be as simple as possible, so we can do > chained releases "up the tree" as needed very quickly. > > I suppose the bigger your project tree gets, the more your hypothetical > "release everything that needs to be released" tooling could become a > life-saver. But it's also a very high-level operation with really big > potential ramifications if misused, then, too. > > Regards, > Curtis > > [1] http://www.codinghorror.com/blog/2010/09/go-that-way-really-fast.html > > > On Tue, Sep 10, 2013 at 11:14 AM, Ian Boston > > wrote: > > > Hi, > > I am wondering if there is tooling available in maven to assist with > > this the following scenario. > > > > I have a source tree releasing multiple artifacts, all on different > > release cycles, semantically versioned and depending on one another in > > a tree. > > > > After one item is released all references to it are set to the release > > version, and its version is set to the next SNAPSHOT. Only when a > > change is made are upstream poms updated to the SNAPSHOT version. > > > > Is there an existing plugin that will tell what needs to be released > > and what doesn't based on the multiproject dependency tree ? > > > > Better still, is there something I can just ask > > > > " release everything that needs to be released to allow artifact X to > > be released " > > > > of > > > > That would be excellent. > > > > Best Regards > > Ian > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > > For additional commands, e-mail: users-help@maven.apache.org > > > > > --001a1133316c0375d904e8d5c904--