| <?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.myfaces.tobago</groupId> |
| <artifactId>tobago-example</artifactId> |
| <version>1.0.25</version> |
| </parent> |
| <artifactId>tobago-example-facelets</artifactId> |
| <packaging>war</packaging> |
| <name>Example Facelets</name> |
| <build> |
| <finalName>tobago-example-facelets</finalName> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>tomcat-maven-plugin</artifactId> |
| <configuration> |
| <server>tomcat</server> |
| <update>true</update> |
| <url>http://localhost:8080/manager</url> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tobago/tags/tobago-1.0.25/example/facelets</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tobago/tags/tobago-1.0.25/example/facelets</developerConnection> |
| <url>http://svn.apache.org/viewvc/myfaces/tobago/tags/tobago-1.0.25/example/facelets</url> |
| </scm> |
| |
| <repositories> |
| <repository> |
| <id>java.net</id> |
| <url>http://download.java.net/maven/1</url> |
| <layout>legacy</layout> |
| </repository> |
| </repositories> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.myfaces.tobago</groupId> |
| <artifactId>tobago-theme-scarborough</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.myfaces.tobago</groupId> |
| <artifactId>tobago-theme-speyside</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.myfaces.tobago</groupId> |
| <artifactId>tobago-theme-richmond</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.myfaces.tobago</groupId> |
| <artifactId>tobago-theme-standard</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.myfaces.tobago</groupId> |
| <artifactId>tobago-facelets</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>sun.jdk</groupId> |
| <artifactId>tools</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>javax.el</groupId> |
| <artifactId>el-api</artifactId> |
| <version>1.0</version> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.el</groupId> |
| <artifactId>el-ri</artifactId> |
| <version>1.0</version> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.facelets</groupId> |
| <artifactId>jsf-facelets</artifactId> |
| <version>${facelets.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.3</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>jsp-api</artifactId> |
| <version>2.0</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| <profiles> |
| <profile> |
| <id>myfaces</id> |
| <activation> |
| <property> |
| <name>!jsf</name> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.myfaces.core</groupId> |
| <artifactId>myfaces-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.myfaces.core</groupId> |
| <artifactId>myfaces-impl</artifactId> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>sunjsf</id> |
| <activation> |
| <property> |
| <name>jsf</name> |
| <value>ri</value> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>javax.faces</groupId> |
| <artifactId>jsf-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>javax.faces</groupId> |
| <artifactId>jsf-impl</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>jstl</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <!-- |
| mvn package cargo:start -Ptomcat5x |
| --> |
| <id>tomcat5x</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.cargo</groupId> |
| <artifactId>cargo-maven2-plugin</artifactId> |
| <configuration> |
| <container> |
| <containerId>tomcat5x</containerId> |
| <zipUrlInstaller> |
| <url>http://apache.easy-webs.de/tomcat/tomcat-5/v5.5.23/bin/apache-tomcat-5.5.23.zip</url> |
| <installDir>${project.build.directory}/tomcat5</installDir> |
| </zipUrlInstaller> |
| </container> |
| <configuration> |
| <home>${project.build.directory}/tomcat5/container</home> |
| </configuration> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |