You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
239 lines
9.2 KiB
XML
239 lines
9.2 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>
|
|
|
|
<prerequisites>
|
|
<maven>3.0.3</maven>
|
|
</prerequisites>
|
|
|
|
<groupId>com.omertron</groupId>
|
|
<artifactId>themoviedbapi</artifactId>
|
|
<version>3.4-SNAPSHOT</version>
|
|
<name>API-The MovieDB</name>
|
|
<packaging>jar</packaging>
|
|
<description>API for the TheMovieDb.org website</description>
|
|
|
|
<properties>
|
|
<skipTests>false</skipTests>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<distribution.format>zip</distribution.format>
|
|
</properties>
|
|
|
|
<issueManagement>
|
|
<system>GitHub</system>
|
|
<url>https://github.com/Omertron/api-themoviedb/issues</url>
|
|
</issueManagement>
|
|
|
|
<ciManagement>
|
|
<system>Hudson CI</system>
|
|
<url>http://jenkins.omertron.com/job/API-TheMovieDb/</url>
|
|
</ciManagement>
|
|
|
|
<scm>
|
|
<url>scm:git:git@github.com:Omertron/api-themoviedb.git</url>
|
|
<connection>scm:git:git@github.com:Omertron/api-themoviedb.git</connection>
|
|
<developerConnection>scm:git:git@github.com:Omertron/api-themoviedb.git</developerConnection>
|
|
</scm>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.11</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>1.2.17</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>2.1.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-annotations</artifactId>
|
|
<version>2.1.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>2.1.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-codec</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
<version>1.7</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.1</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>release-sign-artifacts</id>
|
|
<activation>
|
|
<property>
|
|
<name>performRelease</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
<version>1.1</version>
|
|
<configuration>
|
|
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
|
|
<revisionOnScmFailure>0000</revisionOnScmFailure>
|
|
<timestampFormat>{0,date,yyyy-MM-dd HH:mm:ss}</timestampFormat>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>create</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>2.5.1</version>
|
|
<configuration>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
<failOnError>true</failOnError>
|
|
<verbose>true</verbose>
|
|
<!-- excludes><exclude>**/*</exclude></excludes -->
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifestEntries>
|
|
<Specification-Title>${project.name}</Specification-Title>
|
|
<Specification-Version>${project.version}</Specification-Version>
|
|
<Implementation-Version>${buildNumber}</Implementation-Version>
|
|
<Implementation-Title>${timestamp}</Implementation-Title>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- To skip tests by default -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.12.3</version>
|
|
<configuration>
|
|
<skipTests>${skipTests}</skipTests>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<executions>
|
|
<execution>
|
|
<id>create-version-txt</id>
|
|
<phase>generate-resources</phase>
|
|
<configuration>
|
|
<target>
|
|
<property name="version_file" value="${project.build.directory}/version.txt" />
|
|
<property name="header_line" value="The MovieDb API${line.separator}" />
|
|
<property name="build_date_line" value="Build Date: ${timestamp}${line.separator}" />
|
|
<property name="version_line" value="Version: ${project.version}${line.separator}" />
|
|
<!--<property name="revision_line" value="Revision: r${buildNumber}${line.separator}" />-->
|
|
<echo>Writing version file: ${version_file}</echo>
|
|
<echo file="${version_file}" append="false">${header_line}</echo>
|
|
<echo file="${version_file}" append="true">${build_date_line}</echo>
|
|
<echo file="${version_file}" append="true">${version_line}</echo>
|
|
<!--<echo file="${version_file}" append="true">${revision_line}</echo>-->
|
|
</target>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.3</version>
|
|
<executions>
|
|
<execution>
|
|
<id>distro-assembly</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
<configuration>
|
|
<descriptors>
|
|
<descriptor>src/main/resources/bin.xml</descriptor>
|
|
</descriptors>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
<version>1.3.1</version>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<finalName>${project.artifactId}-${project.version}-r${buildNumber}</finalName>
|
|
<resources>
|
|
</resources>
|
|
|
|
</build>
|
|
</project>
|