[ http://jira.codehaus.org/browse/MCHANGELOG-43?page=comments#action_72381 
] 
            
Jimisola Laursen commented on MCHANGELOG-43:
--------------------------------------------

Sorry for breaking into the thread/discussion, but it might be that we have the 
same type of problem.
I am also using trying to get changelog to work with Perforce. I made a short 
post in the users mailing list: 
http://www.nabble.com/changelog-plugin-doesn%27t-seem-to-be-running-at-all-tf2057148.html


Some additional information:

    <scm>
        <connection>
            scm:perforce:[EMAIL PROTECTED]:1666://depot/lt/main/product/
        </connection>
        <developerConnection>
            scm:perforce:somehost:1666://depot/lt/main
        </developerConnection>
        <url>
            
https://somehost/p4web/@md=d&amp;cd=//depot/lt/&amp;c=AnP@//depot/lt/main/product?ac=83
        </url>
    </scm>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-changelog-plugin</artifactId>
                <version>2.0-SNAPSHOT</version><!--  @TODO: use stable version 
-->
                <reportSets>
                    <reportSet>
                        <configuration>
                            <repository>
                                <connection>
                                    scm:perforce:[EMAIL 
PROTECTED]:1666://depot/lt/main
                                </connection>
                            </repository>

                            <basedir>${basedir}</basedir>
                            <type>range</type>
                            <range>30</range>
                            <reports>
                                <report>changelog</report>
                                <report>dev-activity</report>
                                <report>file-activity</report>
                            </reports>
                        </configuration>
                    </reportSet>
                </reportSets>
            </plugin>

> Changelog not getting created properly.
> ---------------------------------------
>
>                 Key: MCHANGELOG-43
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-43
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-1
>         Environment: Windows xp SP2 / maven 2.0.4
>            Reporter: Abhijit Diwan
>
> I am trying to generate change log for my maven project. 
> I have following scm section under my pom.xml
>     <scm>
>         <connection>scm:perforce://EJB/ejb-dev/MavenCodeline/</connection>
>     </scm>
> and following plugin decalration under <reporting> section
>             <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>changelog-maven-plugin</artifactId>
>                 <reportSets>
>                     <reportSet>
>                         <id>Perofrce report</id>
>                         <configuration>
>                             <type>range</type>
>                             <range>10</range>
>                             <repositoryConnection>
>                                 
> scm:perforce://EJB/ejb-dev/MavenCodeline/</repositoryConnection>
>                             <properties>
>                                 <maven.changelog.factory>
>                                     
> org.apache.maven.perforcelib.PerforceChangeLogFactory</maven.changelog.factory>
>                             </properties>
>                         </configuration>
>                         <reports>
>                             <report>changelog</report>
>                             <report>file-activity</report>
>                             <report>dev-activity</report>
>                         </reports>
>                     </reportSet>
>                 </reportSets>
>             </plugin>
> I have already defined P4PORT variable on my machine.
> When I ran mvn site command from module directory AeConnector I get following 
> error.
> [INFO] Generating changed sets xml to: 
> E:\views\EJB\ejb-dev\MavenCodeline\AeConn
> ector\target\changelog.xml
> [INFO] SCM Working Directory: 
> E:\views\EJB\ejb-dev\MavenCodeline\AeConnector\src
> \main\java
> [INFO] SCM Command Line[0]: p4
> [INFO] SCM Command Line[1]: filelog
> [INFO] SCM Command Line[2]: -tl
> [INFO] SCM Command Line[3]: //EJB/ejb-dev/MavenCodeline/AeConnector
> [ERROR] //EJB/ejb-dev/MavenCodeline/AeConnector - no such file(s).
> All my java code is under that directory but the plugin is not able to 
> recurse all the subdirectories under that directory. I looked at perforce doc 
> and ran command "p4 filelog //EJB/ejb-dev/MavenCodeline/AeConnector/..." and 
> it worked so I think with plugin those last 3 dots which makes p4 recurse is 
> not there. The documentation for p4 command you can find from following url - 
> (http://www.perforce.com/perforce/doc.051/manuals/cmdref/filelog.html)
> Please please help.
> thanks a lot
> abhijit

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to