215 lines
6.3 KiB
XML
215 lines
6.3 KiB
XML
<?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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>org.springframework.webflow.samples</groupId>
|
|
<artifactId>booking-portlet-faces</artifactId>
|
|
<packaging>war</packaging>
|
|
<name>Hotel Booking : Spring Portlet MVC + Web Flow + JSF</name>
|
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
|
|
|
<properties>
|
|
<springframework-version>4.0.5.RELEASE</springframework-version>
|
|
<webflow-version>2.3.4.RELEASE</webflow-version>
|
|
<slf4j-version>1.5.10</slf4j-version>
|
|
<myfaces-version>1.2.9</myfaces-version>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>spring</id>
|
|
<name>Spring Repository</name>
|
|
<url>http://repo.spring.io/milestone</url>
|
|
<releases><enabled>true</enabled></releases>
|
|
<snapshots><enabled>true</enabled></snapshots>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<!-- Spring -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
<version>${springframework-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jdbc</artifactId>
|
|
<version>${springframework-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-orm</artifactId>
|
|
<version>${springframework-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webmvc</artifactId>
|
|
<version>${springframework-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webmvc-portlet</artifactId>
|
|
<version>${springframework-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.webflow</groupId>
|
|
<artifactId>spring-faces</artifactId>
|
|
<version>${webflow-version}</version>
|
|
</dependency>
|
|
<!-- Database, JPA -->
|
|
<dependency>
|
|
<groupId>org.hsqldb</groupId>
|
|
<artifactId>hsqldb</artifactId>
|
|
<version>1.8.0.10</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
|
<version>3.5.0-Final</version>
|
|
</dependency>
|
|
<!-- JSF -->
|
|
<dependency>
|
|
<groupId>org.apache.myfaces.core</groupId>
|
|
<artifactId>myfaces-api</artifactId>
|
|
<version>${myfaces-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.myfaces.core</groupId>
|
|
<artifactId>myfaces-impl</artifactId>
|
|
<version>${myfaces-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.facelets</groupId>
|
|
<artifactId>jsf-facelets</artifactId>
|
|
<version>1.1.14</version>
|
|
</dependency>
|
|
<!-- Logging -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
<version>${slf4j-version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<version>${slf4j-version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>1.2.15</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>javax.mail</groupId>
|
|
<artifactId>mail</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>javax.jms</groupId>
|
|
<artifactId>jms</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.sun.jdmk</groupId>
|
|
<artifactId>jmxtools</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.sun.jmx</groupId>
|
|
<artifactId>jmxri</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<!-- Servlet, Portlet API -->
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
<version>2.5</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.portlet</groupId>
|
|
<artifactId>portlet-api</artifactId>
|
|
<version>2.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- JSR 303 with Hibernate Validator -->
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-validator</artifactId>
|
|
<version>4.0.2.GA</version>
|
|
</dependency>
|
|
<!--
|
|
JAXB is needed when running on Java 5. In this environment these dependencies have to be added
|
|
(unless xml configuration is explicitly disabled via Configuration.ignoreXmlConfiguration)
|
|
On Java 6 jaxb is part of the runtime environment.
|
|
-->
|
|
<dependency>
|
|
<groupId>javax.xml.bind</groupId>
|
|
<artifactId>jaxb-api</artifactId>
|
|
<version>2.1</version>
|
|
</dependency>
|
|
<!-- Test -->
|
|
<dependency>
|
|
<groupId>org.easymock</groupId>
|
|
<artifactId>easymock</artifactId>
|
|
<version>2.5.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>3.8.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<version>${springframework-version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>booking-portlet-faces</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>2.3.2</version>
|
|
<configuration>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.12</version>
|
|
<configuration>
|
|
<junitArtifactName>junit:junit</junitArtifactName>
|
|
<includes>
|
|
<include>**/*Tests.java</include>
|
|
</includes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
<version>2.8</version>
|
|
<configuration>
|
|
<downloadSources>true</downloadSources>
|
|
<downloadJavadocs>false</downloadJavadocs>
|
|
<wtpversion>2.0</wtpversion>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|