Return-Path: Delivered-To: apmail-maven-dev-archive@www.apache.org Received: (qmail 51076 invoked from network); 14 Apr 2009 21:43:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Apr 2009 21:43:09 -0000 Received: (qmail 46274 invoked by uid 500); 14 Apr 2009 21:43:08 -0000 Delivered-To: apmail-maven-dev-archive@maven.apache.org Received: (qmail 46186 invoked by uid 500); 14 Apr 2009 21:43:08 -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 46176 invoked by uid 99); 14 Apr 2009 21:43:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Apr 2009 21:43:08 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aheritier@gmail.com designates 209.85.128.188 as permitted sender) Received: from [209.85.128.188] (HELO fk-out-0910.google.com) (209.85.128.188) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Apr 2009 21:43:01 +0000 Received: by fk-out-0910.google.com with SMTP id z22so1137199fkz.12 for ; Tue, 14 Apr 2009 14:42:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=TSJhPKVQCJodYJOIsCSe6FPwi141dVEHVvMknoRaUds=; b=UbmF3AnALj1NT7ou+4X3MZz5OqHPjOg2Fjw8TursUmpvbC+XJFhZDLq2vm9Gt+0C/l bZdxWhCR1aSsF10L5Vy+fTZ6AguD+RFGyRhopm+9bSs3ZKSFHhz7sCDVqg1CfbU3AmsW ki02g4sTudajuyrUQ7Z+FgYF0nopAdOCCPdyY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=aV454ZPVk2ggRAGKRpjImJNh0HO30U8tUPJsQAX/AhH01kEDFuWvSclElDKdmtEJA3 3u5jHO9lqCr3nkE+0/f4TaC4j9+beIzkHXicvdBwmjvLfbVkvZLVyMigMNVa2wQuitSG RtZV6547Wfh4ktmzXuxVI9N93ocfqI4BojGng= MIME-Version: 1.0 Received: by 10.103.220.18 with SMTP id x18mr4279430muq.38.1239745359330; Tue, 14 Apr 2009 14:42:39 -0700 (PDT) In-Reply-To: <49E50129.2000207@infinity.nu> References: <7fdaf8540904141431qe925a4ew65ef2c1292e97fb0@mail.gmail.com> <49E50129.2000207@infinity.nu> Date: Tue, 14 Apr 2009 23:42:39 +0200 Message-ID: <262c6c680904141442tc63ca60rdaaf023fbba558af@mail.gmail.com> Subject: Re: Releasing Maven Archetype Plugin From: Arnaud HERITIER To: Maven Developers List Content-Type: multipart/alternative; boundary=0016e6de005ec13e1304678ab5e1 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6de005ec13e1304678ab5e1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Or you have to use SVN 1.5.0 or 1.6.0 bianires. No 1.5.x. Arnaud On Tue, Apr 14, 2009 at 11:33 PM, Brian Fox wrote: > Rapha=EBl Pi=E9roni wrote: > >> Hi folks, >> >> I try to prepare the release of the next version of the archetype plugin= , >> but i fail. >> The release plugin tell me it can't create the tag. >> >> I run mvn release:prepare -DdryRun=3Dtrue without any problem, >> but when i remove the dryRun, i got this exception : >> >> [INFO] Checking in modified POMs... >> [INFO] Executing: /bin/sh -c cd /Users/raphaelpieroni/Projects/archetype >> && >> svn --non-interactive commit --file /tmp/maven-scm-1824375305.commit >> --targets /tmp/maven-scm-15040-targets >> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype >> [INFO] Tagging release with the label maven-archetype-2.0-alpha-5... >> [INFO] Executing: /bin/sh -c cd /Users/raphaelpieroni/Projects/archetype >> && >> svn --non-interactive copy --file /tmp/maven-scm-1324398184.commit . >> >> https://svn.apache.org/repos/asf/maven/archetype/tags/maven-archetype-2.= 0-alpha-5 >> [INFO] Working directory: /Users/raphaelpieroni/Projects/archetype >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Unable to tag SCM >> Provider message: >> The svn tag command failed. >> Command output: >> svn: The specified baseline is not the latest baseline, so it may not be >> checked out. >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Trace >> org.apache.maven.BuildFailureException: Unable to tag SCM >> Provider message: >> The svn tag command failed. >> Command output: >> svn: The specified baseline is not the latest baseline, so it may not be >> checked out. >> >> at >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default= LifecycleExecutor.java:580) >> at >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa= l(DefaultLifecycleExecutor.java:513) >> at >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL= ifecycleExecutor.java:483) >> at >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle= Failures(DefaultLifecycleExecutor.java:331) >> at >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(= DefaultLifecycleExecutor.java:228) >> at >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec= ycleExecutor.java:142) >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:301) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav= a:39) >> at >> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor= Impl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315= ) >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> at >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> Caused by: org.apache.maven.plugin.MojoFailureException: Unable to tag S= CM >> Provider message: >> The svn tag command failed. >> Command output: >> svn: The specified baseline is not the latest baseline, so it may not be >> checked out. >> >> at >> >> org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareRelea= seMojo.java:169) >> at >> >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa= nager.java:453) >> at >> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default= LifecycleExecutor.java:559) >> ... 16 more >> >> >> What have i done wrong ? >> >> Rapha=EBl >> >> >> > This looks like the classic svn 1.5+ "bug". Are you using the latest > release plugin? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org > For additional commands, e-mail: dev-help@maven.apache.org > > --=20 Arnaud --0016e6de005ec13e1304678ab5e1--