| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ~ 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/xsd/maven-4.0.0.xsd"> |
| <parent> |
| <artifactId>eagle-parent</artifactId> |
| <groupId>org.apache.eagle</groupId> |
| <version>0.5.1-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>eagle-server</artifactId> |
| <name>Eagle::Server::Main</name> |
| <description> |
| Apache Eagle Server |
| </description> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>alert-metadata-service</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>xercesImpl</artifactId> |
| <groupId>xerces</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>alert-coordinator</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.wso2.orbit.com.lmax</groupId> |
| <artifactId>disruptor</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-metadata-base</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-app-base</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-app-streamproxy</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-common</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.wso2.orbit.com.lmax</groupId> |
| <artifactId>disruptor</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-entity-base</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>log4j-over-slf4j</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- Alert unit topology as an application --> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-alert-app</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.dropwizard</groupId> |
| <artifactId>dropwizard-core</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>log4j-over-slf4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>io.dropwizard</groupId> |
| <artifactId>dropwizard-jersey</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>io.swagger</groupId> |
| <artifactId>swagger-jersey-jaxrs</artifactId> |
| <scope>compile</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.sun.jersey.contribs</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>com.typesafe</groupId> |
| <artifactId>config</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.hubspot.dropwizard</groupId> |
| <artifactId>dropwizard-guice</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.dropwizard</groupId> |
| <artifactId>dropwizard-assets</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>io.dropwizard</groupId> |
| <artifactId>dropwizard-auth</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>javax.ws.rs</groupId> |
| <artifactId>javax.ws.rs-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>dumbster</groupId> |
| <artifactId>dumbster</artifactId> |
| <version>1.6</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.dropwizard</groupId> |
| <artifactId>dropwizard-testing</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jasypt</groupId> |
| <artifactId>jasypt</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <profiles> |
| <profile> |
| <id>ui</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>exec-ui-install</id> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>exec</goal> |
| </goals> |
| <configuration> |
| <executable>bash</executable> |
| <arguments> |
| <argument>${basedir}/ui-build.sh</argument> |
| </arguments> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| |
| <profile> |
| <id>dev</id> |
| <activation> |
| <!-- TODO: Should disable "dev" profile by default --> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| |
| <!-- ========================================================================================================= |
| Following specific application related dependencies into independent module: eagle-develop |
| ========================================================================================================= --> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-app-example</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-security-hbase-auditlog</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-security-hbase-web</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-security-oozie-auditlog</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-security-oozie-web</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-security-hdfs-auditlog</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-security-hdfs-web</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-gc</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-jpm-web</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-jpm-mr-history</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-jpm-mr-running</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-jpm-service</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-jpm-aggregation</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-jpm-spark-history</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-hadoop-queue</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- add topology health check--> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-topology-app</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <!-- add metirc webUI --> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-hadoop-metric</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-hbase-web</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-hdfs-web</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.eagle</groupId> |
| <artifactId>eagle-system-web</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| </dependencies> |
| </profile> |
| </profiles> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <configuration> |
| <failOnViolation>true</failOnViolation> |
| <failsOnError>true</failsOnError> |
| </configuration> |
| </plugin> |
| </plugins> |
| <resources> |
| <resource> |
| <directory>src/main/webapp/app/ui</directory> |
| <targetPath>assets</targetPath> |
| </resource> |
| <resource> |
| <directory>src/main/resources</directory> |
| </resource> |
| </resources> |
| </build> |
| </project> |