What I would like to see is that when a project explicitly specifies
it's scm information, that m-release-p would treat that as a
separately releasable item... so that if you have an aggregator
project with no scm information, m-r-p would (perhaps with some
hinting) see that as not requiring a release... it would then search
through the reactor and pick up the projects that explicitly define
scm info, and start releasing and tagging those one at a time....

there are issues with the above....

1. what do you do when you have cycles in scm that make such a release
impossible?
2. introduces a tight coupling between maven release plugin and the
build plan... and tight coupling is evil.
3. Makes rollback harder to achieve...
etc

These are not insurmountable, but feel more like m-r-p 3.0 features
rather than m-r-p 2.3 or certainly 2.x features.

Have a look through the jira's
http://jira.codehaus.org/browse/MRELEASE and see if there is something
similar... if not please raise a JIRA for this feature.

Thanks,

-Stephen

On 27 June 2011 10:05, maxime.lem <maxime....@gmail.com> wrote:
> Hi all,
>
> We are looking for a way to perform maven releases (via maven-release-plugin
> for example) on a project, and all its dependencies which are in a snapshot
> version (internal dependencies).
>
> Using a pom aggregator and ${project.version} in dependencyMgmt for all
> internal dependencies allows such process, but the drawback is we have to
> regroup projects within this aggregator, according to the dependency graph.
>
> We would like to be able to do the same thing, but without having to use an
> aggregator (that add another link between projects, than their
> dependencies).
> The process would be the same than with an aggregator, but instead of
> building a maven reactor with modules, it would be done among snapshot
> dependencies.
>
> Scm element is set in all the pom, so maven can find where dependencies
> sources are.
>
> Do you know a way to do this?
> If no, does this seem feasible? Could maven-release-plugin manage this with
> a new parameter ? (releaseSnapshotDependencies=true for example)
>
> Thx
> Maxime
>
>
>
>
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/Relesa-a-project-and-all-its-snapshot-dependencies-without-an-aggregator-tp4527536p4527536.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to