Am 03.01.2012 17:22 schrieb "David Hoffer" <[email protected]>:
>
> How can I get project variables/properties exported to property file?
What are you going to do with these properties files?
Depending on your use case, there might be quite easy solutions for you,
without putting a lot of properties into files.
A
>
> I'm using properties-maven-plugin and it's good but it only reports
> things I have explicitly created as properties in my project. I need
> to also get a report on things that maven already defined such as:
>
> <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]
>