Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 38879 invoked from network); 6 Nov 2006 04:49:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2006 04:49:56 -0000 Received: (qmail 45505 invoked by uid 500); 6 Nov 2006 04:50:07 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 45200 invoked by uid 500); 6 Nov 2006 04:50:06 -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 45182 invoked by uid 99); 6 Nov 2006 04:50:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Nov 2006 20:50:05 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [63.246.20.114] (HELO 63-246-20-114.contegix.com) (63.246.20.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Nov 2006 20:49:53 -0800 Received: (qmail 2721 invoked by uid 89); 6 Nov 2006 04:49:32 -0000 Received: from unknown (HELO codehaus01.managed.contegix.com) (127.0.0.1) by smtp.domain.com with SMTP; 6 Nov 2006 04:49:32 -0000 Message-ID: <98800241.1162788572694.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Sun, 5 Nov 2006 22:49:32 -0600 (CST) From: "Brett Porter (JIRA)" To: issues@maven.apache.org Subject: [jira] Updated: (MRELEASE-145) release:prepare requires all modules to be SNAPSHOTS In-Reply-To: <23604071.1154603641609.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/MRELEASE-145?page=3Dall ] Brett Porter updated MRELEASE-145: ---------------------------------- Affects Version/s: 2.0-beta-4 Fix Version/s: (was: 2.0-beta-4) > release:prepare requires all modules to be SNAPSHOTS > ---------------------------------------------------- > > Key: MRELEASE-145 > URL: http://jira.codehaus.org/browse/MRELEASE-145 > Project: Maven 2.x Release Plugin > Issue Type: Improvement > Affects Versions: 2.0-beta-4 > Reporter: J=F6rg Hohwiller > > The biggest need for the maven-release-plugin is in complex projects with= a lot of modules (that may again have modules). If I do not get it wrong, = the current released version forces all modules to be snapshots and release= s them individually. This is completely useless in my situation because in = the end this forces me to release alle modules together for every change th= at is to be released and more or less causes that all modules have the same= version number. When I call mvn replease:prepare on my toplevel project th= is is no snapshot, it fails with this error: > The project : isn't a snapshot (). > I would expect release:prepare to leave non SNAPSHOT modules untouched (a= nd only verify that they do not have SNAPSHOT dependencies, what should nev= er be the case if the version is no snapshot). > All reactor projects that have a "-SNAPHSOT" version should be released a= nd theier project-internal dependencies should also be set to the acording = released version (and later be set to the new SNAPSHOT). > Additionally I want to have the complete project to be tagged as a whole = instead of each module. This could potentially be configureable (especially= which directory is actually tagged, e.g. if the toplevel project is not in= trunk/ but somewhere deeper say trunk/develop because other directories in= trunk are huge but do not need to be checked out by every developer but ne= ed to be tagged). > I personally think that the best flexibility and final freedom would be t= o split off the release:prepare goal into 3 goals: > -create release version(s) > -create tag(s) > -update to snapshot version(s) > These goals could be used individually and one could add some custom step= s or replace one with something else. > For creating the snapshot versions there is also the problem, that you do= not know right away which project will be modified when in the future. The= coolest thing would be if this would happen automatically when the first c= hange is commited to the module. But this is of cause not praticable in rea= lity (maybe if all commits would be done with maven). --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira