You should use changes plugin it is newer version of that codehaus plugin:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<configuration>
<xmlPath>${basedir}/src/site/changes.xml</xmlPath>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>changes-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
[EMAIL PROTECTED] wrote:
Hi
I use
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>changes-maven-plugin</artifactId>
<version>2.0-beta-1</version>
<reportSets>
<reportSet>
<reports>
<report>changes-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
works fine!
-----Ursprüngliche Nachricht-----
Von: Naess, Ronny [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 25. Oktober 2006 10:16
An: Maven Users List
Betreff: Re: maven-changes-plugin help please
Does maven-changes-plugin work well with M2 and what version should I
choose? I tried it a while ago without success.
By the way, we use Subversion.
-Ronny
-----Opprinnelig melding-----
Fra: Dennis Lundberg [mailto:[EMAIL PROTECTED]
Sendt: 24. oktober 2006 23:15
Til: Maven Users List; [EMAIL PROTECTED]
Emne: Re: maven-changes-plugin help please
The Apache-version of the plugin is a reporting-plugin. This means that
it will generate its output during site generation. It also means that
configuration should be in the <reporting> section of your pom. Please
see:
http://maven.apache.org/plugins/maven-changes-plugin/usage.html
--
Dennis Lundberg
Pete wrote:
Help, I'm trying to switch from the old codehaus maven-changes-plugin
to the new org.apache.maven.plugins version.
Previously I had my pom configured to use the old plugin during the
compile phase, so that a changes-report.html could be nested inside
the web app's pages.
Now with the new plugin it doesn't seem to generate a report at all,
is there something about the new plugin which means it will only
generate during the 'site' goal ?
I've tried with and without a phase, and -X doesn't show any
configuration for the plugin happening at all :-
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.0-beta-2-SNAPSHOT</version>
<executions>
<execution>
<id>produce changes html page</id>
<!-- <phase>compile</phase> -->
<inherited>false</inherited>
<configuration>
<xmlPath>${project.build.outputDirectory}/changes/changes.xml</xmlPath>
<reportSets>
<reportSet>
<reports>
<report>changes-report</report>
</reports>
</reportSet>
</reportSets>
</configuration>
<goals>
<goal>changes-report</goal>
</goals>
</execution>
</executions>
</plugin>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
!DSPAM:453e87fd64881357017964!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer Hand. Informieren Sie sich über unsere Produkte unter
www.kabeldeutschland.de
Diese E-Mail und etwaige Anhänge enthalten vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind, benachrichtigen Sie bitte den Absender und vernichten Sie anschließend diese Mail und die Anlagen.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]