Return-Path: Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: (qmail 94811 invoked from network); 26 Aug 2009 09:11:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Aug 2009 09:11:11 -0000 Received: (qmail 42382 invoked by uid 500); 26 Aug 2009 09:11:11 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 42323 invoked by uid 500); 26 Aug 2009 09:11:11 -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 42313 invoked by uid 99); 26 Aug 2009 09:11:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Aug 2009 09:11:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Aug 2009 09:11:02 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 0DD54458023 for ; Wed, 26 Aug 2009 04:10:42 -0500 (CDT) Message-ID: <22456047.51411251277842046.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Wed, 26 Aug 2009 04:10:42 -0500 (CDT) From: "Christophe Lallement (JIRA)" To: issues@maven.apache.org Subject: [jira] Created: (MCHANGES-173) Failed to generate report when version is not the last schedule. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org Failed to generate report when version is not the last schedule. ---------------------------------------------------------------- Key: MCHANGES-173 URL: http://jira.codehaus.org/browse/MCHANGES-173 Project: Maven 2.x Changes Plugin Issue Type: Bug Components: announcement, jira-report Affects Versions: 2.1 Reporter: Christophe Lallement Priority: Critical We try to release a snapshot version (1.2.3-SNAPSHOT) but this version is n= ot define as last release into JIRA version. into JIRA we have define version as this (by schedule order) * 1.3.0 * 1.2.3 * 1.2.2 .... When we try to generate jira report for e version 1.2.3-SNAPSHOT we have th= is error: (i don't if it occurs during jira report or annoucement) PS: if i schedule 1.2.3 in first position into JIRa, it works fine. {code}... [DEBUG] Default ResourceManager initialization complete. [DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Lite= ral [DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Macr= o [DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Pars= e [DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Incl= ude [DEBUG] Loaded System Directive: org.apache.velocity.runtime.directive.Fore= ach [DEBUG] Created '20' parsers. [DEBUG] Velocimacro : initialization starting. [DEBUG] Velocimacro : allowInline =3D true : VMs can be defined inline in t= emplates [DEBUG] Velocimacro : allowInlineToOverride =3D false : VMs defined inline = may NOT replace previous VM definitions [DEBUG] Velocimacro : allowInlineLocal =3D false : VMs defined inline will = be global in scope if allowed. [DEBUG] Velocimacro : autoload off : VM system will not automatically reloa= d global library macros [DEBUG] Velocimacro : Velocimacro : initialization complete. [DEBUG] RuntimeInstance successfully initialized. [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-changes-plugin:2.1= :announcement-generate' --> [DEBUG] (s) artifactId =3D feedapi [DEBUG] (f) basedir =3D C:\HOMEWARE\eclipse-341\workspace\feedapi [DEBUG] (s) developmentTeam =3D vol-domino-feedapi team [DEBUG] (s) finalName =3D feedapi-1.2.3-SNAPSHOT [DEBUG] (f) generateJiraAnnouncement =3D true [DEBUG] (s) groupId =3D ged.domino [DEBUG] (s) introduction =3D FeedAPI is a framework to send feed between = component (In and Out process) with high frequency const aint [DEBUG] (f) jiraMerge =3D false [DEBUG] (f) jiraXML =3D C:\HOMEWARE\eclipse-341\workspace\feedapi\target\= jira-announcement.xml [DEBUG] (f) maxEntries =3D 25 [DEBUG] (s) outputDirectory =3D C:\HOMEWARE\eclipse-341\workspace\feedapi= \target\announcement [DEBUG] (s) packaging =3D jar [DEBUG] (f) project =3D MavenProject: ged.domino:feedapi:1.2.3-SNAPSHOT @= C:\HOMEWARE\eclipse-341\workspace\feedapi\pom.xml [DEBUG] (f) resolutionIds =3D Fixed [DEBUG] (f) settings =3D org.apache.maven.settings.Settings@1eb62b6 [DEBUG] (f) statusIds =3D Closed [DEBUG] (f) template =3D feedapi-announcement.vm [DEBUG] (f) templateDirectory =3D our-announcements [DEBUG] (s) url =3D http://frontools/maven_site/domino-parent/feedapi [DEBUG] (s) version =3D 1.2.3-SNAPSHOT [DEBUG] (s) xmlPath =3D C:\HOMEWARE\eclipse-341\workspace\feedapi\src\cha= nges\changes.xml [DEBUG] -- end configuration -- [INFO] [changes:announcement-generate {execution: announcement-generate}] [DEBUG] JIRA lives at: https://jtbox.fr.world.socgen/jira [DEBUG] The JIRA URL https://jtbox.fr.world.socgen/jira/browse/TRAFEEDAPI d= oesn't include a pid, trying to extract it from JIRA. [DEBUG] Successfully reached JIRA. 26 ao=B9t 2009 10:54:10 org.apache.commons.httpclient.HttpMethodBase getRes= ponseBody ATTENTION: Going to buffer response body of large or unknown size. Using ge= tResponseBodyAsStream instead is recommended. [DEBUG] Found the pid 10236 at https://jtbox.fr.world.socgen/jira/browse/TR= AFEEDAPI [ERROR] maven-changes-plugin: None of the configured sortColumnNames 'null'= are correct. [DEBUG] download jira issues from url https://jtbox.fr.world.socgen/jira/se= cure/IssueNavigator.jspa?view=3Drss&pid=3D10236&statusIds=3D &resolutionIds=3D1&tempMax=3D25&reset=3Dtrue&decorator=3Dnone [INFO] Downloading from JIRA at: https://jtbox.fr.world.socgen/jira/secure/= IssueNavigator.jspa?view=3Drss&pid=3D10236&statusIds=3D6&res lutionIds=3D1&tempMax=3D25&reset=3Dtrue&decorator=3Dnone 26 ao=B9t 2009 10:54:10 org.apache.commons.httpclient.HttpMethodBase getRes= ponseBody ATTENTION: Going to buffer response body of large or unknown size. Using ge= tResponseBodyAsStream instead is recommended. [DEBUG] Downloading from JIRA was successful [INFO] Creating announcement file from JIRA releases... [DEBUG] Found 5 releases. [DEBUG] The release: 1.1.0 has 1 actions. [DEBUG] The release: 1.3.0 has 12 actions. [DEBUG] The release: 1.2.1 has 6 actions. [DEBUG] The release: 1.2.2 has 1 actions. [DEBUG] The release: 1.2.0 has 4 actions. [DEBUG] The release: 1.1.0 has 1 actions. [DEBUG] The release: 1.3.0 has 12 actions. [DEBUG] The release: 1.2.1 has 6 actions. [DEBUG] The release: 1.2.2 has 1 actions. [DEBUG] The release: 1.2.0 has 4 actions. [INFO] --------------------------------------------------------------------= ---- [ERROR] BUILD ERROR [INFO] --------------------------------------------------------------------= ---- [INFO] Couldn't find the release '1.2.3' among the supplied releases. [INFO] --------------------------------------------------------------------= ---- [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Couldn't find the r= elease '1.2.3' among the supplied releases. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals= (DefaultLifecycleExecutor.java:703) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalW= ithLifecycle(DefaultLifecycleExecutor.java:540) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(= DefaultLifecycleExecutor.java:519) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalA= ndHandleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskS= egments(DefaultLifecycleExecutor.java:332) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(Defa= ultLifecycleExecutor.java:181) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.j= ava:41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor= Impl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod= AccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:3= 15) 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.MojoExecutionException: Couldn't find th= e release '1.2.3' among the supplied releases. at org.apache.maven.plugin.announcement.AnnouncementMojo.getLatestR= elease(AnnouncementMojo.java:460) at org.apache.maven.plugin.announcement.AnnouncementMojo.doGenerate= (AnnouncementMojo.java:349) at org.apache.maven.plugin.announcement.AnnouncementMojo.doJiraGene= rate(AnnouncementMojo.java:582) at org.apache.maven.plugin.announcement.AnnouncementMojo.execute(An= nouncementMojo.java:335) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(Default= PluginManager.java:483) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals= (DefaultLifecycleExecutor.java:678) ... 17 more [INFO] --------------------------------------------------------------------= ---- [INFO] Total time: 20 seconds [INFO] Finished at: Wed Aug 26 10:54:11 CEST 2009 [INFO] Final Memory: 29M/52M [INFO] --------------------------------------------------------------------= ---- {code} extract of our pom: {code:xml} .... =09=09=09 =09=09=09=09org.apache.maven.plugins =09=09=09=09maven-changes-plugin =09=09=09=092.1 =09=09=09=09 =09=09=09=09=09 =09=09=09=09=09=09announcement-generate =09=09=09=09=09=09deploy =09=09=09=09=09=09 =09=09=09=09=09=09=09announcement-generate =09=09=09=09=09=09=09announcement-mail =09=09=09=09=09=09 =09=09=09=09=09 =09=09=09=09 =09=09=09=09 =09=09=09=09=09 =09=09=09=09=09our-announcements =09=09=09=09=09true =09=09=09=09=09${basedir}/src/changes/changes.xml =09=09=09=09=09smtp-gw =09=09=09=09=0925 =09=09=09=09=09text/html =09=09=09=09=09 =09=09=09=09=09=09foo =09=09=09=09=09=09foo.bar@foobar.com =09=09=09=09=09 =09=09=09=09=09 =09=09=09=09=09Type,Key,Summary,Assignee,Status,Resolution,Fix= Version =09=09=09=09=09false =09=09=09=09=09statusIds%3D6%26statusIds%3D5%26resolutionIds%3D1%26= sorter%2Ffield%3Dissuekey%26sorter%2Forder%3DASC%26sorter%2Ffield%3Dissuety= pe%26sorter%2Forder%3DASC =09=09=09=09=09Fix Version,Type,Key =09=09=09=09=09 =09=09=09=09=09=09 =09=09=09=09=09=09=09 =09=09=09=09=09=09=09=09jira-report =09=09=09=09=09=09=09 =09=09=09=09=09=09 =09=09=09=09=09 =09=09=09=09=09 =09=09=09=09=09=09jonh.smith@bigcompany.com =09=09=09=09=09 =09=09=09=09 =09=09=09 {code} --=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