| <?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.2.0-SNAPSHOT</version> |
| <relativePath>../</relativePath> |
| </parent> |
| |
| <artifactId>usergrid-tools</artifactId> |
| <name>Usergrid Tools</name> |
| <description>Command line tools for Usergrid system.</description> |
| <packaging>jar</packaging> |
| <version>2.2.0-SNAPSHOT</version> |
| |
| <build> |
| |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| <includes> |
| <include>**/*.sql</include> |
| <include>**/*.xml</include> |
| <include>**/*.yaml</include> |
| <include>**/*.properties</include> |
| <include>**/spring.handlers</include> |
| <include>**/spring.schemas</include> |
| <include>**/services/**</include> |
| </includes> |
| </resource> |
| </resources> |
| |
| <plugins> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| |
| <configuration> |
| <skipTests>true</skipTests> |
| <systemPropertyVariables> |
| <storage-config>${basedir}/src/test/conf</storage-config> |
| </systemPropertyVariables> |
| <forkMode>always</forkMode> |
| <argLine>-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> |
| </configuration> |
| |
| </plugin> |
| |
| <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> |
| <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> |
| <version>2.3.1</version> |
| <configuration> |
| <archive> |
| <manifest> |
| <mainClass>org.apache.usergrid.tools.Command</mainClass> |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| </manifest> |
| </archive> |
| <excludes> |
| <exclude>*.jar</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assembly/release.xml</descriptor> |
| </descriptors> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| </configuration> |
| <executions> |
| <execution> |
| <id>make-assembly</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| </execution> |
| </executions> |
| </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-services</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.usergrid</groupId> |
| <artifactId>usergrid-rest</artifactId> |
| <version>${project.version}</version> |
| <classifier>classes</classifier> |
| </dependency> |
| |
| <!-- Apache Dependencies --> |
| |
| <dependency> |
| <groupId>commons-cli</groupId> |
| <artifactId>commons-cli</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-beanutils</groupId> |
| <artifactId>commons-beanutils</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </dependency> |
| |
| <!-- SUN, Javax Packages and Other Com/Net Dependencies --> |
| |
| <dependency> |
| <groupId>net.sf.opencsv</groupId> |
| <artifactId>opencsv</artifactId> |
| </dependency> |
| |
| <!-- Codehaus, Spring, and Other Org Dependencies --> |
| |
| <dependency> |
| <!-- TODO - should not scope be 'test' ? --> |
| <groupId>org.hectorclient</groupId> |
| <artifactId>hector-test</artifactId> |
| </dependency> |
| |
| <dependency> |
| <!-- TODO - should not scope be 'test' ? --> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </dependency> |
| |
| <dependency> |
| <!-- TODO - should not scope be 'test' ? --> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| </dependency> |
| |
| <dependency> |
| <!-- TODO - should not scope be 'test' ? --> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jul-to-slf4j</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>postgresql</groupId> |
| <artifactId>postgresql</artifactId> |
| <version>9.1-901.jdbc4</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>javax.servlet-api</artifactId> |
| </dependency> |
| |
| <!-- Testing and Logging Dependencies --> |
| |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-test</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.usergrid</groupId> |
| <artifactId>usergrid-core</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| <classifier>tests</classifier> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.usergrid</groupId> |
| <artifactId>usergrid-test-utils</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.usergrid</groupId> |
| <artifactId>usergrid-services</artifactId> |
| <classifier>tests</classifier> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>io.codearte.jfairy</groupId> |
| <artifactId>jfairy</artifactId> |
| <version>0.4.3</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.amazonaws</groupId> |
| <artifactId>aws-java-sdk-core</artifactId> |
| <version>${aws.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.amazonaws</groupId> |
| <artifactId>aws-java-sdk-s3</artifactId> |
| <version>${aws.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockito.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| </project> |