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
diff --git a/j11mod/tmp/META-INF/maven/com.sun.xml.ws/servlet/pom.xml b/j11mod/tmp/META-INF/maven/com.sun.xml.ws/servlet/pom.xml
new file mode 100644 (file)
index 0000000..3325b2c
--- /dev/null
@@ -0,0 +1,198 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+
+    Copyright (c) 2012-2017 Oracle and/or its affiliates. All rights reserved.
+
+    The contents of this file are subject to the terms of either the GNU
+    General Public License Version 2 only ("GPL") or the Common Development
+    and Distribution License("CDDL") (collectively, the "License").  You
+    may not use this file except in compliance with the License.  You can
+    obtain a copy of the License at
+    https://oss.oracle.com/licenses/CDDL+GPL-1.1
+    or LICENSE.txt.  See the License for the specific
+    language governing permissions and limitations under the License.
+
+    When distributing the software, include this License Header Notice in each
+    file and include the License file at LICENSE.txt.
+
+    GPL Classpath Exception:
+    Oracle designates this particular file as subject to the "Classpath"
+    exception as provided by Oracle in the GPL Version 2 section of the License
+    file that accompanied this code.
+
+    Modifications:
+    If applicable, add the following below the License Header, with the fields
+    enclosed by brackets [] replaced by your own identifying information:
+    "Portions Copyright [year] [name of copyright owner]"
+
+    Contributor(s):
+    If you wish your version of this file to be governed by only the CDDL or
+    only the GPL Version 2, indicate your decision by adding "[Contributor]
+    elects to include this software in this distribution under the [CDDL or GPL
+    Version 2] license."  If you don't indicate a single choice of license, a
+    recipient has the option to distribute your version of this file under
+    either the CDDL, the GPL Version 2 or to extend the choice of license to
+    its licensees as provided above.  However, if you add GPL Version 2 code
+    and therefore, elected the GPL Version 2 license, then the option applies
+    only if the new code is made subject to such option by the copyright
+    holder.
+
+-->
+
+<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">
+
+    <parent>
+        <groupId>com.sun.xml.ws</groupId>
+        <artifactId>project</artifactId>
+        <version>2.3.1</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>com.sun.xml.ws</groupId>
+    <artifactId>servlet</artifactId>
+    <version>2.3.1</version>
+
+    <name>JAX-WS RI Servlet Support (servlet)</name>
+    <description>Servlet Support for JAX-WS RI</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>rt</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>javax.servlet-api</artifactId>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>unpack-asm</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>unpack</goal>
+                        </goals>
+                        <configuration>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>asm</groupId>
+                                    <artifactId>asm</artifactId>
+                                    <type>jar</type>
+                                    <classifier>sources</classifier>
+                                    <version>${asm.version}</version>
+                                </artifactItem>
+                            </artifactItems>
+                            <includes>org/objectweb/asm/*.java</includes>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>copy-dependencies</id>
+                        <phase>process-sources</phase>
+                        <goals>
+                            <goal>copy-dependencies</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>${project.build.directory}/lib</outputDirectory>
+                            <excludeArtifactIds>javax.activation</excludeArtifactIds>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>default-compile</id>
+                        <configuration>
+                            <compilerArgs>
+                                <arg>--module-path</arg>
+                                <arg>${project.build.directory}/lib:${project.build.directory}/classes</arg>
+
+                                <!--TODO automatic module names based on jar filename -->
+                                <arg>--add-modules</arg>
+                                <arg>javax.servlet.api</arg>
+                                <arg>--add-reads</arg>
+                                <arg>com.sun.xml.ws.servlet=javax.servlet.api</arg>
+
+                            </compilerArgs>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <configuration>
+                    <additionalJOptions>
+                        <additionalJOption>--add-reads</additionalJOption>
+                        <!--reads for javax.servlet-api -->
+                        <additionalJOption>com.sun.xml.ws.servlet=ALL-UNNAMED</additionalJOption>
+                        <additionalparam>-Xdoclint:none</additionalparam>
+                    </additionalJOptions>
+                    <debug>true</debug>
+                </configuration>
+            </plugin>
+        </plugins>
+<!--
+        <plugins>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>osgi-bundle</id>
+                        <phase>prepare-package</phase>
+                        <goals>
+                            <goal>bundle</goal>
+                        </goals>
+                        <configuration>
+                            <instructions>
+                                <Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>
+                                <Export-Package>
+                                    com.sun.xml.ws.developer.servlet;version=${project.version}
+                                    com.sun.xml.ws.transport.http.servlet;version=${project.version}
+                                </Export-Package>
+                                <Import-Package>
+                                    com.oracle.webservices.api.message;version=${jaxws-rt.version},
+                                    com.sun.istack.localization;version=${jaxb-impl.version},
+                                    com.sun.xml.ws.api;version=${jaxws-rt.version}, 
+                                    com.sun.xml.ws.api.ha;version=${jaxws-rt.version}, 
+                                    com.sun.xml.ws.api.message;version=${jaxws-rt.version}, 
+                                    com.sun.xml.ws.api.model.wsdl;version=${jaxws-rt.version}, 
+                                    com.sun.xml.ws.api.server;version=${jaxws-rt.version}, 
+                                    com.sun.xml.ws.resources;version=${jaxws-rt.version}, 
+                                    com.sun.xml.ws.server;version=${jaxws-rt.version}, 
+                                    com.sun.xml.ws.transport;version=${jaxws-rt.version}, 
+                                    com.sun.xml.ws.transport.http;version=${jaxws-rt.version}, 
+                                    com.sun.xml.ws.util.exception;version=${jaxws-rt.version}, 
+                                    com.sun.xml.ws.util.localization;version=${jaxws-rt.version}, 
+                                    javax.jws, 
+                                    javax.servlet;version=${servlet-api.version},
+                                    javax.servlet.annotation;version=${servlet-api.version}, 
+                                    javax.servlet.http;version=${servlet-api.version},
+                                    javax.xml.namespace,
+                                    javax.xml.ws;version=${jaxws-api.osgiVersion},
+                                    javax.xml.ws.http;version=${jaxws-api.osgiVersion},
+                                    javax.xml.ws.spi;version=${jaxws-api.osgiVersion},
+                                    org.glassfish.external.probe.provider.annotations
+                                </Import-Package>
+                            </instructions>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+-->
+    </build>
+</project>