Hi Alejandro,

I know what you are talking about and was facing the same trouble with maven.
This is why I wrote flatten-maven-plugin.
You might want to wait for beta-2 to get startet, but you could already give it a try if you want.
To be warned:
http://jira.codehaus.org/browse/MOJO-2030

Cheers
  Jörg

Am 01.05.2014 19:43, schrieb [email protected]:
I have a pretty deep hierarchy of poms, ~ 4 or 5 levels where each level
contains certain parameters. Sometimes when I want to change one of the
root parameters and then release I am forced to release 4 or 5 poms, one
at a time, before I can release the artifact we actually ship, otherwise
the m-release-p will complain about snapshots. Can this plugin help with
that? i.e help in releasing a chain of poms in one shot where some of the
parents have SNAPSHOT dependencies. I cannot release from the higher
levels because they aggregate the lower levels so this would release a lot
of artifacts when I am trying to release only one of the leaf ones. To be
clear, when I release only the higher level poms, I have to disable
aggregation to avoid releasing too much

In other words, I would need this plugin to basically only flatten when
doing a release, but i am not sure if the switcheroo happens only at
deploy time or early on so the snapshot-to-release changes in the pom done
by the release-plugin would happen in the flattened version

Anyone knows?

Alejandro Endo | Software Designer/Concepteur de logiciels




From:   Jörg Hohwiller <[email protected]>
To:     [email protected], [email protected],
[email protected], [email protected],
Date:   2014-05-01 11:56 AM
Subject:        [ANN] flatten-maven-plugin 1.0.0-beta-1 Released



Hi,

The Mojo team is pleased to announce the release of the
flatten-maven-plugin version 1.0.0-beta-1.

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-1</version>
</plugin>

All you need to do is add the plugin to the plugins in your build section.

This is the initial release.

Enjoy,

The Mojo team.
Jörg




DISCLAIMER:
Privileged and/or Confidential information may be contained in this
message. If you are not the addressee of this message, you may not
copy, use or deliver this message to anyone. In such event, you
should destroy the message and kindly notify the sender by reply
e-mail. It is understood that opinions or conclusions that do not
relate to the official business of the company are neither given
nor endorsed by the company.
Thank You.



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to