lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-2493) Rename lucene/solr dev jar files to -SNAPSHOT.jar
Date Mon, 20 Sep 2010 03:59:33 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-2493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ryan McKinley updated LUCENE-2493:
----------------------------------

    Attachment: LUCENE-2493-dev-to-SNAPSHOT.patch

If we chance the jar file names from -dev to -SNAPSHOT, the same build can be easily integrated
with a maven snapshot repository (and tested -- LUCENE-2268).

I'd like to avoid a discussion about the odities of maven, but lets just take as a given that
if the artifact is named "-SNAPSHOT" then eveytime you use it, it makes sure it is the most
recent version.  To be able to test (or have a real SNAPSHOT repository) we will either have
to:
  1. rename the .jar to -SNAPSHOT
  2. run ant twice, once with the current -dev settings, then again with -Ddev.verrsion=4.0-SNAPSHOT

In my book, the aesthetic loss of "-dev" is worth the gain to let the maven community use
(and test!) snapshot builds.  This also greatly simplifies building a test case for our maven
files (LUCENE-2268)

Thoughts?  Objections?  



> Rename lucene/solr dev jar files to -SNAPSHOT.jar
> -------------------------------------------------
>
>                 Key: LUCENE-2493
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2493
>             Project: Lucene - Java
>          Issue Type: Task
>            Reporter: Ryan McKinley
>            Priority: Minor
>         Attachments: LUCENE-2493-dev-to-SNAPSHOT.patch
>
>
> Currently the lucene dev jar files end with '-dev.jar' this is all fine, but it makes
people using maven jump through a few hoops to get the -SNAPSHOT naming convention required
by maven.  If we want to publish snapshot builds with hudson, we would need to either write
some crazy scripts or run the build twice.
> I suggest we switch to -SNAPSHOT.jar.  Hopefully for the 3.x branch and for the /trunk
(4.x) branch

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message