| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
<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"> |
| 46 |
<parent> |
| 47 |
<artifactId>jaxb-api-parent</artifactId> |
| 48 |
<groupId>javax.xml.bind</groupId> |
| 49 |
<version>2.3.1</version> |
| 50 |
</parent> |
| 51 |
<modelVersion>4.0.0</modelVersion> |
| 52 |
|
| 53 |
<artifactId>jaxb-api-test</artifactId> |
| 54 |
<packaging>jar</packaging> |
| 55 |
<dependencies> |
| 56 |
<dependency> |
| 57 |
<groupId>junit</groupId> |
| 58 |
<artifactId>junit</artifactId> |
| 59 |
<version>4.12</version> |
| 60 |
<scope>test</scope> |
| 61 |
</dependency> |
| 62 |
<dependency> |
| 63 |
<groupId>javax.xml.bind</groupId> |
| 64 |
<artifactId>jaxb-api</artifactId> |
| 65 |
<version>${project.version}</version> |
| 66 |
</dependency> |
| 67 |
<dependency> |
| 68 |
<groupId>javax.activation</groupId> |
| 69 |
<artifactId>javax.activation-api</artifactId> |
| 70 |
</dependency> |
| 71 |
</dependencies> |
| 72 |
|
| 73 |
<build> |
| 74 |
<plugins> |
| 75 |
<plugin> |
| 76 |
<artifactId>maven-compiler-plugin</artifactId> |
| 77 |
<configuration> |
| 78 |
<release>9</release> |
| 79 |
</configuration> |
| 80 |
</plugin> |
| 81 |
<plugin> |
| 82 |
<artifactId>maven-deploy-plugin</artifactId> |
| 83 |
<configuration> |
| 84 |
<skip>true</skip> |
| 85 |
</configuration> |
| 86 |
</plugin> |
| 87 |
<plugin> |
| 88 |
<artifactId>maven-source-plugin</artifactId> |
| 89 |
<configuration> |
| 90 |
<skip>true</skip> |
| 91 |
</configuration> |
| 92 |
</plugin> |
| 93 |
<plugin> |
| 94 |
<artifactId>maven-javadoc-plugin</artifactId> |
| 95 |
<configuration> |
| 96 |
<skip>true</skip> |
| 97 |
</configuration> |
| 98 |
</plugin> |
| 99 |
<plugin> |
| 100 |
<artifactId>maven-dependency-plugin</artifactId> |
| 101 |
<executions> |
| 102 |
<execution> |
| 103 |
<id>copy</id> |
| 104 |
<phase>test-compile</phase> |
| 105 |
<goals> |
| 106 |
<goal>copy</goal> |
| 107 |
</goals> |
| 108 |
<configuration> |
| 109 |
<artifactItems> |
| 110 |
<artifactItem> |
| 111 |
<groupId>javax.xml.bind</groupId> |
| 112 |
<artifactId>jaxb-api</artifactId> |
| 113 |
<version>${project.version}</version> |
| 114 |
<overWrite>true</overWrite> |
| 115 |
<outputDirectory>${project.build.directory}/mods</outputDirectory> |
| 116 |
</artifactItem> |
| 117 |
<artifactItem> |
| 118 |
<groupId>javax.activation</groupId> |
| 119 |
<artifactId>javax.activation-api</artifactId> |
| 120 |
<version>${activation.version}</version> |
| 121 |
<overWrite>true</overWrite> |
| 122 |
<outputDirectory>${project.build.directory}/mods</outputDirectory> |
| 123 |
</artifactItem> |
| 124 |
</artifactItems> |
| 125 |
</configuration> |
| 126 |
</execution> |
| 127 |
</executions> |
| 128 |
</plugin> |
| 129 |
<plugin> |
| 130 |
<artifactId>maven-surefire-plugin</artifactId> |
| 131 |
<configuration> |
| 132 |
<argLine> |
| 133 |
--add-modules java.xml.bind |
| 134 |
--upgrade-module-path ${project.build.directory}/mods/jaxb-api-${project.version}.jar |
| 135 |
--module-path ${project.build.directory}/mods/javax.activation-api-${activation.version}.jar |
| 136 |
--add-reads java.xml.bind=ALL-UNNAMED |
| 137 |
</argLine> |
| 138 |
<systemPropertyVariables> |
| 139 |
<java.util.logging.config.file> |
| 140 |
src/test/resources/logging.properties |
| 141 |
</java.util.logging.config.file> |
| 142 |
</systemPropertyVariables> |
| 143 |
</configuration> |
| 144 |
</plugin> |
| 145 |
</plugins> |
| 146 |
</build> |
| 147 |
|
| 148 |
|
| 149 |
</project> |