Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
s3auth/s3auth-rest/pom.xml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
438 lines (436 sloc)
14.3 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!-- | |
Copyright (c) 2012-2022, Yegor Bugayenko | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions | |
are met: 1) Redistributions of source code must retain the above | |
copyright notice, this list of conditions and the following | |
disclaimer. 2) Redistributions in binary form must reproduce the above | |
copyright notice, this list of conditions and the following | |
disclaimer in the documentation and/or other materials provided | |
with the distribution. 3) Neither the name of the s3auth.com nor | |
the names of its contributors may be used to endorse or promote | |
products derived from this software without specific prior written | |
permission. | |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT | |
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND | |
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL | |
THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, | |
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | |
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | |
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | |
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | |
OF THE POSSIBILITY OF SUCH DAMAGE. | |
--> | |
<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"> | |
<modelVersion>4.0.0</modelVersion> | |
<parent> | |
<groupId>com.s3auth</groupId> | |
<artifactId>s3auth</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
</parent> | |
<artifactId>s3auth-rest</artifactId> | |
<packaging>jar</packaging> | |
<name>s3auth-rest</name> | |
<dependencies> | |
<dependency> | |
<groupId>org.projectlombok</groupId> | |
<artifactId>lombok</artifactId> | |
<!-- version from parent --> | |
</dependency> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-log4j12</artifactId> | |
<!-- version from parent --> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.takes</groupId> | |
<artifactId>takes</artifactId> | |
<version>0.13.7</version> | |
</dependency> | |
<dependency> | |
<groupId>com.jcabi.incubator</groupId> | |
<artifactId>xembly</artifactId> | |
<version>0.21</version> | |
</dependency> | |
<dependency> | |
<groupId>javax.json</groupId> | |
<artifactId>javax.json-api</artifactId> | |
<!-- version from parent --> | |
</dependency> | |
<dependency> | |
<groupId>org.glassfish</groupId> | |
<artifactId>javax.json</artifactId> | |
<!-- version from parent --> | |
</dependency> | |
<dependency> | |
<groupId>log4j</groupId> | |
<artifactId>log4j</artifactId> | |
<!-- version from parent --> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.velocity</groupId> | |
<artifactId>velocity</artifactId> | |
<version>1.7</version> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.restfb</groupId> | |
<artifactId>restfb</artifactId> | |
<version>1.6.14</version> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.hamcrest</groupId> | |
<artifactId>hamcrest-library</artifactId> | |
<version>1.3</version> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.hamcrest</groupId> | |
<artifactId>hamcrest-core</artifactId> | |
<version>1.3</version> | |
<scope>compile</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.jcabi</groupId> | |
<artifactId>jcabi-aspects</artifactId> | |
<!-- version from parent --> | |
</dependency> | |
<dependency> | |
<groupId>com.jcabi</groupId> | |
<artifactId>jcabi-matchers</artifactId> | |
<!-- version from parent --> | |
</dependency> | |
<dependency> | |
<groupId>org.aspectj</groupId> | |
<artifactId>aspectjrt</artifactId> | |
<!-- version from parent --> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>javax.validation</groupId> | |
<artifactId>validation-api</artifactId> | |
<!-- version from parent --> | |
</dependency> | |
<dependency> | |
<groupId>org.hibernate</groupId> | |
<artifactId>hibernate-validator</artifactId> | |
<!-- version from parent --> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.jcabi</groupId> | |
<artifactId>jcabi-manifests</artifactId> | |
<!-- version from parent --> | |
</dependency> | |
<dependency> | |
<groupId>com.jcabi</groupId> | |
<artifactId>jcabi-urn</artifactId> | |
<!-- version from parent --> | |
</dependency> | |
<dependency> | |
<groupId>com.jcabi</groupId> | |
<artifactId>jcabi-urn</artifactId> | |
<!-- version from parent --> | |
<classifier>mock</classifier> | |
</dependency> | |
<dependency> | |
<groupId>com.s3auth</groupId> | |
<artifactId>s3auth-hosts</artifactId> | |
<version>${project.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>com.jcabi</groupId> | |
<artifactId>jcabi-http</artifactId> | |
<version>1.10.3</version> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.commons</groupId> | |
<artifactId>commons-lang3</artifactId> | |
<!-- version from parent --> | |
</dependency> | |
<dependency> | |
<groupId>com.sun.jersey</groupId> | |
<artifactId>jersey-client</artifactId> | |
<version>1.18.1</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>net.sourceforge.saxon</groupId> | |
<artifactId>saxon</artifactId> | |
<version>9.1.0.8</version> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>net.sourceforge.saxon</groupId> | |
<artifactId>saxon</artifactId> | |
<version>9.1.0.8</version> | |
<classifier>dom</classifier> | |
<scope>runtime</scope> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<!-- version from parent --> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<pluginManagement> | |
<plugins> | |
<plugin> | |
<artifactId>maven-deploy-plugin</artifactId> | |
<configuration> | |
<skip>true</skip> | |
</configuration> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
<plugins> | |
<plugin> | |
<groupId>com.tunyk.mvn.plugins.htmlcompressor</groupId> | |
<artifactId>htmlcompressor-maven-plugin</artifactId> | |
<version>1.3</version> | |
<executions> | |
<execution> | |
<id>compress-xsl</id> | |
<phase>generate-resources</phase> | |
<goals> | |
<goal>xml</goal> | |
</goals> | |
<configuration> | |
<srcFolder>${basedir}/src/main/xsl</srcFolder> | |
<targetFolder>${project.build.outputDirectory}/xsl</targetFolder> | |
<fileExt> | |
<ext>xsl</ext> | |
</fileExt> | |
<removeIntertagSpaces>false</removeIntertagSpaces> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<profiles> | |
<profile> | |
<id>takes-test</id> | |
<activation> | |
<property> | |
<name>!skipTests</name> | |
</property> | |
</activation> | |
<properties> | |
<failsafe.sttc.urn>urn:test:1</failsafe.sttc.urn> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>build-helper-maven-plugin</artifactId> | |
<version>1.8</version> | |
<executions> | |
<execution> | |
<id>takes-port</id> | |
<goals> | |
<goal>reserve-network-port</goal> | |
</goals> | |
<configuration> | |
<portNames> | |
<portName>takes.port</portName> | |
</portNames> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-failsafe-plugin</artifactId> | |
<configuration> | |
<systemPropertyVariables combine.children="append"> | |
<takes.home>http://localhost:${takes.port}</takes.home> | |
</systemPropertyVariables> | |
<reuseForks>false</reuseForks> | |
</configuration> | |
<executions> | |
<execution> | |
<goals> | |
<goal>integration-test</goal> | |
<goal>verify</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>exec-maven-plugin</artifactId> | |
<version>1.3.2</version> | |
<executions> | |
<execution> | |
<id>start-takes-server</id> | |
<phase>pre-integration-test</phase> | |
<goals> | |
<goal>java</goal> | |
</goals> | |
<configuration> | |
<mainClass>com.s3auth.Launch</mainClass> | |
<classpathScope>test</classpathScope> | |
<cleanupDaemonThreads>false</cleanupDaemonThreads> | |
<arguments> | |
<argument>--port=${takes.port}</argument> | |
<argument>--daemon=yes</argument> | |
</arguments> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> | |
<profile> | |
<id>dynamodb</id> | |
<activation> | |
<property> | |
<name>!skipTests</name> | |
</property> | |
</activation> | |
<properties> | |
<failsafe.dynamo.key>AAAAABBBBBAAAAABBBBB</failsafe.dynamo.key> | |
<failsafe.dynamo.secret>ABCDABCDABCDABCDABCDABCDABCDABCDABCDABCD</failsafe.dynamo.secret> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-dependency-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>unpack-dynamodb-local</id> | |
<goals> | |
<goal>unpack</goal> | |
</goals> | |
<configuration> | |
<artifactItems> | |
<artifactItem> | |
<groupId>com.jcabi</groupId> | |
<artifactId>DynamoDBLocal</artifactId> | |
<version>2014-01-08</version> | |
<type>zip</type> | |
<outputDirectory>${project.build.directory}/dynamodb-dist</outputDirectory> | |
<overWrite>false</overWrite> | |
</artifactItem> | |
</artifactItems> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>build-helper-maven-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>reserver-dynamodb-port</id> | |
<phase>initialize</phase> | |
<goals> | |
<goal>reserve-network-port</goal> | |
</goals> | |
<configuration> | |
<portNames> | |
<portName>dynamodb.port</portName> | |
</portNames> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>com.jcabi</groupId> | |
<artifactId>jcabi-dynamodb-maven-plugin</artifactId> | |
<version>0.7.1</version> | |
<executions> | |
<execution> | |
<id>dynamodb-integration-test</id> | |
<goals> | |
<goal>start</goal> | |
<goal>create-tables</goal> | |
<goal>stop</goal> | |
</goals> | |
<configuration> | |
<port>${dynamodb.port}</port> | |
<dist>${project.build.directory}/dynamodb-dist</dist> | |
<key>${failsafe.dynamo.key}</key> | |
<secret>${failsafe.dynamo.secret}</secret> | |
<tables> | |
<table>${basedir}/src/test/dynamodb/s3auth.json</table> | |
</tables> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> | |
<profile> | |
<id>heroku</id> | |
<activation> | |
<file> | |
<exists>pom.xml</exists> | |
</file> | |
</activation> | |
<build> | |
<finalName>s3auth-rest</finalName> | |
<plugins> | |
<plugin> | |
<artifactId>maven-jar-plugin</artifactId> | |
<configuration> | |
<archive> | |
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> | |
</archive> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-dependency-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>copy-dependencies-for-heroku</id> | |
<phase>package</phase> | |
<goals> | |
<goal>copy-dependencies</goal> | |
</goals> | |
<configuration> | |
<outputDirectory>${project.build.directory}/deps</outputDirectory> | |
<overWriteReleases>true</overWriteReleases> | |
<overWriteSnapshots>true</overWriteSnapshots> | |
<overWriteIfNewer>true</overWriteIfNewer> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> | |
<profile> | |
<id>qulice</id> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>com.qulice</groupId> | |
<artifactId>qulice-maven-plugin</artifactId> | |
<configuration> | |
<excludes> | |
<exclude>xml:/src/main/webapp/WEB-INF/web.xml</exclude> | |
<exclude>xml:/src/test/.*</exclude> | |
<exclude>duplicatefinder:.*</exclude> | |
<exclude>findbugs:.*</exclude> | |
</excludes> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> | |
</profiles> | |
</project> |