Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: build
    • Labels:
      None
    • Environment:

      RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2

    • Hadoop Flags:
      Reviewed

      Description

      When executing mvn-deploy target, the build fails.
      hadoop-common and hadoop-common-sources deploy, but the test jar does not.

      property staging is not set and/or set to false, meaning when you try to deploy a snapshot build.

      The error reads:
      Invalid reference: 'hadoop.core.test'.

      1. HADOOP-7513.patch
        0.5 kB
        Joep Rottinghuis

        Activity

        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-22-branch #67 (See https://builds.apache.org/job/Hadoop-Common-22-branch/67/)
        HADOOP-7513. mvn-deploy target fails. Contributed by Joep Rottinghuis.

        cos : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1154632
        Files :

        • /hadoop/common/branches/branch-0.22/common/CHANGES.txt
        • /hadoop/common/branches/branch-0.22/common/build.xml
        Show
        Hudson added a comment - Integrated in Hadoop-Common-22-branch #67 (See https://builds.apache.org/job/Hadoop-Common-22-branch/67/ ) HADOOP-7513 . mvn-deploy target fails. Contributed by Joep Rottinghuis. cos : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1154632 Files : /hadoop/common/branches/branch-0.22/common/CHANGES.txt /hadoop/common/branches/branch-0.22/common/build.xml
        Hide
        Konstantin Boudnik added a comment -

        I have committed this. Thanks Joep!

        Show
        Konstantin Boudnik added a comment - I have committed this. Thanks Joep!
        Hide
        Konstantin Boudnik added a comment -

        +1 patch looks good.

        Unfortunately, I can't validate it because maven wagon pluging doesn't exist locally and can't be in installed automatically because of some mvn repository issues not related to the patch.

        Will be committing it.

        Show
        Konstantin Boudnik added a comment - +1 patch looks good. Unfortunately, I can't validate it because maven wagon pluging doesn't exist locally and can't be in installed automatically because of some mvn repository issues not related to the patch. Will be committing it.
        Hide
        Joep Rottinghuis added a comment -

        This is not applicable to trunk due to HADOOP-6671

        Show
        Joep Rottinghuis added a comment - This is not applicable to trunk due to HADOOP-6671
        Hide
        Joep Rottinghuis added a comment -

        Here is a larger snippet from the log:
        clean-sign:

        sign:
        Skipped because property 'staging' not set.

        signanddeploy:
        Skipped because property 'staging' not set.

        simpledeploy:

        ...

        [artifact:deploy] An error has occurred while processing the Maven artifact tasks.
        [artifact:deploy] Diagnosis:
        [artifact:deploy]
        [artifact:deploy] Invalid reference: 'hadoop.core.test'

        BUILD FAILED
        /home/jrottinghuis/git/hadoop-common/common/build.xml:1339: Invalid reference: 'hadoop.core.test'
        at org.apache.maven.artifact.ant.Pom.getInstance(Pom.java:100)

        Show
        Joep Rottinghuis added a comment - Here is a larger snippet from the log: clean-sign: sign: Skipped because property 'staging' not set. signanddeploy: Skipped because property 'staging' not set. simpledeploy: ... [artifact:deploy] An error has occurred while processing the Maven artifact tasks. [artifact:deploy] Diagnosis: [artifact:deploy] [artifact:deploy] Invalid reference: 'hadoop.core.test' BUILD FAILED /home/jrottinghuis/git/hadoop-common/common/build.xml:1339: Invalid reference: 'hadoop.core.test' at org.apache.maven.artifact.ant.Pom.getInstance(Pom.java:100)

          People

          • Assignee:
            Joep Rottinghuis
            Reporter:
            Joep Rottinghuis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development