Advertisement
Guest User

test

a guest
May 22nd, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.02 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <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">
  3.  
  4.   <modelVersion>4.0.0</modelVersion>
  5.   <packaging>war</packaging>
  6.   <version>2.3</version>
  7.  
  8.   <groupId>org.chillrend</groupId>
  9.   <artifactId>krlweb</artifactId>
  10.  
  11.   <properties>
  12.     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13.     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14.     <maven.compiler.source>1.8</maven.compiler.source>
  15.     <maven.compiler.target>1.8</maven.compiler.target>
  16.     <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation>
  17.     <archiveClasses>true</archiveClasses>
  18.     <failOnMissingWebXml>false</failOnMissingWebXml>
  19.   </properties>
  20.  
  21.   <prerequisites>
  22.     <maven>3.5</maven>
  23.   </prerequisites>
  24.  
  25.   <dependencies>
  26.     <!-- Compile/runtime dependencies -->
  27.     <dependency>
  28.       <groupId>javax.servlet</groupId>
  29.       <artifactId>javax.servlet-api</artifactId>
  30.       <version>3.1.0</version>
  31.       <type>jar</type>
  32.       <scope>provided</scope>
  33.     </dependency>
  34.     <dependency>
  35.       <groupId>jstl</groupId>
  36.       <artifactId>jstl</artifactId>
  37.       <version>1.2</version>
  38.     </dependency>
  39.  
  40.  
  41.       <!-- https://mvnrepository.com/artifact/org.glassfish/javax.faces -->
  42.       <dependency>
  43.           <groupId>org.glassfish</groupId>
  44.           <artifactId>javax.faces</artifactId>
  45.           <version>2.4.0</version>
  46.           <scope>compile</scope>
  47.       </dependency>
  48.  
  49.  
  50.       <!-- https://mvnrepository.com/artifact/com.squareup.retrofit2/retrofit -->
  51.       <dependency>
  52.           <groupId>com.squareup.retrofit2</groupId>
  53.           <artifactId>retrofit</artifactId>
  54.           <version>2.5.0</version>
  55.       </dependency>
  56.  
  57.       <!-- https://mvnrepository.com/artifact/com.squareup.retrofit2/converter-gson -->
  58.       <dependency>
  59.           <groupId>com.squareup.retrofit2</groupId>
  60.           <artifactId>converter-gson</artifactId>
  61.           <version>2.5.0</version>
  62.       </dependency>
  63.  
  64.       <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/logging-interceptor -->
  65.       <dependency>
  66.           <groupId>com.squareup.okhttp3</groupId>
  67.           <artifactId>logging-interceptor</artifactId>
  68.           <version>3.14.1</version>
  69.       </dependency>
  70.  
  71.       <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  72.       <dependency>
  73.           <groupId>com.squareup.okhttp3</groupId>
  74.           <artifactId>okhttp</artifactId>
  75.           <version>3.14.1</version>
  76.       </dependency>
  77.  
  78.  
  79.       <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
  80.       <dependency>
  81.           <groupId>com.google.code.gson</groupId>
  82.           <artifactId>gson</artifactId>
  83.           <version>2.8.5</version>
  84.       </dependency>
  85.       <!--Firebase Admin-->
  86.       <dependency>
  87.           <groupId>com.google.firebase</groupId>
  88.           <artifactId>firebase-admin</artifactId>
  89.           <version>6.8.1</version>
  90.       </dependency>
  91.  
  92.       <!-- Test Dependencies -->
  93.     <dependency>
  94.       <groupId>com.google.truth</groupId>
  95.       <artifactId>truth</artifactId>
  96.       <version>0.33</version>
  97.       <scope>test</scope>
  98.     </dependency>
  99.  
  100.     <dependency>
  101.       <groupId>junit</groupId>
  102.       <artifactId>junit</artifactId>
  103.       <version>4.12</version>
  104.       <scope>test</scope>
  105.     </dependency>
  106.     <dependency>
  107.       <groupId>org.mockito</groupId>
  108.       <artifactId>mockito-all</artifactId>
  109.       <version>1.10.19</version>
  110.       <scope>test</scope>
  111.     </dependency>
  112.   </dependencies>
  113.  
  114.   <build>
  115.     <!-- for hot reload of the web application-->
  116.     <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
  117.     <plugins>
  118.       <plugin>
  119.         <groupId>com.google.cloud.tools</groupId>
  120.         <artifactId>appengine-maven-plugin</artifactId>
  121.         <version>1.3.1</version>
  122.         <configuration>
  123. <!-- See https://cloud.google.com/appengine/docs/standard/java/tools/maven-reference#appenginestart -->
  124. <!-- and https://cloud.google.com/appengine/docs/standard/java/tools/maven-reference#appenginedeploy -->
  125.         </configuration>
  126.       </plugin>
  127.  
  128.       <plugin>
  129.         <groupId>org.eclipse.jetty</groupId>
  130.         <artifactId>jetty-maven-plugin</artifactId>
  131.         <version>9.4.2.v20170220</version>
  132.       </plugin>
  133.  
  134.       <plugin>
  135.         <groupId>org.codehaus.mojo</groupId>
  136.         <artifactId>versions-maven-plugin</artifactId>
  137.         <version>2.3</version>
  138.         <executions>
  139.           <execution>
  140.             <phase>compile</phase>
  141.             <goals>
  142.               <goal>display-dependency-updates</goal>
  143.               <goal>display-plugin-updates</goal>
  144.             </goals>
  145.           </execution>
  146.         </executions>
  147.         <configuration>
  148.           <excludes>
  149.             <exclude>javax.servlet:javax.servlet-api</exclude>
  150.             <exclude>com.google.guava:guava</exclude> <!-- avoid android version -->
  151.           </excludes>
  152.         </configuration>
  153.       </plugin>
  154.  
  155.       <plugin>
  156.         <artifactId>maven-war-plugin</artifactId>
  157.         <version>3.1.0</version>
  158.       </plugin>
  159.  
  160.       <plugin>
  161.         <artifactId>maven-compiler-plugin</artifactId>
  162.         <version>3.6.1</version>
  163.       </plugin>
  164.  
  165.       <plugin>
  166.         <artifactId>maven-clean-plugin</artifactId>
  167.         <version>3.0.0</version>
  168.       </plugin>
  169.  
  170.       <plugin>
  171.         <artifactId>maven-install-plugin</artifactId>
  172.         <version>2.5.2</version>
  173.       </plugin>
  174.  
  175.       <plugin>
  176.         <artifactId>maven-surefire-plugin</artifactId>
  177.         <version>2.20</version>
  178.       </plugin>
  179.  
  180.       <plugin>
  181.         <artifactId>maven-site-plugin</artifactId>
  182.         <version>3.6</version>
  183.       </plugin>
  184.  
  185.       <plugin>
  186.         <artifactId>maven-resources-plugin</artifactId>
  187.         <version>3.0.2</version>
  188.       </plugin>
  189.  
  190.       <plugin>
  191.         <artifactId>maven-deploy-plugin</artifactId>
  192.         <version>3.1</version>
  193.       </plugin>
  194.  
  195.       <plugin>
  196.         <artifactId>maven-enforcer-plugin</artifactId>
  197.         <version>1.4.1</version>
  198.         <executions>
  199.           <execution>
  200.             <id>enforce-maven</id>
  201.             <goals>
  202.               <goal>enforce</goal>
  203.             </goals>
  204.             <configuration>
  205.               <rules>
  206.                 <requireMavenVersion>
  207.                   <version>3.5</version>
  208.                 </requireMavenVersion>
  209.                 <requirePluginVersions>
  210.                    <message>Best Practice is to always define plugin versions!</message>
  211.                    <banLatest>true</banLatest>
  212.                    <banRelease>true</banRelease>
  213.                    <phases>clean,deploy,verify,appengine:run,appengine:deploy,site</phases>
  214.                 </requirePluginVersions>
  215.               </rules>
  216.             </configuration>
  217.           </execution>
  218.         </executions>
  219.       </plugin>
  220.     </plugins>
  221.   </build>
  222. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement