lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] Commented: (LUCENE-622) Provide More of Lucene For Maven
Date Mon, 04 Jun 2007 02:09:15 GMT


Hoss Man commented on LUCENE-622:

i just skimmed Sami's patch (did not test it) ... i can't help but think that the enumerated
list of all contribs in the "generate-maven-artifacts" task seems like it will easily become
just as hard to maintain as the related list in the javadocs macro.  it seems like a more
maintainable approach would be to...
  1) put the maven files for each contrib in the respective contrib dirs.
  2) put this new m2-deploy macro in common-build.xml
  3) add a "dist-maven" task to contrib/contrib-build.xml where it can be inherited by each
      and calls m2-deploy using hte project name as the artifactId
  4) change generate-maven-artifacts to use contrib-crawl to take care of the pom's for the
some other questions: 
  a) it doesn't seem like all contribs are accounted for ... were some excluded intentionally?
  b) if we're going to start officially releasing "POMs" for lucene and the contribs, we should
probably have a way of validating they are correct ... is there an easy mechanism for doing
that?  (my worry is that overtime a contrib changes, it's POM doesn't get updated, and we
have a "release" in which the maven artifacts are incorrect (which in my opinion is worse
then not having any maven artifacts at all)

final minor note: using <copy> immediately followed by a <replace> on the file
that was just copied can be done more cleanly using a <filterset> on the <copy>

> Provide More of Lucene For Maven
> --------------------------------
>                 Key: LUCENE-622
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Task
>    Affects Versions: 2.0.0
>            Reporter: Stephen Duncan Jr
>            Assignee: Michael Busch
>             Fix For: 2.2
>         Attachments: lucene-622.txt, lucene-core.pom, lucene-highlighter-2.0.0.pom, lucene-maven.patch,
> Please provide javadoc & source jars for lucene-core.  Also, please provide the rest
of lucene (the jars inside of "contrib" in the download bundle) if possible.

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:
For additional commands, e-mail:

View raw message