kopia lustrzana https://github.com/gaul/s3proxy
208 wiersze
7.0 KiB
XML
208 wiersze
7.0 KiB
XML
<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>org.sonatype.oss</groupId>
|
|
<artifactId>oss-parent</artifactId>
|
|
<version>7</version>
|
|
</parent>
|
|
|
|
<groupId>org.gaul</groupId>
|
|
<artifactId>s3proxy</artifactId>
|
|
<version>1.2.0-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>S3 Proxy</name>
|
|
<url>https://github.com/andrewgaul/s3proxy</url>
|
|
<description>S3Proxy allows applications using the S3 API to access other object stores</description>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>The Apache Software License, Version 2.0</name>
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<scm>
|
|
<connection>scm:git:git@github.com:andrewgaul/s3proxy.git</connection>
|
|
<developerConnection>scm:git:git@github.com:andrewgaul/s3proxy.git</developerConnection>
|
|
<url>git@github.com:andrewgaul/s3proxy.git</url>
|
|
</scm>
|
|
|
|
<developers>
|
|
<developer>
|
|
<name>Andrew Gaul</name>
|
|
<id>gaul</id>
|
|
<email>andrew@gaul.org</email>
|
|
</developer>
|
|
</developers>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
<version>2.12.1</version>
|
|
<configuration>
|
|
<configLocation>src/main/resources/checkstyle.xml</configLocation>
|
|
<headerLocation>src/main/resources/copyright_header.txt</headerLocation>
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
<violationSeverity>warning</violationSeverity>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<configuration>
|
|
<source>1.7</source>
|
|
<target>1.7</target>
|
|
<showDeprecation>true</showDeprecation>
|
|
<showWarnings>true</showWarnings>
|
|
<compilerArguments>
|
|
<Xlint />
|
|
</compilerArguments>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>2.3</version>
|
|
<configuration>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>META-INF/*.SF</exclude>
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
<exclude>about.html</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
<transformers>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<manifestEntries>
|
|
<Main-Class>org.gaul.s3proxy.S3Proxy</Main-Class>
|
|
<Implementation-Build>${buildNumber}</Implementation-Build>
|
|
<Implementation-Version>${project.version}</Implementation-Version>
|
|
<Build-Date>${timestamp}</Build-Date>
|
|
</manifestEntries>
|
|
</transformer>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"/>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"/>
|
|
</transformers>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>jar-with-dependencies</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<shadedClassifierName>jar-with-dependencies</shadedClassifierName>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.15</version>
|
|
<configuration>
|
|
<parallel>classes</parallel>
|
|
<threadCount>1</threadCount>
|
|
<argLine>-Xmx256m</argLine>
|
|
<redirectTestOutputToFile>true</redirectTestOutputToFile>
|
|
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
<configuration>
|
|
<effort>Max</effort>
|
|
<omitVisitors>CrossSiteScripting</omitVisitors>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.skife.maven</groupId>
|
|
<artifactId>really-executable-jar-maven-plugin</artifactId>
|
|
<version>1.3.0</version>
|
|
<configuration>
|
|
<programFile>s3proxy</programFile>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>really-executable-jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<jclouds.version>1.8.0</jclouds.version>
|
|
<slf4j.version>1.7.7</slf4j.version>
|
|
</properties>
|
|
|
|
<prerequisites>
|
|
<maven>3.0.5</maven>
|
|
</prerequisites>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>1.1.2</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.11</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.jclouds</groupId>
|
|
<artifactId>jclouds-allblobstore</artifactId>
|
|
<version>${jclouds.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.jclouds.driver</groupId>
|
|
<artifactId>jclouds-slf4j</artifactId>
|
|
<version>${jclouds.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.jclouds.labs</groupId>
|
|
<artifactId>glacier</artifactId>
|
|
<version>${jclouds.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<scope>test</scope>
|
|
<version>1.6.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
<artifactId>jetty-servlet</artifactId>
|
|
<version>9.2.2.v20140723</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|