Home | History | Annotate | Download | only in dashboard
      1 <!--
      2   Copyright 2016 Google Inc.
      3 
      4   Licensed under the Apache License, Version 2.0 (the "License");
      5   you may not use this file except in compliance with the License.
      6   You may obtain a copy of the License at
      7 
      8        http://www.apache.org/licenses/LICENSE-2.0
      9 
     10   Unless required by applicable law or agreed to in writing, software
     11   distributed under the License is distributed on an "AS IS" BASIS,
     12   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13   See the License for the specific language governing permissions and
     14   limitations under the License.
     15 -->
     16 
     17 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     18     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     19   <modelVersion>4.0.0</modelVersion>
     20   <packaging>war</packaging>
     21   <version>1.0-SNAPSHOT</version>
     22   <groupId>com.android.vts</groupId>
     23   <artifactId>vts-dashboard</artifactId>
     24 
     25   <properties>
     26     <app.id>s~google.com:android-vts-staging</app.id>
     27     <app.version>4</app.version>
     28     <appengine.version>1.9.62</appengine.version>
     29 
     30     <appengine.clientID></appengine.clientID>
     31     <appengine.serviceClientID></appengine.serviceClientID>
     32     <appengine.senderEmail></appengine.senderEmail>
     33     <appengine.emailDomain></appengine.emailDomain>
     34     <appengine.defaultEmail></appengine.defaultEmail>
     35     <gerrit.uri></gerrit.uri>
     36     <gerrit.scope></gerrit.scope>
     37     <analytics.id></analytics.id>
     38 
     39     <gcs.projectID></gcs.projectID>
     40     <gcs.keyFile></gcs.keyFile>
     41     <gcs.bucketName></gcs.bucketName>
     42 
     43     <maven.compiler.target>1.8</maven.compiler.target>
     44     <maven.compiler.source>1.8</maven.compiler.source>
     45     <maven.war.filteringDeploymentDescriptors>true</maven.war.filteringDeploymentDescriptors>
     46 
     47     <failOnMissingWebXml>false</failOnMissingWebXml>
     48   </properties>
     49 
     50 
     51   <dependencies>
     52 
     53     <dependency>
     54       <groupId>javax.servlet</groupId>
     55       <artifactId>jsp-api</artifactId>
     56       <version>2.0</version>
     57     </dependency>
     58 
     59     <dependency>
     60       <groupId>commons-lang</groupId>
     61       <artifactId>commons-lang</artifactId>
     62       <version>2.6</version>
     63     </dependency>
     64 
     65     <dependency>
     66       <groupId>org.apache.commons</groupId>
     67       <artifactId>commons-math3</artifactId>
     68       <version>3.6.1</version>
     69     </dependency>
     70 
     71     <dependency>
     72         <groupId>commons-codec</groupId>
     73         <artifactId>commons-codec</artifactId>
     74         <version>1.9</version>
     75     </dependency>
     76 
     77     <dependency>
     78       <groupId>com.google.cloud</groupId>
     79       <artifactId>google-cloud</artifactId>
     80       <version>0.8.0</version>
     81     </dependency>
     82 
     83     <dependency>
     84       <groupId>com.google.code.gson</groupId>
     85       <artifactId>gson</artifactId>
     86       <version>2.7</version>
     87     </dependency>
     88 
     89     <dependency>
     90       <groupId>com.fasterxml.jackson.core</groupId>
     91       <artifactId>jackson-databind</artifactId>
     92       <version>2.8.6</version>
     93     </dependency>
     94 
     95     <dependency>
     96       <groupId>com.google.api-client</groupId>
     97       <artifactId>google-api-client</artifactId>
     98       <version>1.23.0</version>
     99       <exclusions>
    100         <exclusion>
    101           <groupId>com.google.guava</groupId>
    102           <artifactId>guava-jdk5</artifactId>
    103         </exclusion>
    104       </exclusions>
    105     </dependency>
    106 
    107     <dependency>
    108       <groupId>com.google.appengine</groupId>
    109       <artifactId>appengine-api-1.0-sdk</artifactId>
    110       <version>${appengine.version}</version>
    111     </dependency>
    112 
    113     <dependency>
    114       <groupId>com.google.apis</groupId>
    115       <artifactId>google-api-services-oauth2</artifactId>
    116       <version>v1-rev136-1.23.0</version>
    117     </dependency>
    118 
    119     <!-- Test Dependencies -->
    120     <dependency>
    121       <groupId>junit</groupId>
    122       <artifactId>junit</artifactId>
    123       <version>4.12</version>
    124       <scope>test</scope>
    125     </dependency>
    126     <dependency>
    127       <groupId>com.google.appengine</groupId>
    128       <artifactId>appengine-testing</artifactId>
    129       <version>${appengine.version}</version>
    130       <scope>test</scope>
    131     </dependency>
    132     <dependency>
    133         <groupId>com.google.appengine</groupId>
    134         <artifactId>appengine-api-stubs</artifactId>
    135         <version>${appengine.version}</version>
    136         <scope>test</scope>
    137     </dependency>
    138     <dependency>
    139         <groupId>com.google.appengine</groupId>
    140         <artifactId>appengine-tools-sdk</artifactId>
    141         <version>${appengine.version}</version>
    142         <scope>test</scope>
    143     </dependency>
    144 
    145   </dependencies>
    146 
    147 
    148   <build>
    149     <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
    150 
    151     <plugins>
    152 
    153       <plugin>
    154         <groupId>org.apache.maven.plugins</groupId>
    155         <artifactId>maven-war-plugin</artifactId>
    156         <version>2.6</version>
    157         <configuration>
    158           <archiveClasses>true</archiveClasses>
    159           <failOnMissingWebXml>false</failOnMissingWebXml>
    160           <webResources>
    161             <resource>
    162               <directory>${basedir}/src/main/webapp/WEB-INF</directory>
    163               <filtering>true</filtering>
    164               <targetPath>WEB-INF</targetPath>
    165             </resource>
    166           </webResources>
    167         </configuration>
    168       </plugin>
    169 
    170       <plugin>
    171         <groupId>org.apache.maven.plugins</groupId>
    172         <version>3.3</version>
    173         <artifactId>maven-compiler-plugin</artifactId>
    174         <configuration>
    175           <source>1.8</source>
    176           <target>1.8</target>
    177         </configuration>
    178       </plugin>
    179 
    180       <plugin>
    181         <groupId>com.google.appengine</groupId>
    182         <artifactId>appengine-maven-plugin</artifactId>
    183         <version>${appengine.version}</version>
    184         <configuration>
    185           <appId>${app.id}</appId>
    186           <version>${app.version}</version>
    187         </configuration>
    188       </plugin>
    189 
    190     </plugins>
    191   </build>
    192 </project>
    193