You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Bill Yang <by...@parlaygroup.com> on 2006/03/13 16:14:59 UTC

(M2)changelog-maven-plugin ( 2.0-beta-2-SNAPSHOT ) on CVS

Hello,

I have been trying latest version changelog-maven-plugin 2.0-beta-2-SNAPSHOT
on CVS,

1. When run site:site, the plugin works ok, but if run changelog:changelog,
it returns changelog of wrong date range.
2. The plugin supports tags (which means got the changelog between two
version tags, cvs log -rtag1:tag2), but seems not support retrieving
changelogs for a branch (cvs log -rbranch). I checked
"maven-scm-provider-cvs-commons" and "naven-scm-provider-cvsexe" etc, they
do support branch.

Thanks.

Bill




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: (M2)changelog-maven-plugin ( 2.0-beta-2-SNAPSHOT ) on CVS

Posted by Bill Yang <by...@parlaygroup.com>.
Hi, Emmanuel,

Site works fine when pom is configed following, but changelog:changelog will
return the changelog between 2006-02-11 and 2006-03-14, not 2006-02-10 to
2006-03-09,  and the "basedir" configuration does not work, still get the
changelog from the default basedir, src/main/java
	<reporting>
		<plugins>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>changelog-maven-plugin</artifactId>
				<version>2.0-beta-2-SNAPSHOT</version>
				<reportSets>
					<reportSet>
						<id>allReports</id>
						<configuration>
							<basedir>${basedir}</basedir>
							<type>date</type>
							<dates>
								<date implementation="java.lang.String">2006-02-10</date>
								<date implementation="java.lang.String">2006-03-09</date>
							</dates>
							<dateFormat>yyyy-MM-dd</dateFormat>
						</configuration>
						<reports>
							<report>changelog</report>
							<report>dev-activity</report>
							<report>file-activity</report>
						</reports>
					</reportSet>
				</reportSets>
			</plugin>
		</plugins>
	</reporting>

However, changelog:changelog works ok if config the plugin in "build" rather
than in "reporting"
	<build>
		<plugins>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>changelog-maven-plugin</artifactId>
				<version>2.0-beta-2-SNAPSHOT</version>
				<configuration>
					<basedir>${basedir}</basedir>
					<type>date</type>
					<dates>
						<date implementation="java.lang.String">2006-02-10</date>
						<date implementation="java.lang.String">2006-03-09</date>
					</dates>
					<dateFormat>yyyy-MM-dd</dateFormat>
				</configuration>
			</plugin>
		</plugins>
	</build>

BTW, how to file an issue (http://jira.codehaus.org/browse/MCHANGELOG) ?

Thanks.

Bill


-----Original Message-----
From: Emmanuel Venisse [mailto:emmanuel@venisse.net]
Sent: Monday, March 13, 2006 10:41 AM
To: Maven Users List
Subject: Re: (M2)changelog-maven-plugin ( 2.0-beta-2-SNAPSHOT ) on CVS




Bill Yang a écrit :
> Hello,
>
> I have been trying latest version changelog-maven-plugin
2.0-beta-2-SNAPSHOT
> on CVS,
>
> 1. When run site:site, the plugin works ok, but if run
changelog:changelog,
> it returns changelog of wrong date range.

How do you have configure it in your pom?

> 2. The plugin supports tags (which means got the changelog between two
> version tags, cvs log -rtag1:tag2), but seems not support retrieving
> changelogs for a branch (cvs log -rbranch). I checked
> "maven-scm-provider-cvs-commons" and "naven-scm-provider-cvsexe" etc, they
> do support branch.

File an issue (http://jira.codehaus.org/browse/MCHANGELOG).

Emmanuel


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: (M2)changelog-maven-plugin ( 2.0-beta-2-SNAPSHOT ) on CVS

Posted by Emmanuel Venisse <em...@venisse.net>.

Bill Yang a écrit :
> Hello,
> 
> I have been trying latest version changelog-maven-plugin 2.0-beta-2-SNAPSHOT
> on CVS,
> 
> 1. When run site:site, the plugin works ok, but if run changelog:changelog,
> it returns changelog of wrong date range.

How do you have configure it in your pom?

> 2. The plugin supports tags (which means got the changelog between two
> version tags, cvs log -rtag1:tag2), but seems not support retrieving
> changelogs for a branch (cvs log -rbranch). I checked
> "maven-scm-provider-cvs-commons" and "naven-scm-provider-cvsexe" etc, they
> do support branch.

File an issue (http://jira.codehaus.org/browse/MCHANGELOG).

Emmanuel


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org