Debian Codegraph @

jaxb-api-test/pom.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4
5 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
6
7 Copyright (c) 2017-2018 Oracle and/or its affiliates. All rights reserved.
8
9 The contents of this file are subject to the terms of either the GNU
10 General Public License Version 2 only ("GPL") or the Common Development
11 and Distribution License("CDDL") (collectively, the "License"). You
12 may not use this file except in compliance with the License. You can
13 obtain a copy of the License at
14 https://oss.oracle.com/licenses/CDDL+GPL-1.1
15 or LICENSE.txt. See the License for the specific
16 language governing permissions and limitations under the License.
17
18 When distributing the software, include this License Header Notice in each
19 file and include the License file at LICENSE.txt.
20
21 GPL Classpath Exception:
22 Oracle designates this particular file as subject to the "Classpath"
23 exception as provided by Oracle in the GPL Version 2 section of the License
24 file that accompanied this code.
25
26 Modifications:
27 If applicable, add the following below the License Header, with the fields
28 enclosed by brackets [] replaced by your own identifying information:
29 "Portions Copyright [year] [name of copyright owner]"
30
31 Contributor(s):
32 If you wish your version of this file to be governed by only the CDDL or
33 only the GPL Version 2, indicate your decision by adding "[Contributor]
34 elects to include this software in this distribution under the [CDDL or GPL
35 Version 2] license." If you don't indicate a single choice of license, a
36 recipient has the option to distribute your version of this file under
37 either the CDDL, the GPL Version 2 or to extend the choice of license to
38 its licensees as provided above. However, if you add GPL Version 2 code
39 and therefore, elected the GPL Version 2 license, then the option applies
40 only if the new code is made subject to such option by the copyright
41 holder.
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>