|
@@ -0,0 +1,75 @@
|
|
|
|
+<!--
|
|
|
|
+ Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
+ contributor license agreements. See the NOTICE file distributed with
|
|
|
|
+ this work for additional information regarding copyright ownership.
|
|
|
|
+ The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
+ (the "License"); you may not use this file except in compliance with
|
|
|
|
+ the License. You may obtain a copy of the License at
|
|
|
|
+
|
|
|
|
+ http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
+
|
|
|
|
+ Unless required by applicable law or agreed to in writing, software
|
|
|
|
+ distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
+ 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/maven-v4_0_0.xsd">
|
|
|
|
+ <parent>
|
|
|
|
+ <groupId>org.apache.ambari</groupId>
|
|
|
|
+ <artifactId>ambari-project</artifactId>
|
|
|
|
+ <version>1.3.0-SNAPSHOT</version>
|
|
|
|
+ <relativePath>../ambari-project</relativePath>
|
|
|
|
+ </parent>
|
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
|
+ <groupId>org.apache.ambari</groupId>
|
|
|
|
+ <artifactId>ambari-admin</artifactId>
|
|
|
|
+ <packaging>jar</packaging>
|
|
|
|
+ <name>Ambari Admin View</name>
|
|
|
|
+ <version>1.3.0-SNAPSHOT</version>
|
|
|
|
+ <description>Admin control panel</description>
|
|
|
|
+ <build>
|
|
|
|
+ <plugins>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.codehaus.mojo</groupId>
|
|
|
|
+ <artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
+ <version>1.8</version>
|
|
|
|
+ <executions>
|
|
|
|
+ <execution>
|
|
|
|
+ <id>parse-version</id>
|
|
|
|
+ <phase>validate</phase>
|
|
|
|
+ <goals>
|
|
|
|
+ <goal>parse-version</goal>
|
|
|
|
+ </goals>
|
|
|
|
+ </execution>
|
|
|
|
+ <execution>
|
|
|
|
+ <id>regex-property</id>
|
|
|
|
+ <goals>
|
|
|
|
+ <goal>regex-property</goal>
|
|
|
|
+ </goals>
|
|
|
|
+ <configuration>
|
|
|
|
+ <name>ambariVersion</name>
|
|
|
|
+ <value>${project.version}</value>
|
|
|
|
+ <regex>^([0-9]+)\.([0-9]+)\.([0-9]+)(\.|-).*</regex>
|
|
|
|
+ <replacement>$1.$2.$3</replacement>
|
|
|
|
+ <failIfNoMatch>false</failIfNoMatch>
|
|
|
|
+ </configuration>
|
|
|
|
+ </execution>
|
|
|
|
+ </executions>
|
|
|
|
+ </plugin>
|
|
|
|
+ <plugin>
|
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
+ <version>3.0</version>
|
|
|
|
+ </plugin>
|
|
|
|
+ <plugin>
|
|
|
|
+ <artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
+ <configuration>
|
|
|
|
+ <descriptors>
|
|
|
|
+ <descriptor>src/main/assemblies/empty.xml</descriptor>
|
|
|
|
+ </descriptors>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+ </plugins>
|
|
|
|
+ </build>
|
|
|
|
+</project>
|