Advertisement
Guest User

Untitled

a guest
Nov 27th, 2014
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.53 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.     <modelVersion>4.0.0</modelVersion>
  4.     <parent>
  5.     <artifactId>BookingManager</artifactId>
  6.     <groupId>cz.muni.fi.pa165</groupId>
  7.     <version>1.0-SNAPSHOT</version>
  8.   </parent>
  9.  
  10.     <groupId>cz.muni.fi.pa165</groupId>
  11.     <artifactId>BookingManager-Web</artifactId>
  12.     <version>1.0-SNAPSHOT</version>
  13.     <packaging>war</packaging>
  14.  
  15.     <name>BookingManager-Web</name>
  16.  
  17.     <dependencyManagement>
  18.         <dependencies>
  19.             <dependency>
  20.                 <groupId>org.springframework</groupId>
  21.                 <artifactId>spring-framework-bom</artifactId>
  22.                 <version>${org.springframework.version}</version>
  23.                 <type>pom</type>
  24.                 <scope>import</scope>
  25.             </dependency>
  26.         </dependencies>
  27.     </dependencyManagement>
  28.  
  29.     <properties>
  30.         <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
  31.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  32.     </properties>
  33.    
  34.     <dependencies>
  35.         <dependency>
  36.             <groupId>${project.groupId}</groupId>
  37.             <artifactId>BookingManager-API</artifactId>
  38.             <version>${project.version}</version>
  39.         </dependency>
  40.         <dependency>
  41.             <groupId>javax</groupId>
  42.             <artifactId>javaee-web-api</artifactId>
  43.             <version>7.0</version>
  44.             <scope>provided</scope>
  45.         </dependency>
  46.         <dependency>
  47.             <groupId>javax.servlet</groupId>
  48.             <artifactId>jstl</artifactId>
  49.             <version>1.1.2</version>
  50.         </dependency>
  51.         <dependency>
  52.             <groupId>taglibs</groupId>
  53.             <artifactId>standard</artifactId>
  54.             <version>1.1.2</version>
  55.         </dependency>
  56.  
  57.         <!-- slf4j and logback - needed for logging -->
  58.         <dependency>
  59.             <groupId>ch.qos.logback</groupId>
  60.             <artifactId>logback-classic</artifactId>
  61.             <version>1.1.2</version>
  62.         </dependency>
  63.         <dependency>
  64.             <groupId>org.slf4j</groupId>
  65.             <artifactId>jcl-over-slf4j</artifactId>
  66.             <version>${slf4j.version}</version>
  67.         </dependency>
  68.         <dependency>
  69.             <groupId>org.slf4j</groupId>
  70.             <artifactId>log4j-over-slf4j</artifactId>
  71.             <version>${slf4j.version}</version>
  72.         </dependency>
  73.  
  74.         <!-- Spring MVC -->
  75.         <dependency>
  76.             <groupId>org.springframework</groupId>
  77.             <artifactId>spring-webmvc</artifactId>
  78.         </dependency>
  79.         <dependency>
  80.             <groupId>org.springframework</groupId>
  81.             <artifactId>spring-core</artifactId>
  82.             <exclusions>
  83.                 <!-- Exclude Commons Logging in favor of SLF4j -->
  84.                 <exclusion>
  85.                     <groupId>commons-logging</groupId>
  86.                     <artifactId>commons-logging</artifactId>
  87.                 </exclusion>
  88.             </exclusions>
  89.         </dependency>
  90.  
  91.  
  92.         <!-- Jackson JSON processor - needed for Ajax  -->
  93.         <dependency>
  94.             <groupId>com.fasterxml.jackson.core</groupId>
  95.             <artifactId>jackson-databind</artifactId>
  96.             <version>2.4.3</version>
  97.         </dependency>
  98.  
  99.     </dependencies>
  100.  
  101.     <build>
  102.         <plugins>
  103.             <plugin>
  104.                 <groupId>org.apache.maven.plugins</groupId>
  105.                 <artifactId>maven-compiler-plugin</artifactId>
  106.                 <version>3.1</version>
  107.                 <configuration>
  108.                     <source>1.7</source>
  109.                     <target>1.7</target>
  110.                     <compilerArguments>
  111.                         <endorseddirs>${endorsed.dir}</endorseddirs>
  112.                     </compilerArguments>
  113.                 </configuration>
  114.             </plugin>
  115.             <plugin>
  116.                 <groupId>org.apache.maven.plugins</groupId>
  117.                 <artifactId>maven-war-plugin</artifactId>
  118.                 <version>2.3</version>
  119.                 <configuration>
  120.                     <failOnMissingWebXml>false</failOnMissingWebXml>
  121.                 </configuration>
  122.             </plugin>
  123.             <plugin>
  124.                 <groupId>org.apache.maven.plugins</groupId>
  125.                 <artifactId>maven-dependency-plugin</artifactId>
  126.                 <version>2.6</version>
  127.                 <executions>
  128.                     <execution>
  129.                         <phase>validate</phase>
  130.                         <goals>
  131.                             <goal>copy</goal>
  132.                         </goals>
  133.                         <configuration>
  134.                             <outputDirectory>${endorsed.dir}</outputDirectory>
  135.                             <silent>true</silent>
  136.                             <artifactItems>
  137.                                 <artifactItem>
  138.                                     <groupId>javax</groupId>
  139.                                     <artifactId>javaee-endorsed-api</artifactId>
  140.                                     <version>7.0</version>
  141.                                     <type>jar</type>
  142.                                 </artifactItem>
  143.                             </artifactItems>
  144.                         </configuration>
  145.                     </execution>
  146.                 </executions>
  147.             </plugin>
  148.         </plugins>
  149.     </build>
  150.  
  151. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement