| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved. |
| |
| This program and the accompanying materials are made available under the |
| terms of the Eclipse Distribution License v. 1.0, which is available at |
| http://www.eclipse.org/org/documents/edl-v10.php. |
| |
| SPDX-License-Identifier: BSD-3-Clause |
| |
| --> |
| |
| <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/xsd/maven-4.0.0.xsd"> |
| <parent> |
| <artifactId>jaxb-api-parent</artifactId> |
| <groupId>jakarta.xml.bind</groupId> |
| <version>2.4.0-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>jaxb-api-test</artifactId> |
| <packaging>jar</packaging> |
| |
| <properties> |
| <config.dir>${project.basedir}/../etc/config</config.dir> |
| <legal.doc.source>${project.basedir}/..</legal.doc.source> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.12</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.xml.bind</groupId> |
| <artifactId>jaxb-api</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>jakarta.activation</groupId> |
| <artifactId>jakarta.activation-api</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <release>11</release> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-source-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <skip>true</skip> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy</id> |
| <phase>process-resources</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>jakarta.xml.bind</groupId> |
| <artifactId>jaxb-api</artifactId> |
| <version>${project.version}</version> |
| <overWrite>true</overWrite> |
| <outputDirectory>${project.build.directory}/modules</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>jakarta.activation</groupId> |
| <artifactId>jakarta.activation-api</artifactId> |
| <version>${activation.version}</version> |
| <overWrite>true</overWrite> |
| <outputDirectory>${project.build.directory}/modules</outputDirectory> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.build.directory}/classes/META-INF</outputDirectory> |
| <resources> |
| <resource> |
| <directory>${legal.doc.source}</directory> |
| <includes> |
| <include>LICENSE.md</include> |
| <include>NOTICE.md</include> |
| </includes> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <!--module-path ${project.build.directory}/modules/jakarta.activation-api-${activation.version}.jar --> |
| <argLine> |
| --add-modules java.xml.bind |
| --upgrade-module-path ${project.build.directory}/modules/jaxb-api-${project.version}.jar |
| --module-path ${project.build.directory}/modules/jakarta.activation-api-${activation.version}.jar |
| --add-reads java.xml.bind=ALL-UNNAMED |
| </argLine> |
| <systemPropertyVariables> |
| <java.util.logging.config.file> |
| src/test/resources/logging.properties |
| </java.util.logging.config.file> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |