blob: 5e036113031dd7d00dd7b2fb99b8a0c34915bada [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.
-->
<!--
This pom file has been optimized for Maven3. Usage of the various targets/tasks is below.
Build:
mvn3 [install]
mvn3 clean install
Prepare Release
mvn3 release:prepare
Perform Release
mvn3 release:perform
Change Version Number (http://maven.apache.org/plugins/maven-release-plugin/examples/update-versions.html)
mvn3 release:update-versions
mvn3 release:update-versions -DautoVersionSubmodules=true
Create A Branch (http://maven.apache.org/plugins/maven-release-plugin/examples/branch.html)
mvn3 release:branch -DbranchName=my-branch
mvn3 release:branch -DbranchName=my-branch -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false
-->
<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>
<name>Apache MyFaces Trinidad</name>
<description>Apache MyFaces Trinidad for JSF ${jsf-spec.version}</description>
<url>http://myfaces.apache.org/trinidad</url>
<inceptionYear>2001</inceptionYear>
<parent>
<groupId>org.apache.myfaces</groupId>
<artifactId>myfaces</artifactId>
<version>11</version>
</parent>
<groupId>org.apache.myfaces.trinidad</groupId>
<artifactId>trinidad</artifactId>
<version>2.1.1-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<!-- Standards -->
<jdk.version>1.6</jdk.version>
<servlet.version>2.5</servlet.version>
<portlet.version>2.0</portlet.version>
<validation.version>1.0.0.GA</validation.version>
<jsp.version>2.1</jsp.version>
<jstl.version>1.2</jstl.version>
<jsf-spec.version>2.1</jsf-spec.version>
<jsf-ri.version>2.1.7</jsf-ri.version>
<jsf-myfaces.version>2.1.6</jsf-myfaces.version>
<portlet-bridge.version>2.0.0</portlet-bridge.version>
<commons-lang.version>2.4</commons-lang.version>
<commons-io.version>2.0</commons-io.version>
<pluto-embedded.version>1.0.1</pluto-embedded.version>
<!-- Testing -->
<shale.version>1.0.5</shale.version>
<jmock.version>1.2.0</jmock.version>
<junit.version>4.4</junit.version>
<!-- Plugins -->
<trinidad-plugins.version>2.0.9-SNAPSHOT</trinidad-plugins.version>
<wagon-plugin.version>1.0.6</wagon-plugin.version>
<jetty-plugin.version>6.1.21</jetty-plugin.version>
<pluto.version>1.1.6</pluto.version>
<pluto.package>org.apache.pluto</pluto.package>
<myfaces-builder-plugin.version>1.0.9</myfaces-builder-plugin.version>
<!-- Enforcer -->
<maven.min-version>3.0</maven.min-version>
<jdk.min-version>1.6.0</jdk.min-version>
<!-- Other -->
<jdev.release>11.1.1.0.0</jdev.release>
<myfaces-builder-annotations.version>1.0.8</myfaces-builder-annotations.version>
</properties>
<issueManagement>
<system>jira</system>
<url>http://issues.apache.org/jira/browse/TRINIDAD</url>
</issueManagement>
<ciManagement>
<system>continuum</system>
<url>http://myfaces.zones.apache.org:8080/continuum</url>
<notifiers>
<notifier>
<type>mail</type>
<sendOnSuccess>true</sendOnSuccess>
<configuration>
<address>commits@myfaces.apache.org</address>
</configuration>
</notifier>
</notifiers>
</ciManagement>
<mailingLists>
<mailingList>
<name>MyFaces Users (use [Trinidad] prefix)</name>
<post>users@myfaces.apache.org</post>
<subscribe>users-subscribe@myfaces.apache.org</subscribe>
<unsubscribe>users-unsubscribe@myfaces.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/myfaces-users</archive>
<otherArchives>
<otherArchive>http://users.myfaces.markmail.org/</otherArchive>
<otherArchive>http://www.mail-archive.com/users@myfaces.apache.org/</otherArchive>
<otherArchive>http://www.nabble.com/MyFaces---Users-f181.html</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>MyFaces Developers (use [Trinidad] prefix)</name>
<post>dev@myfaces.apache.org</post>
<subscribe>dev-subscribe@myfaces.apache.org</subscribe>
<unsubscribe>dev-unsubscribe@myfaces.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/myfaces-dev</archive>
<otherArchives>
<otherArchive>http://dev.myfaces.markmail.org/</otherArchive>
<otherArchive>http://www.mail-archive.com/dev@myfaces.apache.org/</otherArchive>
<otherArchive>http://www.nabble.com/My-Faces---Dev-f182.html</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>MyFaces issues</name>
<post>Do not post</post>
<subscribe>issues-subscribe@myfaces.apache.org</subscribe>
<unsubscribe>issues-unsubscribe@myfaces.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/myfaces-dev</archive>
<otherArchives>
<otherArchive>http://dev.myfaces.markmail.org/</otherArchive>
<otherArchive>http://www.mail-archive.com/dev@myfaces.apache.org/</otherArchive>
<otherArchive>http://www.nabble.com/My-Faces---Dev-f182.html</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>MyFaces commits</name>
<post>Do not post</post>
<subscribe>commits-subscribe@myfaces.apache.org</subscribe>
<unsubscribe>commits-unsubscribe@myfaces.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/myfaces-commits</archive>
<otherArchives>
<otherArchive>http://commits.myfaces.markmail.org/</otherArchive>
</otherArchives>
</mailingList>
</mailingLists>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/trinidad/trunk</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/trinidad/trunk</developerConnection>
<url>http://svn.apache.org/viewvc/myfaces/trinidad/trunk</url>
</scm>
<distributionManagement>
<site>
<id>apache-site</id>
<name>Apache Website</name>
<url>scp://minotaur.apache.org/www/myfaces.apache.org/trinidad</url>
</site>
</distributionManagement>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>${servlet.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>${jstl.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>${jsp.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.portlet</groupId>
<artifactId>portlet-api</artifactId>
<version>${portlet.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>${jsf-ri.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>${jsf-ri.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>${validation.version}</version>
<scope>provided</scope>
</dependency>
<!-- for now we just use the RI, b/c nothing around for MyFaces 2.0 -->
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-api</artifactId>
<version>${jsf-myfaces.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-impl</artifactId>
<version>${jsf-myfaces.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.myfaces.portlet-bridge</groupId>
<artifactId>portlet-bridge-api</artifactId>
<version>${portlet-bridge.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<!-- If the impl is needed, it should always be added in -->
<groupId>org.apache.myfaces.portlet-bridge</groupId>
<artifactId>portlet-bridge-impl</artifactId>
<version>${portlet-bridge.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>${commons-lang.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
<dependency>
<groupId>org.apache.myfaces.buildtools</groupId>
<artifactId>myfaces-builder-annotations</artifactId>
<version>${myfaces-builder-annotations.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.myfaces.trinidad</groupId>
<artifactId>trinidad-build</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.myfaces.trinidad</groupId>
<artifactId>trinidad-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.myfaces.trinidad</groupId>
<artifactId>trinidad-impl</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.myfaces.trinidad</groupId>
<artifactId>trinidad-api</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.shale</groupId>
<artifactId>shale-test</artifactId>
<version>${shale.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jmock</groupId>
<artifactId>jmock</artifactId>
<version>${jmock.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jmock</groupId>
<artifactId>jmock-cglib</artifactId>
<version>${jmock.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.bekk.boss</groupId>
<artifactId>maven-jetty-pluto-embedded</artifactId>
<version>${pluto-embedded.version}</version>
</dependency>
<dependency>
<groupId>${pluto.package}</groupId>
<artifactId>pluto-util</artifactId>
<version>${pluto.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
</dependencyManagement>
<modules>
<module>trinidad-build</module>
<module>trinidad-api</module>
<module>trinidad-impl</module>
</modules>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.0</version>
<inherited>true</inherited>
<dependencies>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>1.0-beta-7</version>
</dependency>
</dependencies>
<configuration>
<outputEncoding>UTF-8</outputEncoding>
<reportPlugins>
<!--plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.0</version>
<configuration>
<threshold>Low</threshold>
</configuration>
</plugin-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rat-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.0.1</version>
</plugin>
<!--plugin>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.3</version>
<configuration>
<rulesets>
<ruleset>/rulesets/basic.xml</ruleset>
<ruleset>/rulesets/unusedcode.xml</ruleset>
</rulesets>
<linkXref>true</linkXref>
<minimumTokens>100</minimumTokens>
<targetJdk>${jdk.version}</targetJdk>
</configuration>
</plugin -->
</reportPlugins>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<parallel>true</parallel>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.myfaces.maven</groupId>
<artifactId>wagon-maven-plugin</artifactId>
<version>${wagon-plugin.version}</version>
<inherited>true</inherited>
<configuration>
<id>myfaces-nightly-builds</id>
<url>scpexe://minotaur.apache.org/www/people.apache.org/builds/myfaces/nightly</url>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.myfaces.trinidadbuild</groupId>
<artifactId>maven-xrts-plugin</artifactId>
<version>${trinidad-plugins.version}</version>
<inherited>true</inherited>
<configuration>
<defaultLocales>
<defaultLocale>en</defaultLocale>
<defaultLocale>en_US</defaultLocale>
</defaultLocales>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.myfaces.trinidadbuild</groupId>
<artifactId>maven-faces-plugin</artifactId>
<version>${trinidad-plugins.version}</version>
<inherited>true</inherited>
<configuration>
<force>true</force>
<jsfVersion>${jsf-spec.version}</jsfVersion>
<metadataComplete>true</metadataComplete>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.myfaces.trinidadbuild</groupId>
<artifactId>maven-jdev-plugin</artifactId>
<version>${trinidad-plugins.version}</version>
</plugin>
<plugin>
<groupId>org.apache.myfaces.trinidadbuild</groupId>
<artifactId>maven-i18n-plugin</artifactId>
<version>${trinidad-plugins.version}</version>
<inherited>true</inherited>
</plugin>
<plugin>
<groupId>org.apache.myfaces.trinidadbuild</groupId>
<artifactId>maven-javascript-plugin</artifactId>
<version>${trinidad-plugins.version}</version>
<inherited>true</inherited>
</plugin>
<plugin>
<groupId>org.apache.myfaces.trinidadbuild</groupId>
<artifactId>maven-tagdoc-plugin</artifactId>
<version>${trinidad-plugins.version}</version>
</plugin>
<plugin>
<groupId>org.apache.myfaces.buildtools</groupId>
<artifactId>myfaces-builder-plugin</artifactId>
<version>${myfaces-builder-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
<!--
<showWarnings>true</showWarnings>
<compilerArgument>-Xlint:all,-serial,-fallthrough</compilerArgument>
-->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<inherited>true</inherited>
<version>2.6</version>
<configuration>
<targetJdk>${jdk.version}</targetJdk>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>${jdk.version}</source>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<filtering>false</filtering>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-source</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>${jetty-plugin.version}</version>
</plugin>
<plugin>
<groupId>${pluto.package}</groupId>
<artifactId>maven-pluto-plugin</artifactId>
<version>${pluto.version}</version>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>assemble</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-idea-plugin</artifactId>
<version>2.2</version>
<configuration>
<jdkName>${maven.compile.source}</jdkName>
<linkModules>true</linkModules>
<downloadSources>true</downloadSources>
<jdkLevel>5.0</jdkLevel>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.8</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!--
Trinidad must now be built with a minimum of Maven 3.0 and Java 5.0 because
of some oddities with the checkstyle plugin
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.0.1</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<!-- Require AT LEAST Maven 3.0 or higher -->
<message>Apache MyFaces Trinidad 2 needs to be compiled with at least Maven ${maven.min-version}</message>
<version>[${maven.min-version},)</version>
</requireMavenVersion>
<requireJavaVersion>
<message>Apache MyFaces Trinidad 2 needs to be compiled with at least JDK ${jdk.min-version}</message>
<version>[${jdk.min-version},)</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<configLocation>default/myfaces-checks-minimal.xml</configLocation>
<headerLocation>default/myfaces-header.txt</headerLocation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<preparationGoals>clean verify install</preparationGoals>
<tagBase>https://svn.apache.org/repos/asf/myfaces/trinidad/tags</tagBase>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
<!-- force generating a *-sources.jar when building a jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-source</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.myfaces.trinidadbuild</groupId>
<artifactId>maven-xrts-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>generate-sources</goal>
<goal>generate-test-sources</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-remote-resources-plugin</artifactId>
<version>1.0-alpha-6</version>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
<configuration>
<resourceBundles>
<resourceBundle>org.apache:apache-jar-resource-bundle:1.3</resourceBundle>
</resourceBundles>
<properties>
<addLicense>true</addLicense>
</properties>
</configuration>
</execution>
</executions>
</plugin>
<!-- Apache RAT Plugin - intentionally executed only on -PenableRat, -Papache-release, or rat:check -->
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.7</version>
<configuration>
<includes>
<include>src/*/</include>
<include>pom.xml</include>
</includes>
<excludes>
<exclude>**/clirr-runner.txt</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<!--
This profile will build a snapshot. It is primarily used for the Jenkins snapshot builds.
This profile allows access to the apache snapshot repository (for plugin snapshots) and
will not build any of the examples.
-->
<profiles>
<profile>
<id>buildSnapshot</id>
<!-- Add the snapshot repository -->
<repositories>
<repository>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
<id>Apache Snapshots</id>
<url>https://repository.apache.org/content/groups/snapshots</url>
<layout>default</layout>
</repository>
</repositories>
</profile>
<!--
This profile builds the examples when NOT performing a release. Execute this profile
by making sure that there is no -DperformRelease property on the maven command. If
there is, it may manually be invoked by adding a -PbuildExamples.
-->
<profile>
<id>buildExamples</id>
<activation>
<property>
<name>!performRelease</name>
</property>
</activation>
<modules>
<module>trinidad-examples</module>
</modules>
</profile>
<!--
To create a new branch, use the following command:
mvn release:branch -DprepareRelease=true -DbranchName=my-branch -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false
-->
<!--
Add the assembly module when performing an apache-release
USAGE:
- mvn release:prepare -Papache-release
- mvn release:perform -Papache-release
NOTE that for the maven lifecycle invoked by the release plugin, -Papache-release will
be added automatically because of the config in apache-parent-7.
-->
<profile>
<id>apache-release</id>
<modules>
<module>trinidad-assembly</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>enableRat</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!--
This profile enables asserts in the surefire tests. Do not use this with Maven 2.0.6 or
you will get an error. Execute this profile like this:
mvn install -PenableAssert
-->
<profile>
<id>enableAssert</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<forkMode>once</forkMode>
<argLine>-enableassertions</argLine>
<parallel>false</parallel>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<!--
This marks the JSF libraries for inclusion into the example projects. Execute this profile
like this:
mvn install -PincludeJSF
-->
<profile>
<id>includeJSF</id>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>${jsf-ri.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>${jsf-ri.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-api</artifactId>
<version>${jsf-myfaces.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-impl</artifactId>
<version>${jsf-myfaces.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</dependencyManagement>
</profile>
<!--
This marks the JSTL libraries for inclusion into the example projects. Execute this profile
like this:
mvn install -PincludeJSTL
-->
<profile>
<id>includeJSTL</id>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>${jstl.version}</version>
<scope>compile</scope>
</dependency>
</dependencies>
</dependencyManagement>
</profile>
<!--
This marks the Bridge libraries for inclusion into the example projects. Execute this profile
like this:
mvn install -PincludeBridge
-->
<profile>
<id>includeBridge</id>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.myfaces.portlet-bridge</groupId>
<artifactId>portlet-bridge-api</artifactId>
<version>${portlet-bridge.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.myfaces.portlet-bridge</groupId>
<artifactId>portlet-bridge-impl</artifactId>
<version>${portlet-bridge.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</dependencyManagement>
</profile>
</profiles>
</project>