| <?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/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.usergrid</groupId> |
| <artifactId>usergrid</artifactId> |
| <version>2.0.0-SNAPSHOT</version> |
| <relativePath>../</relativePath> |
| </parent> |
| |
| <artifactId>usergrid-launcher</artifactId> |
| <name>Usergrid Launcher</name> |
| <description>Usergrid Launcher</description> |
| <packaging>jar</packaging> |
| |
| <properties> |
| <jar.skipIfEmpty>true</jar.skipIfEmpty> |
| </properties> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| <includes> |
| <include>**/*.xml</include> |
| <include>**/*.png</include> |
| <include>**/*.yaml</include> |
| <include>**/*.properties</include> |
| <include>**/spring.handlers</include> |
| <include>**/spring.schemas</include> |
| <include>**/services/**</include> |
| </includes> |
| </resource> |
| </resources> |
| |
| <testResources> |
| <testResource> |
| <directory>src/test/resources</directory> |
| <filtering>true</filtering> |
| <includes> |
| <include>**/*.xml</include> |
| </includes> |
| </testResource> |
| |
| <testResource> |
| <directory>src/test/resources</directory> |
| <filtering>false</filtering> |
| <excludes> |
| <exclude>**/*.xml</exclude> |
| </excludes> |
| </testResource> |
| </testResources> |
| |
| <plugins> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy</id> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>unpack-dependencies</goal> |
| </goals> |
| <configuration> |
| <excludeArtifactIds>junit,AppleJavaExtensions</excludeArtifactIds> |
| <outputDirectory>${project.build.directory}/classes</outputDirectory> |
| <excludes>**/spring.handlers, **/spring.schemas, **/META-INF/services/**</excludes> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <archive> |
| <manifest> |
| <mainClass>org.apache.usergrid.launcher.JarMain</mainClass> |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| </manifest> |
| </archive> |
| <excludes> |
| <exclude>*.jar</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <!-- Usergrid Dependencies --> |
| |
| <dependency> |
| <groupId>org.apache.usergrid</groupId> |
| <artifactId>usergrid-config</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.usergrid</groupId> |
| <artifactId>usergrid-rest</artifactId> |
| <version>${project.version}</version> |
| <classifier>classes</classifier> |
| <exclusions> |
| <exclusion> |
| <artifactId>servlet-api</artifactId> |
| <groupId>javax.servlet</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.usergrid</groupId> |
| <artifactId>usergrid-rest</artifactId> |
| <version>${project.version}</version> |
| <classifier>compiled-jsp</classifier> |
| </dependency> |
| |
| <!-- Apache Dependencies --> |
| |
| <dependency> |
| <groupId>org.apache.tomcat.embed</groupId> |
| <artifactId>tomcat-embed-jasper</artifactId> |
| <exclusions> |
| <exclusion> |
| <artifactId>servlet-api</artifactId> |
| <groupId>org.apache.tomcat</groupId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>juli</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-cli</groupId> |
| <artifactId>commons-cli</artifactId> |
| </dependency> |
| |
| <!-- SUN, Javax Package, and Other Com/Net Dependencies --> |
| |
| <dependency> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-grizzly2</artifactId> |
| <exclusions> |
| <exclusion> |
| <artifactId>grizzly-http-server</artifactId> |
| <groupId>org.glassfish.grizzly</groupId> |
| </exclusion> |
| |
| <exclusion> |
| <artifactId>grizzly-http</artifactId> |
| <groupId>org.glassfish.grizzly</groupId> |
| </exclusion> |
| |
| <exclusion> |
| <artifactId>grizzly-http-servlet</artifactId> |
| <groupId>org.glassfish.grizzly</groupId> |
| </exclusion> |
| |
| <exclusion> |
| <artifactId>javax.servlet</artifactId> |
| <groupId>org.glassfish</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.annotation</groupId> |
| <artifactId>jsr250-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.ws.rs</groupId> |
| <artifactId>jsr311-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| </dependency> |
| |
| <!-- Codehaus, Spring, and Other Org Dependencies --> |
| |
| <dependency> |
| <groupId>org.hectorclient</groupId> |
| <artifactId>hector-test</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.glassfish.grizzly</groupId> |
| <artifactId>grizzly-http-servlet-server</artifactId> |
| </dependency> |
| |
| <!-- Testing and Logging Dependencies --> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-test</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jul-to-slf4j</artifactId> |
| </dependency> |
| |
| <dependency> |
| <artifactId>log4j</artifactId> |
| <groupId>log4j</groupId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.apple</groupId> |
| <artifactId>AppleJavaExtensions</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <version>2.9.10.1</version> |
| <type>jar</type> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mindrot</groupId> |
| <artifactId>jbcrypt</artifactId> |
| </dependency> |
| |
| </dependencies> |
| </project> |