217 lines
7.6 KiB
XML
Executable File
217 lines
7.6 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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>
|
|
<packaging>war</packaging>
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<groupId>com.urrsm.sng</groupId>
|
|
<artifactId>udiary</artifactId>
|
|
|
|
<!-- [START set_versions] -->
|
|
<properties>
|
|
<appengine.app.version>1.0</appengine.app.version>
|
|
<appengine.sdk.version>1.9.48</appengine.sdk.version>
|
|
|
|
<objectify.version>5.1.21</objectify.version>
|
|
<guava.version>18.0</guava.version>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
|
|
<prerequisites>
|
|
<maven>3.3.9</maven>
|
|
</prerequisites>
|
|
<!-- [END set_versions] -->
|
|
|
|
<dependencies>
|
|
<!-- Compile/runtime dependencies -->
|
|
<dependency>
|
|
<groupId>com.google.appengine</groupId>
|
|
<artifactId>appengine-api-1.0-sdk</artifactId>
|
|
<version>${appengine.sdk.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
<version>2.5</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>jstl</groupId>
|
|
<artifactId>jstl</artifactId>
|
|
<version>1.2</version>
|
|
</dependency>
|
|
|
|
<!-- [START Objectify_Dependencies] -->
|
|
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>${guava.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.googlecode.objectify</groupId>
|
|
<artifactId>objectify</artifactId>
|
|
<version>${objectify.version}</version>
|
|
</dependency>
|
|
|
|
<!-- [END Objectify_Dependencies] -->
|
|
|
|
<!-- Test Dependencies -->
|
|
<dependency>
|
|
<groupId>com.google.appengine</groupId>
|
|
<artifactId>appengine-testing</artifactId>
|
|
<version>${appengine.sdk.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.appengine</groupId>
|
|
<artifactId>appengine-api-stubs</artifactId>
|
|
<version>${appengine.sdk.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.oauth-client</groupId>
|
|
<artifactId>google-oauth-client-servlet</artifactId>
|
|
<version>1.22.0</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.oauth-client</groupId>
|
|
<artifactId>google-oauth-client-appengine</artifactId>
|
|
<version>1.22.0</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.api-client</groupId>
|
|
<artifactId>google-api-client</artifactId>
|
|
<version>1.22.0</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.apis</groupId>
|
|
<artifactId>google-api-services-oauth2</artifactId>
|
|
<version>v2-rev127-1.22.0</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.apis</groupId>
|
|
<artifactId>google-api-services-drive</artifactId>
|
|
<version>v3-rev76-1.22.0</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.code.gson</groupId>
|
|
<artifactId>gson</artifactId>
|
|
<version>2.3.1</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-codec</groupId>
|
|
<artifactId>commons-codec</artifactId>
|
|
<version>1.6</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>4.3.1</version>
|
|
<type>jar</type>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpcore</artifactId>
|
|
<version>4.4.9</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.json</groupId>
|
|
<artifactId>javax.json-api</artifactId>
|
|
<version>1.1.2</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.glassfish</groupId>
|
|
<artifactId>javax.json</artifactId>
|
|
<version>1.1</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<!-- for hot reload of the web application-->
|
|
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>versions-maven-plugin</artifactId>
|
|
<version>2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>display-dependency-updates</goal>
|
|
<goal>display-plugin-updates</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<version>3.2</version>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>1.7</source>
|
|
<target>1.7</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>2.6</version>
|
|
<configuration>
|
|
<archiveClasses>true</archiveClasses>
|
|
<webResources>
|
|
<!-- in order to interpolate version from pom into appengine-web.xml -->
|
|
<resource>
|
|
<directory>${basedir}/src/main/webapp/WEB-INF</directory>
|
|
<filtering>true</filtering>
|
|
<targetPath>WEB-INF</targetPath>
|
|
</resource>
|
|
</webResources>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.google.appengine</groupId>
|
|
<artifactId>appengine-maven-plugin</artifactId>
|
|
<version>${appengine.sdk.version}</version>
|
|
<configuration>
|
|
<enableJarClasses>false</enableJarClasses>
|
|
<!-- Comment in the below snippet to bind to all IPs instead of just localhost -->
|
|
<!-- address>0.0.0.0</address>
|
|
<port>8080</port -->
|
|
<!-- Comment in the below snippet to enable local debugging with a remote debugger
|
|
like those included with Eclipse or IntelliJ -->
|
|
<!-- jvmFlags>
|
|
<jvmFlag>-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n</jvmFlag>
|
|
</jvmFlags -->
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|