Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2657

Replace Maven POM templates with full POMs, and change documentation accordingly

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1, 4.0-ALPHA
    • Fix Version/s: 3.1, 4.0-ALPHA
    • Component/s: general/build
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      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:

      mvn -N -Pbootstrap install
      

      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:

      mvn install
      

      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:

      mvn -DskipTests install
      

      I almost always include the clean phase when I do a build, e.g.:

      mvn -DskipTests clean install
      

        Attachments

        1. LUCENE-2657-branch_3x.patch
          217 kB
          Steve Rowe
        2. LUCENE-2657.patch
          214 kB
          Steve Rowe
        3. LUCENE-2657-branch_3x.patch
          206 kB
          Steve Rowe
        4. LUCENE-2657.patch
          203 kB
          Steve Rowe
        5. LUCENE-2657.patch
          202 kB
          Steve Rowe
        6. LUCENE-2657.patch
          232 kB
          Steve Rowe
        7. LUCENE-2657.patch
          217 kB
          Steve Rowe
        8. LUCENE-2657.patch
          220 kB
          Steve Rowe
        9. LUCENE-2657.patch
          220 kB
          Steve Rowe
        10. LUCENE-2657.patch
          194 kB
          Steve Rowe
        11. LUCENE-2657.patch
          198 kB
          Steve Rowe
        12. LUCENE-2657.patch
          198 kB
          Steve Rowe
        13. LUCENE-2657.patch
          198 kB
          Steve Rowe
        14. LUCENE-2657.patch
          233 kB
          Steve Rowe
        15. LUCENE-2657.patch
          228 kB
          Steve Rowe
        16. LUCENE-2657.patch
          227 kB
          Steve Rowe
        17. LUCENE-2657.patch
          229 kB
          Steve Rowe
        18. LUCENE-2657.patch
          222 kB
          Steve Rowe

          Issue Links

            Activity

              People

              • Assignee:
                steve_rowe Steve Rowe
                Reporter:
                steve_rowe Steve Rowe
              • Votes:
                6 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: