JAL-3130 incorporating feature/JAL-3063jaxbNoCastor and new script utils/jdeps_jlink_...
[jalview.git] / j11mod / tmp / META-INF / maven / com.sun.xml.ws / servlet / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3
4     DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
5
6     Copyright (c) 2012-2017 Oracle and/or its affiliates. All rights reserved.
7
8     The contents of this file are subject to the terms of either the GNU
9     General Public License Version 2 only ("GPL") or the Common Development
10     and Distribution License("CDDL") (collectively, the "License").  You
11     may not use this file except in compliance with the License.  You can
12     obtain a copy of the License at
13     https://oss.oracle.com/licenses/CDDL+GPL-1.1
14     or LICENSE.txt.  See the License for the specific
15     language governing permissions and limitations under the License.
16
17     When distributing the software, include this License Header Notice in each
18     file and include the License file at LICENSE.txt.
19
20     GPL Classpath Exception:
21     Oracle designates this particular file as subject to the "Classpath"
22     exception as provided by Oracle in the GPL Version 2 section of the License
23     file that accompanied this code.
24
25     Modifications:
26     If applicable, add the following below the License Header, with the fields
27     enclosed by brackets [] replaced by your own identifying information:
28     "Portions Copyright [year] [name of copyright owner]"
29
30     Contributor(s):
31     If you wish your version of this file to be governed by only the CDDL or
32     only the GPL Version 2, indicate your decision by adding "[Contributor]
33     elects to include this software in this distribution under the [CDDL or GPL
34     Version 2] license."  If you don't indicate a single choice of license, a
35     recipient has the option to distribute your version of this file under
36     either the CDDL, the GPL Version 2 or to extend the choice of license to
37     its licensees as provided above.  However, if you add GPL Version 2 code
38     and therefore, elected the GPL Version 2 license, then the option applies
39     only if the new code is made subject to such option by the copyright
40     holder.
41
42 -->
43
44 <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">
45
46     <parent>
47         <groupId>com.sun.xml.ws</groupId>
48         <artifactId>project</artifactId>
49         <version>2.3.1</version>
50         <relativePath>../pom.xml</relativePath>
51     </parent>
52
53     <modelVersion>4.0.0</modelVersion>
54     <groupId>com.sun.xml.ws</groupId>
55     <artifactId>servlet</artifactId>
56     <version>2.3.1</version>
57
58     <name>JAX-WS RI Servlet Support (servlet)</name>
59     <description>Servlet Support for JAX-WS RI</description>
60
61     <dependencies>
62         <dependency>
63             <groupId>${project.groupId}</groupId>
64             <artifactId>rt</artifactId>
65             <version>${project.version}</version>
66         </dependency>
67         <dependency>
68             <groupId>javax.servlet</groupId>
69             <artifactId>javax.servlet-api</artifactId>
70             <scope>provided</scope>
71         </dependency>
72     </dependencies>
73
74     <build>
75         <plugins>
76             <plugin>
77                 <groupId>org.apache.maven.plugins</groupId>
78                 <artifactId>maven-dependency-plugin</artifactId>
79                 <executions>
80                     <execution>
81                         <id>unpack-asm</id>
82                         <phase>generate-sources</phase>
83                         <goals>
84                             <goal>unpack</goal>
85                         </goals>
86                         <configuration>
87                             <artifactItems>
88                                 <artifactItem>
89                                     <groupId>asm</groupId>
90                                     <artifactId>asm</artifactId>
91                                     <type>jar</type>
92                                     <classifier>sources</classifier>
93                                     <version>${asm.version}</version>
94                                 </artifactItem>
95                             </artifactItems>
96                             <includes>org/objectweb/asm/*.java</includes>
97                         </configuration>
98                     </execution>
99                     <execution>
100                         <id>copy-dependencies</id>
101                         <phase>process-sources</phase>
102                         <goals>
103                             <goal>copy-dependencies</goal>
104                         </goals>
105                         <configuration>
106                             <outputDirectory>${project.build.directory}/lib</outputDirectory>
107                             <excludeArtifactIds>javax.activation</excludeArtifactIds>
108                         </configuration>
109                     </execution>
110                 </executions>
111             </plugin>
112             <plugin>
113                 <artifactId>maven-compiler-plugin</artifactId>
114                 <executions>
115                     <execution>
116                         <id>default-compile</id>
117                         <configuration>
118                             <compilerArgs>
119                                 <arg>--module-path</arg>
120                                 <arg>${project.build.directory}/lib:${project.build.directory}/classes</arg>
121
122                                 <!--TODO automatic module names based on jar filename -->
123                                 <arg>--add-modules</arg>
124                                 <arg>javax.servlet.api</arg>
125                                 <arg>--add-reads</arg>
126                                 <arg>com.sun.xml.ws.servlet=javax.servlet.api</arg>
127
128                             </compilerArgs>
129                         </configuration>
130                     </execution>
131                 </executions>
132             </plugin>
133             <plugin>
134                 <groupId>org.apache.maven.plugins</groupId>
135                 <artifactId>maven-javadoc-plugin</artifactId>
136                 <configuration>
137                     <additionalJOptions>
138                         <additionalJOption>--add-reads</additionalJOption>
139                         <!--reads for javax.servlet-api -->
140                         <additionalJOption>com.sun.xml.ws.servlet=ALL-UNNAMED</additionalJOption>
141                         <additionalparam>-Xdoclint:none</additionalparam>
142                     </additionalJOptions>
143                     <debug>true</debug>
144                 </configuration>
145             </plugin>
146         </plugins>
147 <!--
148         <plugins>
149             <plugin>
150                 <groupId>org.apache.felix</groupId>
151                 <artifactId>maven-bundle-plugin</artifactId>
152                 <executions>
153                     <execution>
154                         <id>osgi-bundle</id>
155                         <phase>prepare-package</phase>
156                         <goals>
157                             <goal>bundle</goal>
158                         </goals>
159                         <configuration>
160                             <instructions>
161                                 <Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
162                                 <Export-Package>
163                                     com.sun.xml.ws.developer.servlet;version=${project.version}
164                                     com.sun.xml.ws.transport.http.servlet;version=${project.version}
165                                 </Export-Package>
166                                 <Import-Package>
167                                     com.oracle.webservices.api.message;version=${jaxws-rt.version},
168                                     com.sun.istack.localization;version=${jaxb-impl.version},
169                                     com.sun.xml.ws.api;version=${jaxws-rt.version}, 
170                                     com.sun.xml.ws.api.ha;version=${jaxws-rt.version}, 
171                                     com.sun.xml.ws.api.message;version=${jaxws-rt.version}, 
172                                     com.sun.xml.ws.api.model.wsdl;version=${jaxws-rt.version}, 
173                                     com.sun.xml.ws.api.server;version=${jaxws-rt.version}, 
174                                     com.sun.xml.ws.resources;version=${jaxws-rt.version}, 
175                                     com.sun.xml.ws.server;version=${jaxws-rt.version}, 
176                                     com.sun.xml.ws.transport;version=${jaxws-rt.version}, 
177                                     com.sun.xml.ws.transport.http;version=${jaxws-rt.version}, 
178                                     com.sun.xml.ws.util.exception;version=${jaxws-rt.version}, 
179                                     com.sun.xml.ws.util.localization;version=${jaxws-rt.version}, 
180                                     javax.jws, 
181                                     javax.servlet;version=${servlet-api.version},
182                                     javax.servlet.annotation;version=${servlet-api.version}, 
183                                     javax.servlet.http;version=${servlet-api.version},
184                                     javax.xml.namespace,
185                                     javax.xml.ws;version=${jaxws-api.osgiVersion},
186                                     javax.xml.ws.http;version=${jaxws-api.osgiVersion},
187                                     javax.xml.ws.spi;version=${jaxws-api.osgiVersion},
188                                     org.glassfish.external.probe.provider.annotations
189                                 </Import-Package>
190                             </instructions>
191                         </configuration>
192                     </execution>
193                 </executions>
194             </plugin>
195         </plugins>
196 -->
197     </build>
198 </project>