You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@streams.apache.org by Stanton Sievers <ss...@apache.org> on 2014/09/16 19:05:00 UTC

SNAPSHOT version dependencies

Hi everyone,

I'm looking through the streams code base and I've noticed some
dependencies on SNAPSHOT resources in a few places.  From a release
standpoint this is generally frowned upon because functionality can change
over time without changes in the code base simply because a newer SNAPSHOT
dependency was pulled in.  In fact, it is the default behavior of the maven
release plugin to fail a build if SNAPSHOT dependencies are detected.

The few instances I've noticed are in the google-gmail,
streams-persist-hbase, and streams-persist-hdfs modules.  The
streams-master parent version is also a snapshot currently.

If no one objects to the general idea of not having SNAPSHOT dependencies,
I'll get a pull request up that fixes the versions in these 4 places.

Additionally, this project can make use of the maven-enforcer-plugin to
ensure that no snapshots are used as part of project policy.

Thanks,
-Stanton

Re: SNAPSHOT version dependencies

Posted by Renato MarroquĂ­n Mogrovejo <re...@gmail.com>.
+1

2014-09-16 19:06 GMT+02:00 Matt Franklin <m....@gmail.com>:

> On Tue, Sep 16, 2014 at 1:05 PM, Stanton Sievers <ss...@apache.org>
> wrote:
>
> > Hi everyone,
> >
> > I'm looking through the streams code base and I've noticed some
> > dependencies on SNAPSHOT resources in a few places.  From a release
> > standpoint this is generally frowned upon because functionality can
> change
> > over time without changes in the code base simply because a newer
> SNAPSHOT
> > dependency was pulled in.  In fact, it is the default behavior of the
> maven
> > release plugin to fail a build if SNAPSHOT dependencies are detected.
> >
> > The few instances I've noticed are in the google-gmail,
> > streams-persist-hbase, and streams-persist-hdfs modules.  The
> > streams-master parent version is also a snapshot currently.
> >
> > If no one objects to the general idea of not having SNAPSHOT
> dependencies,
> > I'll get a pull request up that fixes the versions in these 4 places.
> >
>
> Sounds like a great idea.
>
>
> >
> > Additionally, this project can make use of the maven-enforcer-plugin to
> > ensure that no snapshots are used as part of project policy.
> >
>
> +1
>
>
> >
> > Thanks,
> > -Stanton
> >
>

Re: SNAPSHOT version dependencies

Posted by Matt Franklin <m....@gmail.com>.
On Tue, Sep 16, 2014 at 1:05 PM, Stanton Sievers <ss...@apache.org>
wrote:

> Hi everyone,
>
> I'm looking through the streams code base and I've noticed some
> dependencies on SNAPSHOT resources in a few places.  From a release
> standpoint this is generally frowned upon because functionality can change
> over time without changes in the code base simply because a newer SNAPSHOT
> dependency was pulled in.  In fact, it is the default behavior of the maven
> release plugin to fail a build if SNAPSHOT dependencies are detected.
>
> The few instances I've noticed are in the google-gmail,
> streams-persist-hbase, and streams-persist-hdfs modules.  The
> streams-master parent version is also a snapshot currently.
>
> If no one objects to the general idea of not having SNAPSHOT dependencies,
> I'll get a pull request up that fixes the versions in these 4 places.
>

Sounds like a great idea.


>
> Additionally, this project can make use of the maven-enforcer-plugin to
> ensure that no snapshots are used as part of project policy.
>

+1


>
> Thanks,
> -Stanton
>