| <?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.portals.pluto</groupId> |
| <artifactId>pluto</artifactId> |
| <version>2.1.0-M3</version> |
| </parent> |
| |
| <artifactId>pluto-container</artifactId> |
| <packaging>bundle</packaging> |
| <name>Apache Pluto Portlet Container</name> |
| <description>The Apache Pluto portlet container.</description> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.portals.pluto</groupId> |
| <artifactId>pluto-container-api</artifactId> |
| <version>${pom.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Other Support Libraries =========================================== --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <scope>compile</scope> |
| </dependency> |
| |
| <!-- Specification Libraries =========================================== --> |
| <dependency> |
| <groupId>org.apache.portals</groupId> |
| <artifactId>portlet-api_2.0_spec</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.xml.bind</groupId> |
| <artifactId>jaxb-api</artifactId> |
| <scope>compile</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.sun.xml.bind</groupId> |
| <artifactId>jaxb-impl</artifactId> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>stax</groupId> |
| <artifactId>stax</artifactId> |
| <scope>compile</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>stax</groupId> |
| <artifactId>stax-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- CCPP Libraries --> |
| <dependency> |
| <groupId>javax.ccpp</groupId> |
| <artifactId>ccpp</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Testing Libraries ================================================= --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>jmock</groupId> |
| <artifactId>jmock</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>jmock</groupId> |
| <artifactId>jmock-cglib</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </resource> |
| </resources> |
| <testResources> |
| <testResource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| </testResource> |
| </testResources> |
| |
| <plugins> |
| <!-- Surefire Plugin: Exec Tests ===================================== --> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <includes> |
| <include>**/*Test.java</include> |
| </includes> |
| <excludes> |
| <exclude>**/PlutoTestCase.java</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>src/main/resources/org/apache/pluto/container/impl/portlet-app_1_0.xsd</exclude> |
| <exclude>src/main/resources/org/apache/pluto/container/impl/portlet-app_2_0.xsd</exclude> |
| <exclude>src/main/resources/org/apache/pluto/container/impl/web-app_2_3.dtd</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <configuration> |
| <instructions> |
| <Export-Package>org.apache.pluto.container.impl, |
| org.apache.pluto.container.om.portlet.impl, |
| org.apache.pluto.container.om.portlet10.impl, |
| org.apache.pluto.container.util |
| </Export-Package> |
| </instructions> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |