Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19073

Ambari Contrib View Has Inconsistent Version in pom.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • trunk
    • trunk
    • contrib
    • None

    Description

      contrib/views/ambari-views-package/pom.xml has the wrong version defined which can cause build failures under certain conditions. The parent POM from contrib/views/pom.xml defines 2.0.0.0.0 while contrib/views/ambari-views-package/pom.xml defines 2.5.0.0.0.

      git diff pom.xml
      diff --git a/contrib/views/ambari-views-package/pom.xml b/contrib/views/ambari-views-package/pom.xml
      index cb070e6..16c9985 100644
      --- a/contrib/views/ambari-views-package/pom.xml
      +++ b/contrib/views/ambari-views-package/pom.xml
      @@ -26,7 +26,7 @@
         <parent>
           <groupId>org.apache.ambari.contrib.views</groupId>
           <artifactId>ambari-contrib-views</artifactId>
      -    <version>2.5.0.0.0</version>
      +    <version>2.0.0.0-SNAPSHOT</version>
         </parent>
      

      This now matches contrib/views/pom.xml:}

      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <parent>
          <groupId>org.apache.ambari</groupId>
          <artifactId>ambari-project</artifactId>
          <version>2.0.0.0-SNAPSHOT</version>
          <relativePath>../../ambari-project</relativePath>
        </parent>
      

      Attachments

        1. AMBARI-19073.patch
          0.6 kB
          Jonathan Hurley

        Issue Links

          Activity

            People

              jonathanhurley Jonathan Hurley
              jonathanhurley Jonathan Hurley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: