It uses a basic integration with Spring Security to provide authentication to thhe Web application (Web services are not protected yet). Currently, two in-memory users have been created: "user" (with password "user") and "admin" (with password "admin"). The first one can access any page except the folder "Administration" and its contents. The last one can access any page.
169 lines
5.9 KiB
XML
169 lines
5.9 KiB
XML
<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>
|
|
<parent>
|
|
<groupId>org.navalplanner</groupId>
|
|
<artifactId>navalplanner</artifactId>
|
|
<version>1.0.0</version>
|
|
</parent>
|
|
<artifactId>navalplanner-webapp</artifactId>
|
|
<packaging>war</packaging>
|
|
<name>Naval Planner Web Client Module</name>
|
|
|
|
<build>
|
|
<finalName>navalplanner-webapp</finalName>
|
|
|
|
<!--
|
|
Gettext Commons plugin
|
|
goals:
|
|
merge: parses source code and generates keys.pot
|
|
dist: generates binary Resoruce Bundle (Messages_XX.class)
|
|
-->
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.xnap.commons</groupId>
|
|
<artifactId>maven-gettext-plugin</artifactId>
|
|
<configuration>
|
|
<targetBundle>i18n.Messages</targetBundle>
|
|
<poDirectory>${project.build.sourceDirectory}/../resources/i18n</poDirectory>
|
|
<keywords>-k_</keywords>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>dist</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<dependencies>
|
|
<!-- Gettext commons -->
|
|
<dependency>
|
|
<groupId>org.xnap.commons</groupId>
|
|
<artifactId>gettext-commons</artifactId>
|
|
</dependency>
|
|
<!-- JDBC driver -->
|
|
<dependency>
|
|
<groupId>${jdbcDriver.groupId}</groupId>
|
|
<artifactId>${jdbcDriver.artifactId}</artifactId>
|
|
</dependency>
|
|
<!-- Hibernate -->
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate</artifactId>
|
|
</dependency>
|
|
<!-- Spring -->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
</dependency>
|
|
<!-- Spring security -->
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-acl</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-core-tiger</artifactId>
|
|
</dependency>
|
|
<!-- AspectJ (required by Spring Security) -->
|
|
<dependency>
|
|
<groupId>org.aspectj</groupId>
|
|
<artifactId>aspectjrt</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.beanshell</groupId>
|
|
<artifactId>bsh</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jfree</groupId>
|
|
<artifactId>jfreechart</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jfree</groupId>
|
|
<artifactId>jcommon</artifactId>
|
|
</dependency>
|
|
<!-- Apache Commons Fileupload (required by ZK) -->
|
|
<dependency>
|
|
<groupId>commons-fileupload</groupId>
|
|
<artifactId>commons-fileupload</artifactId>
|
|
</dependency>
|
|
<!-- ZK -->
|
|
<dependency>
|
|
<groupId>org.zkoss.zk</groupId>
|
|
<artifactId>zul</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.zkoss.zk</groupId>
|
|
<artifactId>zkplus</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.zkoss.zk</groupId>
|
|
<artifactId>zk</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.zkoss.zk</groupId>
|
|
<artifactId>zkex</artifactId>
|
|
</dependency>
|
|
<!-- Naval Planner ZK Components -->
|
|
<dependency>
|
|
<groupId>org.navalplanner</groupId>
|
|
<artifactId>ganttzk</artifactId>
|
|
</dependency>
|
|
<!-- Naval Planner Business -->
|
|
<dependency>
|
|
<groupId>org.navalplanner</groupId>
|
|
<artifactId>navalplanner-business</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.easymock</groupId>
|
|
<artifactId>easymock</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hibernate</groupId>
|
|
<artifactId>hibernate-validator</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
</dependency>
|
|
<!-- JAX-RS API -->
|
|
<dependency>
|
|
<groupId>javax.ws.rs</groupId>
|
|
<artifactId>jsr311-api</artifactId>
|
|
</dependency>
|
|
<!-- CXF -->
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-transports-http</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
|
|
</dependency>
|
|
<!-- ZK Timeplot -->
|
|
<dependency>
|
|
<groupId>org.zkoss.zkforge.timeline</groupId>
|
|
<artifactId>timelinez</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.zkoss.zkforge.timeplot</groupId>
|
|
<artifactId>timeplotz</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|