commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: svn commit: r1296359 - in /commons/proper/math/trunk: RELEASE-NOTES.txt pom.xml src/changes/ src/changes/changes.xml src/site/xdoc/changes.xml
Date Fri, 02 Mar 2012 20:44:51 GMT
On 2 March 2012 20:29, Gilles Sadowski <gilles@harfang.homelinux.org> wrote:
> On Fri, Mar 02, 2012 at 06:23:10PM -0000, sebb@apache.org wrote:
>> Author: sebb
>> Date: Fri Mar  2 18:23:09 2012
>> New Revision: 1296359
>>
>> URL: http://svn.apache.org/viewvc?rev=1296359&view=rev
>> Log:
>> Fix up release notes to use locations and names expected by parent pom
>>
>> Added:
>>     commons/proper/math/trunk/src/changes/
>>     commons/proper/math/trunk/src/changes/changes.xml
>>       - copied unchanged from r1296315, commons/proper/math/trunk/src/site/xdoc/changes.xml
>
> I had copied the "changes.xml" to that place too, as a workaround to the
> seemingly broken "changes" plugin: The doc says the "xmlPath" option
> specifies which file to use, but it does not work!
>
>> [...]
>>
>>
>> Modified: commons/proper/math/trunk/pom.xml
>> URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/pom.xml?rev=1296359&r1=1296358&r2=1296359&view=diff
>> ==============================================================================
>> --- commons/proper/math/trunk/pom.xml (original)
>> +++ commons/proper/math/trunk/pom.xml Fri Mar  2 18:23:09 2012
>> @@ -356,28 +356,6 @@
>>        </plugin>
>>        <plugin>
>>          <groupId>org.apache.maven.plugins</groupId>
>> -        <artifactId>maven-changes-plugin</artifactId>
>> -        <version>2.4</version>
>> -        <configuration>
>> -          <xmlPath>${basedir}/src/site/xdoc/changes.xml</xmlPath>
>> -          <issueLinkTemplatePerSystem>
>> -            <default>%URL%/%ISSUE%</default>
>> -          </issueLinkTemplatePerSystem>
>> -          <template>math-release-notes.vm</template>
>> -          <templateDirectory>templates</templateDirectory>
>> -          <!-- Give the output file its proper name -->
>> -          <announcementFile>../../RELEASE-NOTES.txt</announcementFile>
>> -        </configuration>
>> -        <reportSets>
>> -          <reportSet>
>> -            <reports>
>> -              <report>changes-report</report>
>> -            </reports>
>> -          </reportSet>
>> -        </reportSets>
>> -      </plugin>
>
> Wow, no wonder that whatever I was changing there, it didn't have any impact
> on the result of running the command...

The above section is no longer necessary, as the parent pom takes care
of it in the "release-notes" profile.

AIUI M3 behaves rather differently for reports, which is maybe why
there was a problem.

Does the following work OK for you now?

mvn changes:announcement-generate -Rrelease-notes [-Dchanges.version=m.n]

>
>
> Gilles
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message