You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ryan McKinley (JIRA)" <ji...@apache.org> on 2014/01/29 17:32:13 UTC

[jira] [Commented] (LUCENE-5420) 'ant get-maven-poms' should support custom version formats

    [ https://issues.apache.org/jira/browse/LUCENE-5420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13885494#comment-13885494 ] 

Ryan McKinley commented on LUCENE-5420:
---------------------------------------

thanks steve -- looks good

> 'ant get-maven-poms' should support custom version formats
> ----------------------------------------------------------
>
>                 Key: LUCENE-5420
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5420
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/build
>            Reporter: Steve Rowe
>            Priority: Minor
>         Attachments: LUCENE-5420.patch
>
>
> LUCENE-5217 changed the way {{ant get-maven-poms}} works, so that dependencies are pulled from the Ant build, instead of being hard-coded in the POM templates.  To parse the versions from internal module dependencies, the new internal Ant task {{GetMavenDependenciesTask}} uses a regex that expects a dotted/slashed/underscored numeric + optional -SNAPSHOT version format.  As a result, non-conforming versions trigger a build failure - see the lucene-dev mailing list thread "maven build issues with non-numeric custom version": <http://mail-archives.apache.org/mod_mbox/lucene-dev/201401.mbox/%3cCAF=Pa5-0sXE9Su1PgF5M+F0T+g3Q=fetWgXDh5Ry1ab3ZRhquQ@mail.gmail.com%3e>
> This is a regression, since previously, custom version strings worked properly, e.g. {{ant -Dversion=my-custom-version get-maven-poms}}.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org