incubator-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher <ctubb...@apache.org>
Subject Re: Omitting "-incubating" suffix in Maven artifact version attribute for FreeMarker
Date Wed, 28 Dec 2016 23:14:59 GMT
On Wed, Dec 28, 2016 at 8:09 AM John D. Ament <johndament@apache.org> wrote:

> On Wed, Dec 28, 2016 at 5:35 AM Daniel Dekany <ddekany@freemail.hu> wrote:
>
> > Wednesday, December 28, 2016, 4:12:06 AM, Christopher wrote:
> >
> > [snip]
> > > The one complication here is that the release artifact (source tarball)
> > is
> > > most easily created with a maven project by using the
> > maven-assembly-plugin
> > > with the source tarball assembly defined in the ASF-wide parent POM.
> >
> > I'm not sure how hard it would be to set up the POM so that it
> > produces an assembly with the "-incubating" suffix even if the project
> > version doesn't contain it. Anyway, some extra release steps during
> > incubation can be better than troubling the users (developers who
> > depend on your project) with an additional groupId change or with a
> > non-standard version suffix. There are much more users than people who
> > do releases after all.
> >
>
> Do you need to add the -incubating suffix via maven?  When staging the
> release in dev, you can name the file as you like.  Even if not, maven
> assembly adds a suffix for you.  you can name your execution
> -src-incubating to include it.
>
>

It's not possible to manually rename the artifact before staging it in
Nexus, which is the most sensible thing for Maven projects to use for
staging. It is possible to rename it in SVN dist/dev, but as I said
earlier, that can also cause confusion, as in: is
"project-version-incubating.tar.gz" on the website the same as the
"project-version" I see in Maven Central and which is in the SCM tag?

Adding the suffix in some places, but not others, especially by manual
steps after altering the convenient automated tooling output, is probably
not a good idea. It's likely to cause confusion, as well as introduce
inconsistencies through human error.


>
> >
> > --
> > Thanks,
> >  Daniel Dekany
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: general-help@incubator.apache.org
> >
> >
>
-- 
Christopher

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message