[ https://issues.apache.org/jira/browse/LUCENE-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501079 ]
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 contrib 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 contribs. 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: https://issues.apache.org/jira/browse/LUCENE-622 > 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, lucene-maven.tar.bz2 > > > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]