Jelajahi Sumber

AMBARI-14346. Add parent tag to ambari-metrics pom.xml. (Ajit Kumar via swagle)

Siddharth Wagle 9 tahun lalu
induk
melakukan
07ee9b8ca5

+ 6 - 1
ambari-metrics/ambari-metrics-timelineservice/pom.xml

@@ -425,6 +425,11 @@
       <artifactId>commons-math3</artifactId>
       <version>3.4.1</version>
     </dependency>
+    <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+      <version>2.4</version>
+    </dependency>
     <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-pool2</artifactId>
@@ -698,7 +703,7 @@
             <!-- The configuration of the plugin -->
             <configuration>
               <!-- Configuration of the archiver -->
-              <finalName>${pom.artifactId}-simulator-${pom.version}</finalName>
+              <finalName>${project.artifactId}-simulator-${project.version}</finalName>
               <archive>
                 <!-- Manifest specific configuration -->
                 <manifest>

+ 6 - 1
ambari-metrics/pom.xml

@@ -15,7 +15,12 @@
    See the License for the specific language governing permissions and
    limitations under the License.
 --><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/xsd/maven-4.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>
   <groupId>org.apache.ambari</groupId>
   <modelVersion>4.0.0</modelVersion>
   <artifactId>ambari-metrics</artifactId>