There were people having problems with Perforce and the changelog-plugin
before. That's why we added all the debugging stuff to the faq. The
problems were related to this thing called "client spec", which I
haven't got a clue to what it is, because I haven't used Perforce myself.
The problem is not really in the changelog-plugin, but rather in
maven-scm, which is used by the changelog-plugin to access the scm system.
Check the mail-archives to see if you can find the answer. Search for
changelog scm and perforce
Yan Huang wrote:
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]
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]