Hi,

if you create a site and using the project-info-report-plugin will show a page with the information about the source repository....
which contains exactly the information about the <scm> area...

http://maven.apache.org/plugins/maven-project-info-reports-plugin/
Example of this:
http://maven.apache.org/plugins/maven-project-info-reports-plugin/source-repository.html

So no need to put the scm connections into properties which will not work...in particular if you are using the release plugin of Maven... So simply write the information plain into the scm are no using of properties...

<project...
  <scm>
       <connection>scm:svn:https://...</connection>
       <developerConnection>scm:svn:https://...</developerConnection>
       <url>https://...</url>
     </scm>
...
</project>

To get these values reported using this plugin I have to add this to my project:

<properties>
         
<project.scm.connection>${project.scm.connection}</project.scm.connection>
         
<project.scm.developerConnection>${project.scm.developerConnection}</project.scm.developerConnection>
         <project.scm.url>${project.scm.url}</project.scm.url>
</properties>

This is tedious and error prone.  Is there a way to report this
without adding variables as properties manually?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




--
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to