blob: fa32b2f62eea843ef1f004ab90aac89928d2cfa3 [file] [log] [blame]
<?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">
<parent>
<groupId>org.apache.myfaces</groupId>
<artifactId>myfaces</artifactId>
<version>14</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-core-project</artifactId>
<packaging>pom</packaging>
<name>Apache MyFaces JSF-1.2 Core Project</name>
<description>
This project is the home of the MyFaces implementation of the JavaServer Faces 1.2 specification, and
consists of an API module (javax.faces.* classes) and an implementation module (org.apache.myfaces.* classes).
</description>
<version>1.2.13-SNAPSHOT</version>
<url>http://myfaces.apache.org/core12</url>
<issueManagement>
<system>jira</system>
<url>https://issues.apache.org/jira/browse/MYFACES</url>
</issueManagement>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/core/branches/1.2.x</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/core/branches/1.2.x</developerConnection>
<url>http://svn.apache.org/repos/asf/myfaces/core/branches/1.2.x</url>
</scm>
<modules>
<!-- module>build</module -->
<module>api</module>
<module>impl</module>
</modules>
<properties>
<!-- MyFaces shared-impl version to use -->
<myfaces-shared.version>3.0.12-SNAPSHOT</myfaces-shared.version>
</properties>
<build>
<!-- Since Maven 3.0, this is required to add scpexe as protocol for deploy. -->
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-external</artifactId>
<version>1.0-beta-7</version>
</extension>
</extensions>
<plugins>
<!-- JDK 1.5 -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<!-- ceckstyle - TODO use myfaces wide checkstyle config from myfaces-parent? -->
<plugin>
<!--
- Make a checkstyle violation a compile error. Note that if a compile error occurs,
- further information can be found in target/site/checkstyle.html (present even when
- just the compile goal and not the site goal has been run). Note also that child
- projects may redeclare this plugin and provide different configuration settings
- to use different checks (more or less strict than the default).
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>verify-style</id>
<phase>verify</phase>
<goals><goal>check</goal></goals>
</execution>
</executions>
<configuration>
<configLocation>default/myfaces-checks-minimal.xml</configLocation>
<headerLocation>default/myfaces-header.txt</headerLocation>
</configuration>
</plugin>
<!-- attach -sources.jar to all our modules -->
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>2.0.4</version>
<executions>
<execution>
<id>attach-source</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.myfaces.buildtools</groupId>
<artifactId>myfaces-faces-plugin</artifactId>
<version>1.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.myfaces.buildtools</groupId>
<artifactId>myfaces-builder-plugin</artifactId>
<version>1.0.8</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-idea-plugin</artifactId>
<version>2.1</version>
<configuration>
<jdkName>1.5</jdkName>
<linkModules>true</linkModules>
<downloadSources>true</downloadSources>
<jdkLevel>1.5</jdkLevel>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.5</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<!-- TODO jakobk: we could change this to -Papache-release -->
<!--
This profile is invoked by -DprepareRelease=true.
This allows mvn release:prepare to run successfully on the assembly projects.
-->
<profile>
<id>prepare-release</id>
<activation>
<property>
<name>prepareRelease</name>
</property>
</activation>
<modules>
<module>assembly</module>
</modules>
<build>
<plugins>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<arguments>-DprepareRelease</arguments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>perform-release</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<modules>
<module>assembly</module>
</modules>
<build>
<plugins>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<arguments>-Papache-release -DperformRelease</arguments>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<reporting>
<plugins>
<plugin>
<!-- disable the plugin for this site project -->
<artifactId>maven-pmd-plugin</artifactId>
<reportSets>
<reportSet />
</reportSets>
</plugin>
</plugins>
</reporting>
<dependencyManagement>
<!--
Defines all dependencies used in this project.
All other project-modules reference the dependencies from here only by groupId and artifactId.
-->
<dependencies>
<!-- INTERNAL DEPENDENCIES -->
<!-- myfaces-api -->
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-api</artifactId>
<version>${project.version}</version>
</dependency>
<!-- myfaces-impl -->
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-impl</artifactId>
<version>${project.version}</version>
</dependency>
<!-- myfaces-shared-impl (will be packed together with myfaces-impl) -->
<dependency>
<groupId>org.apache.myfaces.shared</groupId>
<artifactId>myfaces-shared-impl</artifactId>
<version>${myfaces-shared.version}</version>
<scope>provided</scope>
</dependency>
<!-- SPEC DEPENDENCIES -->
<!-- Servlet 2.5 -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
<!-- JSP 2.1 -->
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.1</version>
<scope>provided</scope>
</dependency>
<!-- JSTL 1.2 -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
<scope>provided</scope>
<exclusions>
<!-- we already have a jsp-api -->
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- annotations 1.0 (javax.annotation.*) -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-annotation_1.0_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
<!-- jpa 3.0 - needed in AllAnnotationLifecycleProvider -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jpa_3.0_spec</artifactId>
<version>1.0</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<!-- ejb 3.0 - needed in AllAnnotationLifecycleProvider -->
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-ejb_3.0_spec</artifactId>
<version>1.0</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<!-- UTILITY DEPENDENCIES -->
<!-- builder-annotations like @JSFWebConfigParam -->
<dependency>
<groupId>org.apache.myfaces.buildtools</groupId>
<artifactId>myfaces-builder-annotations</artifactId>
<version>1.0.7</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-discovery</groupId>
<artifactId>commons-discovery</artifactId>
<version>0.4</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.8.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-digester</groupId>
<artifactId>commons-digester</artifactId>
<version>1.8</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1.1</version>
<scope>compile</scope>
</dependency>
<!-- SPI DEPENDENCIES (compile + optional) -->
<!-- tomcat 6.0.x support (LifecycleProvider) -->
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>catalina</artifactId>
<version>6.0.29</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<!-- Portlet support -->
<dependency>
<groupId>portlet-api</groupId>
<artifactId>portlet-api</artifactId>
<version>1.0</version>
</dependency>
<!-- Google guice support (GuiceResolver) -->
<dependency>
<groupId>com.google.code.guice</groupId>
<artifactId>guice</artifactId>
<version>1.0</version>
<scope>compile</scope>
<optional>true</optional>
</dependency>
<!-- TEST DEPENDENCIES -->
<!-- test cases of myfaces-api -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<classifier>jdk15</classifier>
<version>5.1</version>
<scope>test</scope>
</dependency>
<!-- test cases of myfaces-api -->
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-api</artifactId>
<classifier>tests</classifier>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.shale</groupId>
<artifactId>shale-test</artifactId>
<version>1.0.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>cactus</groupId>
<artifactId>cactus</artifactId>
<version>13-1.7.2</version>
<scope>test</scope>
</dependency>
<!-- easymock -->
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>2.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymockclassextension</artifactId>
<version>2.3</version>
<scope>test</scope>
</dependency>
<!-- jmock -->
<dependency>
<groupId>jmock</groupId>
<artifactId>jmock</artifactId>
<version>1.2.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jmock</groupId>
<artifactId>jmock-cglib</artifactId>
<version>1.2.0</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<repositories>
<repository>
<id>java.net</id>
<name>java.net Maven 1 Repository</name>
<url>http://download.java.net/maven/2</url>
</repository>
<!-- tomcat el-impl for test cases (see related tomcat-dependencies) -->
<repository>
<id>tomcat</id>
<url>http://tomcat.apache.org/dev/dist/m2-repository</url>
</repository>
</repositories>
<distributionManagement>
<site>
<id>apache.website</id>
<name>Apache Website</name>
<url>scpexe://people.apache.org/www/myfaces.apache.org/core12/</url>
</site>
</distributionManagement>
</project>