Uploaded image for project: 'Scout (Retired)'
  1. Scout (Retired)
  2. SCOUT-82

use maven best practices in build

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.1
    • Scout Implementation
    • None

    Description

      I think your build would be a lot easier to deal with if it followed current maven best pracices.

      Since the api jar should not be released in tandem with the scout impl they should not be part of the same multi-module project. With only one module scout doesn't need a scout-parent.

      Using the apache 6 pom provides most of the infrastructure for a good policy-compliant build and release to the apache nexus instance using the maven-release-plugin.

      Attached patch is a first step towards this.

      It also cleans up and minimizes the dependencies considerably and builds an osgi bundle rather than plain jar (this just means it has osgi metadata in the manifest)

      I changed to use all geronimo specs. These are validated against the tck so they may be a better choice than the scout jaxr api which currently won't pass (see SCOUT-81)

      If everyone likes this then the site should probably be moved into the scout module.

      Using the apache 6 pom requires a project to agree to use the apache nexus instance and add a task to https://issues.apache.org/jira/browse/INFRA-1896. Basically someone needs to post to the dev list saying "lets use nexus" and people agree (or at least not -1 the idea).

      Attachments

        1. SCOUT-82.diff
          13 kB
          David Jencks
        2. SCOUT-82-2.diff
          13 kB
          David Jencks
        3. SCOUT-82-3.diff
          13 kB
          David Jencks
        4. SCOUT-82-4a.diff
          18 kB
          David Jencks
        5. SCOUT-82-5.patch
          0.8 kB
          David Jencks
        6. SCOUT-82-6.patch
          1 kB
          David Jencks
        7. site.xml
          2 kB
          David Jencks

        Activity

          People

            kstam Kurt Stam
            djencks David Jencks
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: