I tried the option of invoking mvn with "-X scm:changelog" against Perforce. Although I set up those Perforce environment variables (P4CLIENT etc.), the scm:changelog is executing a command with a strange & non-existing client spec with combination of my ID, machine name and folder as such:
[DEBUG] Executing p4 -d C:\P4_Maven2\mysource\myproject -p perforce-server:1999 -c yhuang1-MACHINE_NAME-MavenSCM-C:\P4_Maven2\mysource\myproject filelog -t -l ... Of course, it won't retrieve anything from Perforce because of "bad" client spec. Any ideas of how to reconfigure scm:changelog to point to the right client spec? Thanks On 10/30/07, Dennis Lundberg <[EMAIL PROTECTED]> wrote: > > http://maven.apache.org/plugins/maven-changelog-plugin/faq.html > > Yan Huang wrote: > > Hello, > > > > How can I troubleshoot the maven-changelog-plugin? I defined <scm> in my > > pom.xml and declared to use maven-changelog-plugin in <reporting> as > below. > > However, I still don't see any report coming out of that. Any ideas? I'm > > using Perforce. > > > > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-changelog-plugin</artifactId> > > <reportSets> > > <reportSet> > > <id>change-log</id> > > <configuration> > > <type>range</type> > > <range>300</range> > > </configuration> > > <reports> > > <report>changelog</report> > > </reports> > > </reportSet> > > </reportSets> > > </plugin> > > > > > > Thanks > > Yan > > > > > -- > Dennis Lundberg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
