| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <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.apache.cocoon</groupId> |
| <artifactId>cocoon-auth</artifactId> |
| <version>2.3.1-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>cocoon-acegisecurity-sample</artifactId> |
| <version>2.3.1-SNAPSHOT</version> |
| |
| <name>cocoon-acegisecurity</name> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.cocoon</groupId> |
| <artifactId>cocoon-maven-plugin</artifactId> |
| <version>1.0.2</version> |
| <!-- The newer version of the plugin don't seem to have the "rcl" goal --> |
| <!--executions> |
| <execution> |
| <id>rcl</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>rcl</goal> |
| </goals> |
| </execution> |
| </executions--> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>maven-jetty-plugin</artifactId> |
| <version>6.1.3</version> |
| <configuration> |
| <connectors> |
| <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> |
| <port>8888</port> |
| <maxIdleTime>30000</maxIdleTime> |
| </connector> |
| </connectors> |
| <webAppSourceDirectory>${project.build.directory}/rcl/webapp</webAppSourceDirectory> |
| <contextPath>/</contextPath> |
| <systemProperties> |
| <systemProperty> |
| <name>org.apache.cocoon.mode</name> |
| <value>dev</value> |
| </systemProperty> |
| </systemProperties> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.1</version> |
| <configuration> |
| <archive> |
| <manifestEntries> |
| <Cocoon-Block-Name>${project.artifactId}</Cocoon-Block-Name> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-eclipse-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.cocoon</groupId> |
| <artifactId>cocoon-core</artifactId> |
| <version>2.3.1-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cocoon</groupId> |
| <artifactId>cocoon-servlet-service-components</artifactId> |
| <version>2.3.1-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.acegisecurity</groupId> |
| <artifactId>acegi-security</artifactId> |
| </dependency> |
| <!-- We are affected by MNG-2339 (http://jira.codehaus.org/browse/MNG-2339) bug. |
| Adding this dependency as work-around should made Cocoon compile with Java 1.4 --> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-dao</artifactId> |
| </dependency> |
| </dependencies> |
| |
| </project> |