[ 
http://jira.codehaus.org/browse/MCHANGELOG-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_103475
 ] 

Dennis Lundberg commented on MCHANGELOG-66:
-------------------------------------------

>From what I understand you need to have this config if you want perforce to 
>work for the changelog plugin:

{code}
<plugin>
  <artifactId>maven-changelog-plugin</artifactId>
  <configuration>
    <systemProperties>
      <property>
        <name>maven.scm.perforce.clientspec.name</name>
        <value>${perforce.clientspec.name.from.settings.xml}</value>
      </property>
    </systemProperties>
  </configuration>
</plugin>
{code}

If Brian would be so kind and confirm that, I can add it to the FAQ.

You need to set the system property in all plugins that need to use perforce 
through maven-scm. The plugin also needs to support it such a configuration of 
course. It doesn't use namespaces - it's the normal Java system properties. 
But, because plugins have their own little space that they run in, you need to 
set the system property for each plugin.

> changelog for perforce fails because of default clientspec
> ----------------------------------------------------------
>
>                 Key: MCHANGELOG-66
>                 URL: http://jira.codehaus.org/browse/MCHANGELOG-66
>             Project: Maven 2.x Changelog Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Brian Jackson
>            Assignee: Dennis Lundberg
>             Fix For: 2.1
>
>
> Currently changelog fails for Perforce when the default clientspec is used 
> and the plugin provides no way to supply the clientspec name.  Currently you 
> can do the following for the scm plugin so that the scm:changelog will work:
>             <plugin>
>                 <artifactId>maven-scm-plugin</artifactId>
>                 <configuration>
>                     <systemProperties>
>                         <property>
>                             <name>maven.scm.perforce.clientspec.name</name>
>                             
> <value>${perforce.clientspec.name.from.settings.xml}</value>
>                         </property>
>                     </systemProperties>
>                 </configuration>
>             </plugin>
> I propose the same for the changelog report plugin.

-- 
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