|
@@ -0,0 +1,96 @@
|
|
|
+<!--
|
|
|
+ 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-view-examples</artifactId>
|
|
|
+ <version>1.0.0</version>
|
|
|
+ </parent>
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+ <artifactId>simple-view</artifactId>
|
|
|
+ <version>0.1.0</version>
|
|
|
+ <packaging>jar</packaging>
|
|
|
+ <name>Ambari Simple View</name>
|
|
|
+ <url>http://maven.apache.org</url>
|
|
|
+ <properties>
|
|
|
+ <ambari.version>1.3.0-SNAPSHOT</ambari.version>
|
|
|
+ </properties>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.ambari</groupId>
|
|
|
+ <artifactId>ambari-views</artifactId>
|
|
|
+ <version>${ambari.version}</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.sun.jersey</groupId>
|
|
|
+ <artifactId>jersey-server</artifactId>
|
|
|
+ <version>1.8</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.inject</groupId>
|
|
|
+ <artifactId>javax.inject</artifactId>
|
|
|
+ <version>1</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+
|
|
|
+ <build>
|
|
|
+ <pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
|
+ <version>2.12</version>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </pluginManagement>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.codehaus.mojo</groupId>
|
|
|
+ <artifactId>rpm-maven-plugin</artifactId>
|
|
|
+ <version>2.0.1</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <phase>none</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>rpm</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources/ui/</directory>
|
|
|
+ <filtering>false</filtering>
|
|
|
+ </resource>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources/</directory>
|
|
|
+ <filtering>false</filtering>
|
|
|
+ <includes>
|
|
|
+ <include>view.xml</include>
|
|
|
+ </includes>
|
|
|
+ </resource>
|
|
|
+ <resource>
|
|
|
+ <targetPath>WEB-INF/lib</targetPath>
|
|
|
+ <filtering>false</filtering>
|
|
|
+ <directory>target/lib</directory>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+ </build>
|
|
|
+
|
|
|
+</project>
|