| 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) 2010-2016 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 |
http://glassfish.java.net/public/CDDL+GPL_1_1.html |
| 14 |
or packager/legal/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 packager/legal/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 |
<parent> |
| 46 |
<artifactId>jersey-contribs</artifactId> |
| 47 |
<groupId>com.sun.jersey.contribs</groupId> |
| 48 |
<version>1.19.3</version> |
| 49 |
<relativePath>../pom.xml</relativePath> |
| 50 |
</parent> |
| 51 |
<modelVersion>4.0.0</modelVersion> |
| 52 |
<artifactId>wadl-resourcedoc-doclet</artifactId> |
| 53 |
<packaging>jar</packaging> |
| 54 |
<name>wadl-resourcedoc-doclet</name> |
| 55 |
<description>A doclet that generates a resourcedoc xml file: this file contains the javadoc documentation |
| 56 |
of resource classes, so that this can be used for extending generated wadl with useful |
| 57 |
documentation. |
| 58 |
</description> |
| 59 |
|
| 60 |
<profiles> |
| 61 |
<profile> |
| 62 |
<id>jdk1.7</id> |
| 63 |
<activation> |
| 64 |
<jdk>1.7</jdk> |
| 65 |
</activation> |
| 66 |
<dependencies> |
| 67 |
<dependency> |
| 68 |
<groupId>com.sun</groupId> |
| 69 |
<artifactId>tools</artifactId> |
| 70 |
<version>1.7.0</version> |
| 71 |
<scope>system</scope> |
| 72 |
<systemPath>${java.home}/../lib/tools.jar</systemPath> |
| 73 |
</dependency> |
| 74 |
<dependency> |
| 75 |
<groupId>com.sun.jersey</groupId> |
| 76 |
<artifactId>jersey-servlet</artifactId> |
| 77 |
<version>${project.version}</version> |
| 78 |
</dependency> |
| 79 |
</dependencies> |
| 80 |
</profile> |
| 81 |
<profile> |
| 82 |
<id>tools.jar</id> |
| 83 |
<activation> |
| 84 |
<!-- Activation should be done with <file>${java.home}/../lib/tools.jar</file But this is not working with maven as the property is not expansed. --> |
| 85 |
<property> |
| 86 |
<name>java.vendor</name> |
| 87 |
<value>Sun Microsystems Inc.</value> |
| 88 |
</property> |
| 89 |
</activation> |
| 90 |
<dependencies> |
| 91 |
<dependency> |
| 92 |
<groupId>com.sun</groupId> |
| 93 |
<artifactId>tools</artifactId> |
| 94 |
<version>1.6</version> |
| 95 |
<scope>system</scope> |
| 96 |
<systemPath>${java.home}/../lib/tools.jar</systemPath> |
| 97 |
</dependency> |
| 98 |
<dependency> |
| 99 |
<groupId>com.sun.jersey</groupId> |
| 100 |
<artifactId>jersey-servlet</artifactId> |
| 101 |
<version>${project.version}</version> |
| 102 |
</dependency> |
| 103 |
</dependencies> |
| 104 |
</profile> |
| 105 |
<profile> |
| 106 |
<id>cobertura</id> |
| 107 |
<activation> |
| 108 |
<property> |
| 109 |
<name>cobertura</name> |
| 110 |
</property> |
| 111 |
</activation> |
| 112 |
<dependencies> |
| 113 |
<dependency> |
| 114 |
<groupId>com.sun.jersey</groupId> |
| 115 |
<artifactId>jersey-servlet</artifactId> |
| 116 |
<version>${project.version}</version> |
| 117 |
<classifier>cobertura</classifier> |
| 118 |
</dependency> |
| 119 |
</dependencies> |
| 120 |
</profile> |
| 121 |
<profile> |
| 122 |
<id>default</id> |
| 123 |
<activation> |
| 124 |
<activeByDefault>true</activeByDefault> |
| 125 |
</activation> |
| 126 |
<dependencies> |
| 127 |
<dependency> |
| 128 |
<groupId>com.sun.jersey</groupId> |
| 129 |
<artifactId>jersey-servlet</artifactId> |
| 130 |
<version>${project.version}</version> |
| 131 |
</dependency> |
| 132 |
</dependencies> |
| 133 |
</profile> |
| 134 |
</profiles> |
| 135 |
|
| 136 |
<dependencies> |
| 137 |
<dependency> |
| 138 |
<groupId>xerces</groupId> |
| 139 |
<artifactId>xercesImpl</artifactId> |
| 140 |
<version>2.6.1</version> |
| 141 |
</dependency> |
| 142 |
</dependencies> |
| 143 |
<build> |
| 144 |
<plugins> |
| 145 |
<plugin> |
| 146 |
<groupId>org.apache.maven.plugins</groupId> |
| 147 |
<artifactId>maven-compiler-plugin</artifactId> |
| 148 |
</plugin> |
| 149 |
|
| 150 |
<plugin> |
| 151 |
<groupId>org.apache.maven.plugins</groupId> |
| 152 |
<artifactId>maven-javadoc-plugin</artifactId> |
| 153 |
</plugin> |
| 154 |
|
| 155 |
<plugin> |
| 156 |
<groupId>org.apache.maven.plugins</groupId> |
| 157 |
<artifactId>maven-source-plugin</artifactId> |
| 158 |
<executions> |
| 159 |
<execution> |
| 160 |
<id>attach-sources</id> |
| 161 |
<phase>package</phase> |
| 162 |
<goals> |
| 163 |
<goal>jar</goal> |
| 164 |
</goals> |
| 165 |
</execution> |
| 166 |
</executions> |
| 167 |
</plugin> |
| 168 |
</plugins> |
| 169 |
</build> |
| 170 |
</project> |