jetspeed-registry
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.apache.portals.jetspeed-2</groupId>
<artifactId>jetspeed-registry</artifactId>
<version>2.3.1</version>
</dependency><?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.
$Id: pom.xml 1742341 2016-05-04 23:47:06Z taylor $
-->
<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>
<prerequisites>
<maven>2.0.9</maven>
</prerequisites>
<artifactId>jetspeed-registry</artifactId>
<name>Jetspeed-2 Registry Components</name>
<description>Jetspeed-2 Registry Components</description>
<parent>
<groupId>org.apache.portals.jetspeed-2</groupId>
<artifactId>components</artifactId>
<version>2.3.1</version>
</parent>
<packaging>jar</packaging>
<!-- Dependencies -->
<dependencies>
<!-- Build Dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jetspeed-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jetspeed-commons</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jaxb_2.1_spec</artifactId>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-stax-api_1.0_spec</artifactId>
</dependency>
<dependency>
<groupId>stax</groupId>
<artifactId>stax</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-activation_1.1_spec</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jetspeed-rdbms</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jetspeed-portlet-factory</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jetspeed-search</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jetspeed-serializer</artifactId>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
</dependency>
<!-- Test Dependencies -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jetspeed-file-cache</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jetspeed-page-layout</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jta_1.1_spec</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${org.apache.jetspeed.test.jdbc.driver.groupId}</groupId>
<artifactId>${org.apache.jetspeed.test.jdbc.driver.artifactId}</artifactId>
<version>${org.apache.jetspeed.test.jdbc.driver.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jmock</groupId>
<artifactId>jmock</artifactId>
<scope>test</scope>
</dependency>
<!--
Note: tyrex and junit is normally required only for test, but in this case, abstract test cases are included in
the component build... this should probably be fixed... for now, assume that junit will be provided if these test
classes are used.
-->
<dependency>
<groupId>tyrex</groupId>
<artifactId>tyrex</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<!-- PortletEntity usage is obsolete -->
<exclude>**/TestPortletEntityDAO.java</exclude>
<!--
The following tests have been aggregated into TestRegistryDirectAll because the individual tests do not
get executed in a predictable order by maven/junit. For example, on Linux FC4, these tests were repeatably
executed in this order: TestRegistryDirectPart1a TestRegistryDirectPart2a TestRegistryDirectPart1b
Obviously, the component unit tests then failed.
-->
<exclude>**/TestRegistryDirectPart1a.java</exclude>
<exclude>**/TestRegistryDirectPart1b.java</exclude>
<exclude>**/TestRegistryDirectPart2a.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>${project.groupId}</groupId>
<artifactId>jetspeed-unpack-maven-plugin</artifactId>
<version>${project.version}</version>
<executions>
<execution>
<id>unpack-test-resources</id>
<goals>
<goal>unpack</goal>
</goals>
<phase>process-test-resources</phase>
<configuration>
<skip>${skipTests}</skip>
<unpack>
<artifact>${project.groupId}:jetspeed-portal-resources:jar</artifact>
<targetDirectory>${project.build.testOutputDirectory}</targetDirectory>
<resources>
<resource>
<path>assembly</path>
<include>transaction.xml,static-bean-references.xml,boot/datasource.xml</include>
</resource>
<resource>
<path>db-ojb</path>
</resource>
</resources>
</unpack>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jetspeed-portal-resources</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<filtering>true</filtering>
</testResource>
</testResources>
</build>
</project>