[ https://issues.apache.org/jira/browse/LUCENE-2657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983113#action_12983113 ]
Robert Muir commented on LUCENE-2657: ------------------------------------- bq. I think this patch is ready to be committed to trunk. Well first of all, you obviously worked hard on this, but we need to think this one through before committing. Can we put this code in a separate project, that takes care of maven support for lucene? The problem is there are two camps "die maven die" and "maven or die". There will *never* be consensus. The only way for maven to survive, is for the users that care about it, to support itself, just like other packaging systems such as debian, redhat rpm, freebsd/mac ports, etc etc that we lucene, don't deal with. They can't continue to whine to people like me, who don't give a shit about it, to support it and produce its crazy ass complicated artifacts. Instead the people who care about these packaging systems, and know how to make them work must deal with them. Personally I really don't like: * Having two build systems * Having one build system (ant) rely upon the other (maven) to create release artifacts. Basically, the ant build system is our build. I think it needs to be able to fully build lucene for a release without involving any other build systems such as Make or Maven. > Replace Maven POM templates with full POMs, and change documentation > accordingly > -------------------------------------------------------------------------------- > > Key: LUCENE-2657 > URL: https://issues.apache.org/jira/browse/LUCENE-2657 > Project: Lucene - Java > Issue Type: Improvement > Components: Build > Affects Versions: 3.1, 4.0 > Reporter: Steven Rowe > Assignee: Steven Rowe > Fix For: 3.1, 4.0 > > Attachments: LUCENE-2657.patch, LUCENE-2657.patch, LUCENE-2657.patch, > LUCENE-2657.patch, LUCENE-2657.patch, LUCENE-2657.patch, LUCENE-2657.patch, > LUCENE-2657.patch, LUCENE-2657.patch, LUCENE-2657.patch, LUCENE-2657.patch, > LUCENE-2657.patch, LUCENE-2657.patch, LUCENE-2657.patch > > > The current Maven POM templates only contain dependency information, the bare > bones necessary for uploading artifacts to the Maven repository. > The full Maven POMs in the attached patch include the information necessary > to run a multi-module Maven build, in addition to serving the same purpose as > the current POM templates. > Several dependencies are not available through public maven repositories. A > profile in the top-level POM can be activated to install these dependencies > from the various {{lib/}} directories into your local repository. From the > top-level directory: > {code} > mvn -N -Pbootstrap install > {code} > Once these non-Maven dependencies have been installed, to run all Lucene/Solr > tests via Maven's surefire plugin, and populate your local repository with > all artifacts, from the top level directory, run: > {code} > mvn install > {code} > When one Lucene/Solr module depends on another, the dependency is declared on > the *artifact(s)* produced by the other module and deposited in your local > repository, rather than on the other module's un-jarred compiler output in > the {{build/}} directory, so you must run {{mvn install}} on the other module > before its changes are visible to the module that depends on it. > To create all the artifacts without running tests: > {code} > mvn -DskipTests install > {code} > I almost always include the {{clean}} phase when I do a build, e.g.: > {code} > mvn -DskipTests clean install > {code} -- 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org