You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2006/08/05 23:07:07 UTC
svn commit: r429052 - in /maven/plugins/trunk/maven-changelog-plugin/src:
main/java/org/apache/maven/changelog/ site/apt/ site/apt/examples/
Author: dennisl
Date: Sat Aug 5 14:07:06 2006
New Revision: 429052
URL: http://svn.apache.org/viewvc?rev=429052&view=rev
Log:
o Fix wrong groupId and artifactId on the usage page.
o Add more context to the pom.xml examples.
o Fix a couple of typos.
Modified:
maven/plugins/trunk/maven-changelog-plugin/src/main/java/org/apache/maven/changelog/ChangeLogReport.java
maven/plugins/trunk/maven-changelog-plugin/src/site/apt/examples/configuration-date-type.apt
maven/plugins/trunk/maven-changelog-plugin/src/site/apt/examples/configuration-range-type.apt
maven/plugins/trunk/maven-changelog-plugin/src/site/apt/examples/configuration-tag-type.apt
maven/plugins/trunk/maven-changelog-plugin/src/site/apt/usage.apt
Modified: maven/plugins/trunk/maven-changelog-plugin/src/main/java/org/apache/maven/changelog/ChangeLogReport.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changelog-plugin/src/main/java/org/apache/maven/changelog/ChangeLogReport.java?rev=429052&r1=429051&r2=429052&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changelog-plugin/src/main/java/org/apache/maven/changelog/ChangeLogReport.java (original)
+++ maven/plugins/trunk/maven-changelog-plugin/src/main/java/org/apache/maven/changelog/ChangeLogReport.java Sat Aug 5 14:07:06 2006
@@ -69,7 +69,7 @@
extends AbstractMavenReport
{
/**
- * Used to specify whether to build the log from a range, absolute date.
+ * Used to specify whether to build the log using range, tag or date.
*
* @parameter expression="${changelog.type}" default-value="range"
* @required
@@ -236,7 +236,7 @@
/**
* Allows the user to choose which scm connection to use when connecting to the scm.
- * Can either be "connection" or "developerConnection"
+ * Can either be "connection" or "developerConnection".
*
* @parameter default-value="connection"
* @required
Modified: maven/plugins/trunk/maven-changelog-plugin/src/site/apt/examples/configuration-date-type.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changelog-plugin/src/site/apt/examples/configuration-date-type.apt?rev=429052&r1=429051&r2=429052&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changelog-plugin/src/site/apt/examples/configuration-date-type.apt (original)
+++ maven/plugins/trunk/maven-changelog-plugin/src/site/apt/examples/configuration-date-type.apt Sat Aug 5 14:07:06 2006
@@ -24,24 +24,28 @@
Using Date Type
- To generate tha changelog reports using the <<<type>>> "date" as the basis for generation, set the configuration in the
+ To generate the changelog reports using the <<<type>>> "date" as the basis for generation, set the configuration in the
project pom as follows:
+-----+
<project>
...
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-changelog-plugin</artifactId>
- <configuration>
- <type>date</type>
- <dates>
- <date implementation="java.lang.String">2005-08-01</date>
- <date implementation="java.lang.String">2005-09-01</date>
- </dates>
- <dateFormat>yyyy-MM-dd</dateFormat>
- </configuration>
- </plugin>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changelog-plugin</artifactId>
+ <configuration>
+ <type>date</type>
+ <dates>
+ <date implementation="java.lang.String">2005-08-01</date>
+ <date implementation="java.lang.String">2005-09-01</date>
+ </dates>
+ <dateFormat>yyyy-MM-dd</dateFormat>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
...
</project>
+-----+
Modified: maven/plugins/trunk/maven-changelog-plugin/src/site/apt/examples/configuration-range-type.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changelog-plugin/src/site/apt/examples/configuration-range-type.apt?rev=429052&r1=429051&r2=429052&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changelog-plugin/src/site/apt/examples/configuration-range-type.apt (original)
+++ maven/plugins/trunk/maven-changelog-plugin/src/site/apt/examples/configuration-range-type.apt Sat Aug 5 14:07:06 2006
@@ -24,29 +24,33 @@
Using Range Type
- To generate tha changelog reports using the <<<type>>> "range" as the basis for generation, set the configuration in the
+ To generate the changelog reports using the <<<type>>> "range" as the basis for generation, set the configuration in the
project pom as follows:
+-----+
<project>
...
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-changelog-plugin</artifactId>
- <reportSets>
- <reportSet>
- <id>dual-report</id>
- <configuration>
- <type>range</type>
- <range>30</range>
- </configuration>
- <reports>
- <report>changelog</report>
- <report>file-activity</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changelog-plugin</artifactId>
+ <reportSets>
+ <reportSet>
+ <id>dual-report</id>
+ <configuration>
+ <type>range</type>
+ <range>30</range>
+ </configuration>
+ <reports>
+ <report>changelog</report>
+ <report>file-activity</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ </plugins>
+ </reporting>
...
</project>
+-----+
Modified: maven/plugins/trunk/maven-changelog-plugin/src/site/apt/examples/configuration-tag-type.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changelog-plugin/src/site/apt/examples/configuration-tag-type.apt?rev=429052&r1=429051&r2=429052&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changelog-plugin/src/site/apt/examples/configuration-tag-type.apt (original)
+++ maven/plugins/trunk/maven-changelog-plugin/src/site/apt/examples/configuration-tag-type.apt Sat Aug 5 14:07:06 2006
@@ -24,31 +24,35 @@
Using Tag Type
- To generate tha changelog reports using the <<<type>>> "tag" as the basis for generation, set the configuration in the
+ To generate the changelog reports using the <<<type>>> "tag" as the basis for generation, set the configuration in the
project pom as follows:
+-----+
<project>
...
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-changelog-plugin</artifactId>
- <reportSets>
- <reportSet>
- <id>dev-only</id>
- <configuration>
- <type>tag</type>
- <tags>
- <tag implementation="java.lang.String">alpha-2</tag>
- <tag implementation="java.lang.String">alpha-3</tag>
- </tags>
- </configuration>
- <reports>
- <report>dev-activity</report>
- </reports>
- </reportSet>
- </reportSets>
- </plugin>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changelog-plugin</artifactId>
+ <reportSets>
+ <reportSet>
+ <id>dev-only</id>
+ <configuration>
+ <type>tag</type>
+ <tags>
+ <tag implementation="java.lang.String">alpha-2</tag>
+ <tag implementation="java.lang.String">alpha-3</tag>
+ </tags>
+ </configuration>
+ <reports>
+ <report>dev-activity</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ </plugins>
+ </reporting>
...
</project>
+-----+
Modified: maven/plugins/trunk/maven-changelog-plugin/src/site/apt/usage.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changelog-plugin/src/site/apt/usage.apt?rev=429052&r1=429051&r2=429052&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changelog-plugin/src/site/apt/usage.apt (original)
+++ maven/plugins/trunk/maven-changelog-plugin/src/site/apt/usage.apt Sat Aug 5 14:07:06 2006
@@ -36,8 +36,8 @@
<reporting>
<plugins>
<plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>changelog-maven-plugin</artifactId>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changelog-plugin</artifactId>
</plugin>
</plugins>
</reporting>