|
@@ -0,0 +1,185 @@
|
|
|
+<?xml version="1.0"?>
|
|
|
+<!--
|
|
|
+ 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</artifactId>
|
|
|
+ <version>1.0-SNAPSHOT</version>
|
|
|
+ </parent>
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+ <groupId>org.apache.ambari</groupId>
|
|
|
+ <artifactId>ambari-server</artifactId>
|
|
|
+ <packaging>jar</packaging>
|
|
|
+ <name>ambari-server</name>
|
|
|
+ <version>1.0-SNAPSHOT</version>
|
|
|
+ <description>Ambari Server</description>
|
|
|
+ <build>
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-shade-plugin</artifactId>
|
|
|
+ <version>1.6</version>
|
|
|
+ <configuration>
|
|
|
+ <createDependencyReducedPom>true</createDependencyReducedPom>
|
|
|
+ <filters>
|
|
|
+ <filter>
|
|
|
+ <artifact>*:*</artifact>
|
|
|
+ <excludes>
|
|
|
+ <exclude>META-INF/*.SF</exclude>
|
|
|
+ <exclude>META-INF/*.DSA</exclude>
|
|
|
+ <exclude>META-INF/*.RSA</exclude>
|
|
|
+ </excludes>
|
|
|
+ </filter>
|
|
|
+ </filters>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>shade</goal>
|
|
|
+ </goals>
|
|
|
+ <configuration>
|
|
|
+ <transformers>
|
|
|
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
|
|
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
|
+ <mainClass>org.apache.ambari.controller.AmbariController</mainClass>
|
|
|
+ </transformer>
|
|
|
+ </transformers>
|
|
|
+ </configuration>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <artifactId>maven-assembly-plugin</artifactId>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+ <profiles>
|
|
|
+ <profile>
|
|
|
+ <id>docs</id>
|
|
|
+ <activation>
|
|
|
+ <file>
|
|
|
+ <exists>/usr/bin/xsltproc</exists>
|
|
|
+ </file>
|
|
|
+ </activation>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.sun.jersey.contribs</groupId>
|
|
|
+ <artifactId>maven-wadl-plugin</artifactId>
|
|
|
+ <version>1.8</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.sun.jersey.contribs</groupId>
|
|
|
+ <artifactId>wadl-resourcedoc-doclet</artifactId>
|
|
|
+ <version>1.8</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ </profile>
|
|
|
+ </profiles>
|
|
|
+ <pluginRepositories>
|
|
|
+ <pluginRepository>
|
|
|
+ <id>maven2-repository.dev.java.net</id>
|
|
|
+ <name>Java.net Repository for Maven</name>
|
|
|
+ <url>http://download.java.net/maven/2/</url>
|
|
|
+ <layout>default</layout>
|
|
|
+ </pluginRepository>
|
|
|
+ <pluginRepository>
|
|
|
+ <id>maven2-glassfish-repository.dev.java.net</id>
|
|
|
+ <name>Java.net Repository for Maven</name>
|
|
|
+ <url>http://download.java.net/maven/glassfish/</url>
|
|
|
+ </pluginRepository>
|
|
|
+ </pluginRepositories>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.testng</groupId>
|
|
|
+ <artifactId>testng</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.google.inject</groupId>
|
|
|
+ <artifactId>guice</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.google.inject.extensions</groupId>
|
|
|
+ <artifactId>guice-assistedinject</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mockito</groupId>
|
|
|
+ <artifactId>mockito-core</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.ambari</groupId>
|
|
|
+ <artifactId>ambari-client</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mortbay.jetty</groupId>
|
|
|
+ <artifactId>jetty</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-logging</groupId>
|
|
|
+ <artifactId>commons-logging</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-codec</groupId>
|
|
|
+ <artifactId>commons-codec</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-lang</groupId>
|
|
|
+ <artifactId>commons-lang</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>commons-httpclient</groupId>
|
|
|
+ <artifactId>commons-httpclient</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>javax.servlet</groupId>
|
|
|
+ <artifactId>servlet-api</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.sun.jersey</groupId>
|
|
|
+ <artifactId>jersey-json</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.sun.jersey</groupId>
|
|
|
+ <artifactId>jersey-server</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.sun.jersey</groupId>
|
|
|
+ <artifactId>jersey-client</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.sun.jersey.contribs</groupId>
|
|
|
+ <artifactId>jersey-multipart</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.sun.jersey.jersey-test-framework</groupId>
|
|
|
+ <artifactId>jersey-test-framework-external</artifactId>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ <distributionManagement>
|
|
|
+ <site>
|
|
|
+ <id>apache-website</id>
|
|
|
+ <name>Apache website</name>
|
|
|
+ <url>scpexe://people.apache.org/www/incubator.apache.org/ambari/ambari-controller</url>
|
|
|
+ </site>
|
|
|
+ </distributionManagement>
|
|
|
+</project>
|