[jira] Created: (LUCENE-2490) 'ant generate-maven-artifacts' should work for lucene+solr 3.x+

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (LUCENE-2490) 'ant generate-maven-artifacts' should work for lucene+solr 3.x+

JIRA jira@apache.org
'ant generate-maven-artifacts' should work for lucene+solr 3.x+
---------------------------------------------------------------

                 Key: LUCENE-2490
                 URL: https://issues.apache.org/jira/browse/LUCENE-2490
             Project: Lucene - Java
          Issue Type: Task
    Affects Versions: 3.0
            Reporter: Ryan McKinley
            Assignee: Ryan McKinley
            Priority: Minor
             Fix For: 3.1


The maven build scripts need to be updated so that solr uses the artifacts from lucene.

For consistency, we should be able to have a different 'maven_version' then the 'version'  That is, we want to build: 3.1-SNAPSHOT with a jar file: 3.1-dev

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (LUCENE-2490) 'ant generate-maven-artifacts' should work for lucene+solr 3.x+

JIRA jira@apache.org

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

Ryan McKinley updated LUCENE-2490:
----------------------------------

    Attachment: LUCENE-2490-maven.patch

this lets lucene get built as 'lucene-3.1-dev' and builds solr as a -SNAPSHOT, but references the lucene jars.

{code:xml}
<dependency>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-spatial</artifactId>
-  <version>2.9.1</version>
+  <version>@lucene_maven_version@</version>
</dependency>
{code}

> 'ant generate-maven-artifacts' should work for lucene+solr 3.x+
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2490
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2490
>             Project: Lucene - Java
>          Issue Type: Task
>    Affects Versions: 3.0
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2490-maven.patch
>
>
> The maven build scripts need to be updated so that solr uses the artifacts from lucene.
> For consistency, we should be able to have a different 'maven_version' then the 'version'  That is, we want to build: 3.1-SNAPSHOT with a jar file: 3.1-dev

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (LUCENE-2490) 'ant generate-maven-artifacts' should work for lucene+solr 3.x+

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Ryan McKinley updated LUCENE-2490:
----------------------------------

    Attachment: LUCENE-2490-maven.patch

This patch swaps "-dev" for "-SNAPSHOT" and references the version consistently across lucene and solr.

With this patch you can run:
ant generate-maven-artifacts and it builds the same version for lucene and solr

> 'ant generate-maven-artifacts' should work for lucene+solr 3.x+
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2490
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2490
>             Project: Lucene - Java
>          Issue Type: Task
>    Affects Versions: 3.0
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2490-maven.patch, LUCENE-2490-maven.patch
>
>
> The maven build scripts need to be updated so that solr uses the artifacts from lucene.
> For consistency, we should be able to have a different 'maven_version' then the 'version'  That is, we want to build: 3.1-SNAPSHOT with a jar file: 3.1-dev

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (LUCENE-2490) 'ant generate-maven-artifacts' should work for lucene+solr 3.x+

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Steven Rowe commented on LUCENE-2490:
-------------------------------------

Ryan, why is it necessary to switch from -dev to -SNAPSHOT?  Maven can deal with -dev as a version suffix, can't it?

I ask because I'm looking at adding functionality in Lucene and Solr to install Maven jars in the user's local repository, and I was planning on going the route of making everything -dev.

I'll add a link here after I make an issue and put up a patch.



> 'ant generate-maven-artifacts' should work for lucene+solr 3.x+
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2490
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2490
>             Project: Lucene - Java
>          Issue Type: Task
>    Affects Versions: 3.0
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2490-maven.patch, LUCENE-2490-maven.patch
>
>
> The maven build scripts need to be updated so that solr uses the artifacts from lucene.
> For consistency, we should be able to have a different 'maven_version' then the 'version'  That is, we want to build: 3.1-SNAPSHOT with a jar file: 3.1-dev

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (LUCENE-2490) 'ant generate-maven-artifacts' should work for lucene+solr 3.x+

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Ryan McKinley commented on LUCENE-2490:
---------------------------------------

yes, I think maven *can* deal with something other then -SNAPSHOT.jar files, but it would require getting the pom files all sorted -- a non-trivial task (at least something beyond my skills/attention).

Changing to -SNAPSHOT makes the maven stuff work easy peasy, BUT it breaks the back compat tests that assume "-dev" and I have not figured out how to fix it yet.

If you can get things to work keeping the -dev (and still marked as a SNAPSHOT build) that would be great!


> 'ant generate-maven-artifacts' should work for lucene+solr 3.x+
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2490
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2490
>             Project: Lucene - Java
>          Issue Type: Task
>    Affects Versions: 3.0
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2490-maven.patch, LUCENE-2490-maven.patch
>
>
> The maven build scripts need to be updated so that solr uses the artifacts from lucene.
> For consistency, we should be able to have a different 'maven_version' then the 'version'  That is, we want to build: 3.1-SNAPSHOT with a jar file: 3.1-dev

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (LUCENE-2490) 'ant generate-maven-artifacts' should work for lucene+solr 3.x+

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Steven Rowe commented on LUCENE-2490:
-------------------------------------

bq. If you can get things to work keeping the -dev (and still marked as a SNAPSHOT build) that would be great!

Hmm, why is it a requirement that it's marked as a SNAPSHOT build?


> 'ant generate-maven-artifacts' should work for lucene+solr 3.x+
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2490
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2490
>             Project: Lucene - Java
>          Issue Type: Task
>    Affects Versions: 3.0
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2490-maven.patch, LUCENE-2490-maven.patch
>
>
> The maven build scripts need to be updated so that solr uses the artifacts from lucene.
> For consistency, we should be able to have a different 'maven_version' then the 'version'  That is, we want to build: 3.1-SNAPSHOT with a jar file: 3.1-dev

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (LUCENE-2490) 'ant generate-maven-artifacts' should work for lucene+solr 3.x+

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Ryan McKinley commented on LUCENE-2490:
---------------------------------------

in maven, SNAPSHOT builds get checked and replaced often.   If its not a SNAPSHOT, it gets downloaded once and that is that.  

We needs some way to reference the /trunk builds from maven

> 'ant generate-maven-artifacts' should work for lucene+solr 3.x+
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2490
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2490
>             Project: Lucene - Java
>          Issue Type: Task
>    Affects Versions: 3.0
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2490-maven.patch, LUCENE-2490-maven.patch
>
>
> The maven build scripts need to be updated so that solr uses the artifacts from lucene.
> For consistency, we should be able to have a different 'maven_version' then the 'version'  That is, we want to build: 3.1-SNAPSHOT with a jar file: 3.1-dev

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (LUCENE-2490) 'ant generate-maven-artifacts' should work for lucene+solr 3.x+

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Steven Rowe commented on LUCENE-2490:
-------------------------------------

I was focusing on the local repo install use case, where each install overwrites the previous same-named install.  What use case are you thinking of?  What deploy target is intended?

> 'ant generate-maven-artifacts' should work for lucene+solr 3.x+
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2490
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2490
>             Project: Lucene - Java
>          Issue Type: Task
>    Affects Versions: 3.0
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2490-maven.patch, LUCENE-2490-maven.patch
>
>
> The maven build scripts need to be updated so that solr uses the artifacts from lucene.
> For consistency, we should be able to have a different 'maven_version' then the 'version'  That is, we want to build: 3.1-SNAPSHOT with a jar file: 3.1-dev

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (LUCENE-2490) 'ant generate-maven-artifacts' should work for lucene+solr 3.x+

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Ryan McKinley commented on LUCENE-2490:
---------------------------------------

Yes, I guess there are two issues going on...
1. have 'ant generate-maven-artifacts' build a lucene+solr combo that works
2. get hudson to deploy SNAPSHOT artifacts to: https://repository.apache.org/content/groups/snapshots-group/

with snapshot artifacts, people can knowing develop against the latest from /trunk (or branch-3x)


> 'ant generate-maven-artifacts' should work for lucene+solr 3.x+
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2490
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2490
>             Project: Lucene - Java
>          Issue Type: Task
>    Affects Versions: 3.0
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 3.1
>
>         Attachments: LUCENE-2490-maven.patch, LUCENE-2490-maven.patch
>
>
> The maven build scripts need to be updated so that solr uses the artifacts from lucene.
> For consistency, we should be able to have a different 'maven_version' then the 'version'  That is, we want to build: 3.1-SNAPSHOT with a jar file: 3.1-dev

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (LUCENE-2490) 'ant generate-maven-artifacts' should work for lucene+solr 3.x+

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Ryan McKinley resolved LUCENE-2490.
-----------------------------------

    Fix Version/s: 4.0
       Resolution: Fixed

applied to 3.x and trunk

This does not change to -SNAPSHOT.... that could (perhaps) happen in a different issue

> 'ant generate-maven-artifacts' should work for lucene+solr 3.x+
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2490
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2490
>             Project: Lucene - Java
>          Issue Type: Task
>    Affects Versions: 3.0
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2490-maven.patch, LUCENE-2490-maven.patch
>
>
> The maven build scripts need to be updated so that solr uses the artifacts from lucene.
> For consistency, we should be able to have a different 'maven_version' then the 'version'  That is, we want to build: 3.1-SNAPSHOT with a jar file: 3.1-dev

--
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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (LUCENE-2490) 'ant generate-maven-artifacts' should work for lucene+solr 3.x+

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Erik Hatcher commented on LUCENE-2490:
--------------------------------------

fyi - this broke Solr's build as lucene_version was changed to version, but not everywhere.  Committing a fix now.

> 'ant generate-maven-artifacts' should work for lucene+solr 3.x+
> ---------------------------------------------------------------
>
>                 Key: LUCENE-2490
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2490
>             Project: Lucene - Java
>          Issue Type: Task
>    Affects Versions: 3.0
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2490-maven.patch, LUCENE-2490-maven.patch
>
>
> The maven build scripts need to be updated so that solr uses the artifacts from lucene.
> For consistency, we should be able to have a different 'maven_version' then the 'version'  That is, we want to build: 3.1-SNAPSHOT with a jar file: 3.1-dev

--
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: [hidden email]
For additional commands, e-mail: [hidden email]