Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-164

Use <type> instead of <classifier> configuration for test dependencies

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.2.1
    • Fix Version/s: 0.3
    • Component/s: build process, maven
    • Labels:
      None
    • Environment:
      Maven 3

      Description

      Previous maven guides suggested to use <classifier>tests</classifier> instead of <type>test-jar</type>. While this currently works for some cases, it does not properly work during a reactor build of the test JAR module and any consumer if a lifecycle phase prior to install is invoked. In such a scenario, Maven will not resolve the test JAR from the output of the reactor build but from the local/remote repository. Apparently, the JAR from the repositories could be outdated or completely missing, causing a build failure (cf. MNG-2045).

      A fix is required for all pom's which I will get sorted out ASAP

        Attachments

        1. GORA-164.patch
          2 kB
          Lewis John McGibbney

          Activity

            People

            • Assignee:
              lewismc Lewis John McGibbney
              Reporter:
              lewismc Lewis John McGibbney
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: