| <?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.lenya</groupId> |
| <artifactId>lenya</artifactId> |
| <version>2.2.0-SNAPSHOT</version> |
| <relativePath>../org.apache.lenya.parent/pom.xml</relativePath> |
| </parent> |
| <artifactId>lenya-webapp</artifactId> |
| <version>2.2.0-SNAPSHOT</version> |
| <packaging>jar</packaging> |
| <name>Apache Lenya Webapp</name> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.cocoon</groupId> |
| <artifactId>cocoon-maven-plugin</artifactId> |
| <version>1.0.0-RC1-SNAPSHOT</version> |
| <executions> |
| <execution> |
| <id>prepare</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>prepare</goal> |
| </goals> |
| </execution> |
| </executions> |
| </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.mortbay.jetty</groupId> |
| <artifactId>maven-jetty-plugin</artifactId> |
| <version>6.1.7</version> |
| <configuration> |
| <connectors> |
| <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> |
| <port>${jetty.port}</port> |
| <maxIdleTime>30000</maxIdleTime> |
| </connector> |
| </connectors> |
| <!-- |
| <webAppSourceDirectory>./target/lenya-webapp</webAppSourceDirectory> |
| --> |
| <webAppSourceDirectory>${project.build.directory}/rcl/webapp</webAppSourceDirectory> |
| <contextPath>${jetty.context}</contextPath> |
| <systemProperties> |
| <systemProperty> |
| <name>org.mortbay.jetty.webapp.parentLoaderPriority</name> |
| <value>true</value> |
| </systemProperty> |
| </systemProperties> |
| </configuration> |
| </plugin> |
| <!-- |
| <plugin> |
| <groupId>org.apache.cocoon</groupId> |
| <artifactId>cocoon-maven-plugin</artifactId> |
| <version>1.0.0-RC1-SNAPSHOT</version> |
| <executions> |
| <execution> |
| <id>rcl</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>rcl</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| --> |
| </plugins> |
| <finalName>lenya-webapp</finalName> |
| </build> |
| |
| <dependencies> |
| |
| <!-- Cocoon --> |
| <dependency> |
| <groupId>org.apache.cocoon</groupId> |
| <artifactId>cocoon-core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cocoon</groupId> |
| <artifactId>cocoon-servlet-service-impl</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cocoon</groupId> |
| <artifactId>cocoon-servlet-service-components</artifactId> |
| </dependency> |
| <!-- transient, but necessary because of cocoon.xconf --> |
| <dependency> |
| <groupId>org.apache.cocoon</groupId> |
| <artifactId>cocoon-batik-impl</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cocoon</groupId> |
| <artifactId>cocoon-block-deployment</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.cocoon</groupId> |
| <artifactId>cocoon-forms-impl</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| <!-- for continuations --> |
| <dependency> |
| <groupId>org.apache.cocoon</groupId> |
| <artifactId>cocoon-flowscript-impl</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| <!-- for template generation --> |
| <dependency> |
| <groupId>org.apache.cocoon</groupId> |
| <artifactId>cocoon-template-impl</artifactId> |
| </dependency> |
| |
| <!-- Lenya --> |
| <dependency> |
| <groupId>org.apache.lenya</groupId> |
| <artifactId>lenya-core-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.lenya</groupId> |
| <artifactId>lenya-core-metadata</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.lenya</groupId> |
| <artifactId>lenya-core-linking</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.lenya</groupId> |
| <artifactId>lenya-webapp-welcome</artifactId> |
| </dependency> |
| |
| </dependencies> |
| |
| <properties> |
| <jetty.port>8888</jetty.port> |
| <jetty.context>/</jetty.context> |
| </properties> |
| </project> |