[ https://issues.apache.org/jira/browse/LUCENE-2657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983146#action_12983146 ]
Robert Muir commented on LUCENE-2657: ------------------------------------- {quote} What if this were committed so that those of us who do understand maven and do like using it, could? This issue about whether maven artifacts need to then be released or not can be part of a greater discussion (as is already taking place). By committing this we then make it easier for someone else outside of the project to create the correct artifacts which are then available from the central maven repository, if thats the decision thats made which is also the one you support. {quote} Why does it need to be committed to *our* trunk? why can't it be on e.g. apache-extras and do all of this. This way, we can continue to evolve lucene (e.g. merge lucene and solr better), maintaining only *ONE* build system, and hopefully! release more often... if downstream maven support falls behind, it falls behind, but it shouldn't slow us down. > 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