Hi Jörg,

I'm giving your plugin a spin and I think it really helps!

What I wonder is how do you get maven-install and maven-deploy plugins to use 
${basedir}/.flattened-pom.xml ?

Is there a magic property I can set, or can this only be done programatically?  
Seems tricky, since I want to use the project pom to create the release, and 
then substitute the release pom for install/deploy.  I can copy in the 
distribution pom using maven-resources plugin for the jar, but install stomps 
on my custom pom after I create it in target/*.pom.

Since your 99% there, maybe you could add a parameter to just let me add my own 
custom pom?  Or can I just overwrite .flattened-pom.xml with my own?

Thanks for your hard work..  I find it is sometimes hard to get "non-religious" 
answers on the maven forums.  ;)

Cheers,
-Russ


At 11:23 PM +0200 6/6/14, Jörg Hohwiller wrote:
>Hi,
>
>The Mojo team is pleased to announce the release of the flatten-maven-plugin 
>version 1.0.0-beta-2.
>
>Flatten Maven Plugin generates a flattened version of your pom.xml and makes 
>maven to install
>and deploy this one instead of the original pom.xml.
>
>http://mojo.codehaus.org/flatten-maven-plugin/
>
>To get this update, simply specify the version in your project's plugin 
>configuration:
>
><plugin>
>        <groupId>org.codehaus.mojo</groupId>
>        <artifactId>flatten-maven-plugin</artifactId>
>        <version>1.0.0-beta-2</version>
></plugin>
>
>All you need to do is add the plugin to the plugins in your build section.
>
>Release Notes
>http://jira.codehaus.org/browse/MOJO-2027 ability to preserve developer 
>information
>http://jira.codehaus.org/browse/MOJO-2030 flatten-maven-plugin overrides 
>basedir and sets it to target/, so src/site/site.xml is not used and any 
>documentation beneath src/site is not rendered
>
>Enjoy,
>
>The Mojo team.
>
>Jörg
>
>
>Content-Type: application/pkcs7-signature; name="smime.p7s"
>Content-Disposition: attachment; filename="smime.p7s"
>Content-Description: S/MIME Cryptographic Signature
>
>Attachment converted: tanami-sys:smime 299.p7s (    /    ) (00680F17)


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

Reply via email to