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 2010/09/20 05:59:33 UTC
[jira] Updated: (LUCENE-2493) Rename lucene/solr dev jar files to
-SNAPSHOT.jar
[ 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