| <?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.1.0-SNAPSHOT</version> |
| <relativePath>../</relativePath> |
| </parent> |
| |
| <!-- Override these properties in your settings.xml in an active profile --> |
| <properties> |
| |
| </properties> |
| |
| <artifactId>usergrid-services</artifactId> |
| <name>Usergrid Services</name> |
| <description>Service layer for Usergrid system.</description> |
| <packaging>jar</packaging> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| |
| |
| <!-- PROFILES --> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| <includes> |
| <include>**/*.xml</include> |
| </includes> |
| </resource> |
| <resource> |
| <directory>src/main/python</directory> |
| </resource> |
| </resources> |
| <testResources> |
| <testResource> |
| <directory>src/test/resources</directory> |
| <filtering>true</filtering> |
| <includes> |
| <include>**/*.yaml</include> |
| <include>**/*.xml</include> |
| <include>**/*.properties</include> |
| <include>**/*.p12</include> |
| <include>**/*.json</include> |
| </includes> |
| </testResource> |
| <testResource> |
| <directory>src/main/python</directory> |
| </testResource> |
| </testResources> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${surefire.plugin.version}</version> |
| |
| <configuration> |
| <systemPropertyVariables> |
| <storage-config>${basedir}/src/test/conf</storage-config> |
| <target.directory>${project.build.directory}</target.directory> |
| </systemPropertyVariables> |
| <parallel>${usergrid.it.parallel}</parallel> |
| <forkCount>${usergrid.it.forkCount}</forkCount> |
| <threadCount>${usergrid.it.threads}</threadCount> |
| <reuseForks>${usergrid.it.reuseForks}</reuseForks> |
| <useSystemClassLoader>false</useSystemClassLoader> |
| <argLine>-Dtest.barrier.timestamp=${maven.build.timestamp} -Dtest.clean.storage=true -Xmx${ug.heapmax} -Xms${ug.heapmin} -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -javaagent:${settings.localRepository}/com/github/stephenc/jamm/0.2.5/jamm-0.2.5.jar ${ug.argline} |
| </argLine> |
| <includes> |
| <include>**/*IT.java</include> |
| <include>**/*Test.java</include> |
| </includes> |
| |
| <!-- exclude our serial tests --> |
| <excludes> |
| <exclude>**/*Scheduler*IT.java</exclude> |
| <exclude>**/*Notification*IT.java</exclude> |
| </excludes> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven.surefire</groupId> |
| <artifactId>${surefire.plugin.artifactName}</artifactId> |
| <version>${surefire.plugin.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>3.0.21</version> |
| </dependency> |
| </dependencies> |
| |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| |
| <!-- Usergrid Dependencies --> |
| |
| <dependency> |
| <groupId>org.apache.usergrid</groupId> |
| <artifactId>usergrid-config</artifactId> |
| <version>${project.version}</version> |
| <scope>runtime</scope> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>org.apache.usergrid</groupId> |
| <artifactId>usergrid-core</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>commons-logging</artifactId> |
| <groupId>commons-logging</groupId> |
| </exclusion> |
| |
| <exclusion> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mindrot</groupId> |
| <artifactId>jbcrypt</artifactId> |
| </dependency> |
| |
| <!-- Apache Dependencies --> |
| |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.shiro</groupId> |
| <artifactId>shiro-core</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.shiro</groupId> |
| <artifactId>shiro-spring</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.shiro</groupId> |
| <artifactId>shiro-web</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.amber</groupId> |
| <artifactId>amber-oauth2-common</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.amber</groupId> |
| <artifactId>amber-oauth2-authzserver</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.amber</groupId> |
| <artifactId>amber-oauth2-resourceserver</artifactId> |
| </dependency> |
| |
| <!-- SUN, Javax Package and Other Com Dependencies --> |
| |
| <dependency> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-core</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-client</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-json</artifactId> |
| </dependency> |
| |
| <!-- Codehaus, JClouds, Spring and Other Org Dependencies --> |
| |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-core</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-beans</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.codehaus.jettison</groupId> |
| <artifactId>jettison</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.amazonaws</groupId> |
| <artifactId>aws-java-sdk-s3</artifactId> |
| <!--<exclusions>--> |
| <!--<exclusion>--> |
| <!--<artifactId>jackson-databind</artifactId>--> |
| <!--<groupId>com.fasterxml.jackson.core</groupId>--> |
| <!--</exclusion>--> |
| <!--</exclusions>--> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.jclouds</groupId> |
| <artifactId>jclouds-blobstore</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.jclouds</groupId> |
| <artifactId>jclouds-core</artifactId> |
| <exclusions> |
| <exclusion> |
| <artifactId>guice-assistedinject</artifactId> |
| <groupId>com.google.inject.extensions</groupId> |
| </exclusion> |
| <exclusion> |
| <artifactId>guice</artifactId> |
| <groupId>com.google.inject</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.jclouds</groupId> |
| <artifactId>jclouds-allblobstore</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.jclouds.driver</groupId> |
| <artifactId>jclouds-netty</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.jclouds.driver</groupId> |
| <artifactId>jclouds-apachehc</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.jclouds.driver</groupId> |
| <artifactId>jclouds-log4j</artifactId> |
| <exclusions> |
| <exclusion> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.jclouds.driver</groupId> |
| <artifactId>jclouds-slf4j</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.python</groupId> |
| <artifactId>jython</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.tika</groupId> |
| <artifactId>tika-core</artifactId> |
| </dependency> |
| |
| <!-- Testing and Logging Dependencies --> |
| <dependency> |
| <!-- |
| Do not remove this slf4j-api dependency remove even though pulled |
| in transitively. If not present IntelliJ IDEA wigs out. |
| --> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.usergrid</groupId> |
| <artifactId>usergrid-core</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| <classifier>tests</classifier> |
| </dependency> |
| |
| <dependency> |
| <groupId>${project.parent.groupId}</groupId> |
| <artifactId>common</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.usergrid</groupId> |
| <artifactId>usergrid-config</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| <classifier>tests</classifier> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.usergrid</groupId> |
| <artifactId>usergrid-test-utils</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <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.jvnet.mock-javamail</groupId> |
| <artifactId>mock-javamail</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-junit4</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-module-junit4-rule-agent</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.powermock</groupId> |
| <artifactId>powermock-api-mockito</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.hectorclient</groupId> |
| <artifactId>hector-test</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jul-to-slf4j</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.relayrides</groupId> |
| <artifactId>pushy</artifactId> |
| <!-- The sha in the version is the git commit used in this build. Check out the pushy source, then this commit to build the library locally --> |
| <version>0.4</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.ganyo</groupId> |
| <artifactId>gcm-server</artifactId> |
| <version>1.0.2</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.clearspring.analytics</groupId> |
| <artifactId>stream</artifactId> |
| <version>2.7.0</version> |
| </dependency> |
| <dependency> |
| <groupId>com.github.fernandospr</groupId> |
| <artifactId>java-wns</artifactId> |
| <version>1.3</version> |
| <exclusions> |
| <exclusion> |
| <artifactId>jackson-jaxrs</artifactId> |
| <groupId>org.codehaus.jackson</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| </dependencies> |
| </project> |