org.eclipse.persistence.distribution.tests
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.eclipse.persistence</groupId> <artifactId>org.eclipse.persistence.distribution.tests</artifactId> <version>5.0.0-B04</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2020, 2024 Oracle and/or its affiliates. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v. 2.0 which is available at http://www.eclipse.org/legal/epl-2.0, or the Eclipse Distribution License v. 1.0 which is available at http://www.eclipse.org/org/documents/edl-v10.php. SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause --> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.eclipse.persistence</groupId> <artifactId>org.eclipse.persistence.bundles</artifactId> <version>5.0.0-B04</version> <relativePath>../pom.xml</relativePath> </parent> <name>EclipseLink Bundles tests</name> <groupId>org.eclipse.persistence</groupId> <artifactId>org.eclipse.persistence.distribution.tests</artifactId> <packaging>jar</packaging> <properties> <comp.xlint>-Xlint:all</comp.xlint> <comp.xdoclint>-Xdoclint:all,-missing</comp.xdoclint> <comp.test.xlint>-Xlint:all</comp.test.xlint> <!--Test properties--> <archive.tmp.dir>archive-tmp</archive.tmp.dir> <eclipselink.unzip.dir>${project.build.directory}/stage</eclipselink.unzip.dir> <osgi.test.plugins.dir>osgi-test-plugins/</osgi.test.plugins.dir> </properties> <dependencies> <dependency> <groupId>org.eclipse.persistence</groupId> <artifactId>eclipselink</artifactId> <type>zip</type> <!-- ### fix me--> <version>${project.version}</version> </dependency> <dependency> <groupId>org.eclipse.persistence</groupId> <artifactId>org.eclipse.persistence.asm</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.persistence</groupId> <artifactId>org.eclipse.persistence.core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.persistence</groupId> <artifactId>org.eclipse.persistence.moxy</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>com.sun.xml.bind</groupId> <artifactId>jaxb-xjc</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>jakarta.validation</groupId> <artifactId>jakarta.validation-api</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>jakarta.ws.rs</groupId> <artifactId>jakarta.ws.rs-api</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>jakarta.xml.bind</groupId> <artifactId>jakarta.xml.bind-api</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.parsson</groupId> <artifactId>parsson</artifactId> <scope>test</scope> </dependency> <!-- <dependency>--> <!-- <groupId>org.glassfish.corba</groupId>--> <!-- <artifactId>glassfish-corba-omgapi</artifactId>--> <!-- <scope>test</scope>--> <!-- </dependency>--> <!-- <dependency>--> <!-- <groupId>org.glassfish.corba</groupId>--> <!-- <artifactId>glassfish-corba-orb</artifactId>--> <!-- <scope>test</scope>--> <!-- </dependency>--> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>jakarta.enterprise</groupId> <artifactId>jakarta.enterprise.cdi-api</artifactId> <scope>test</scope> </dependency> <!--Hibernate validator and it's dependencies--> <dependency> <groupId>org.hibernate.validator</groupId> <artifactId>hibernate-validator</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.glassfish</groupId> <artifactId>jakarta.el</artifactId> <scope>test</scope> </dependency> <!--Felix dependencies--> <dependency> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.framework</artifactId> <scope>test</scope> </dependency> <!--PaxExam --> <dependency> <groupId>org.ops4j.pax.exam</groupId> <artifactId>pax-exam</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.ops4j.pax.exam</groupId> <artifactId>pax-exam-container-forked</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.ops4j.pax.exam</groupId> <artifactId>pax-exam-junit4</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.ops4j.pax.exam</groupId> <artifactId>pax-exam-link-mvn</artifactId> <scope>test</scope> </dependency> <!--Logging, required by Pax --> <!--Uncomment for OSGi test debug messages--> <!-- <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <scope>test</scope> </dependency>--> <!--OSGi core--> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.core</artifactId> <scope>test</scope> </dependency> <dependency> <!-- TODO: jakartify after PaxExam supports jakarta.* Inject--> <groupId>jakarta.inject</groupId> <artifactId>jakarta.inject-api</artifactId> <version>1.0</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>stage</id> <phase>generate-test-resources</phase> <goals> <goal>unpack-dependencies</goal> </goals> <configuration> <includeArtifactIds>eclipselink</includeArtifactIds> <outputDirectory>${eclipselink.unzip.dir}</outputDirectory> </configuration> </execution> </executions> </plugin> <!--Skip Unit testing, there are integration tests only--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skipTests>true</skipTests> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <executions> <execution> <id>installer-test</id> <phase>integration-test</phase> <goals> <goal>integration-test</goal> </goals> <configuration> <environmentVariables> <ECLIPSELINK_UNZIP_DIR>${eclipselink.unzip.dir}</ECLIPSELINK_UNZIP_DIR> </environmentVariables> <includes> <include>org.eclipse.persistence.testing.jaxb.installer.InstallerTestSuite</include> </includes> </configuration> </execution> <execution> <id>verify-integration-tests</id> <goals> <goal>verify</goal> </goals> <configuration> <skip>${integration.test.skip.verify}</skip> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>jdk11+</id> <!-- OSGi tests after jakartification can be run only under JDK 11 or higher due to jakartified dependencies which from now on requires JDK 11 environment --> <activation> <jdk>[11,)</jdk> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>prepare-package-rename.properties-for-eclipselink.zip</id> <phase>prepare-package</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <stripVersion>true</stripVersion> <outputDirectory>${project.build.directory}/${osgi.test.plugins.dir}</outputDirectory> <overWriteSnapshots>true</overWriteSnapshots> <excludeArtifactIds>eclipselink</excludeArtifactIds> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <executions> <execution> <id>osgi-test</id> <phase>integration-test</phase> <goals> <goal>integration-test</goal> </goals> <configuration> <!--<skip>true</skip>--> <systemProperties> <plugins.dir>${project.build.directory}/${osgi.test.plugins.dir}</plugins.dir> </systemProperties> <includes> <include>org.eclipse.persistence.testing.osgi.beanvalidation.NoBeanValidationTest</include> <include>org.eclipse.persistence.testing.osgi.beanvalidation.BeanValidationTest</include> <include>org.eclipse.persistence.testing.osgi.OSGiBundleTest</include> </includes> </configuration> </execution> <execution> <id>verify-installer-osgi-tests</id> <goals> <goal>verify</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>