| 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/xsd/maven-4.0.0.xsd"> |
| 45 |
<modelVersion>4.0.0</modelVersion> |
| 46 |
<parent> |
| 47 |
<artifactId>glassfish-packages</artifactId> |
| 48 |
<groupId>com.sun.jersey.glassfish.v32</groupId> |
| 49 |
<version>1.19.3</version> |
| 50 |
</parent> |
| 51 |
<artifactId>jersey-gfv3-docs-and-samples</artifactId> |
| 52 |
<name>Jersey GFv3.2 UC Docs And Examples Package Image</name> |
| 53 |
<packaging>pom</packaging> |
| 54 |
<dependencies> |
| 55 |
<dependency> |
| 56 |
<groupId>com.sun.jersey</groupId> |
| 57 |
<artifactId>jersey-bundle</artifactId> |
| 58 |
<version>${project.version}</version> |
| 59 |
</dependency> |
| 60 |
<dependency> |
| 61 |
<groupId>com.sun.jersey.samples</groupId> |
| 62 |
<artifactId>bookmark</artifactId> |
| 63 |
<version>${project.version}</version> |
| 64 |
<type>zip</type> |
| 65 |
<classifier>gf-project</classifier> |
| 66 |
</dependency> |
| 67 |
<dependency> |
| 68 |
<groupId>com.sun.jersey.samples</groupId> |
| 69 |
<artifactId>bookmark-em</artifactId> |
| 70 |
<version>${project.version}</version> |
| 71 |
<type>zip</type> |
| 72 |
<classifier>gf-project</classifier> |
| 73 |
</dependency> |
| 74 |
<dependency> |
| 75 |
<groupId>com.sun.jersey.samples</groupId> |
| 76 |
<artifactId>bookstore</artifactId> |
| 77 |
<version>${project.version}</version> |
| 78 |
<type>zip</type> |
| 79 |
<classifier>gf-project</classifier> |
| 80 |
</dependency> |
| 81 |
<dependency> |
| 82 |
<groupId>com.sun.jersey.samples</groupId> |
| 83 |
<artifactId>jersey-ejb</artifactId> |
| 84 |
<version>${project.version}</version> |
| 85 |
<type>zip</type> |
| 86 |
<classifier>gf-project</classifier> |
| 87 |
</dependency> |
| 88 |
<dependency> |
| 89 |
<groupId>com.sun.jersey.samples</groupId> |
| 90 |
<artifactId>helloworld-webapp</artifactId> |
| 91 |
<version>${project.version}</version> |
| 92 |
<type>zip</type> |
| 93 |
<classifier>gf-project</classifier> |
| 94 |
</dependency> |
| 95 |
<dependency> |
| 96 |
<groupId>com.sun.jersey.samples</groupId> |
| 97 |
<artifactId>scala-helloworld-webapp</artifactId> |
| 98 |
<version>${project.version}</version> |
| 99 |
<type>zip</type> |
| 100 |
<classifier>gf-project</classifier> |
| 101 |
</dependency> |
| 102 |
<dependency> |
| 103 |
<groupId>com.sun.jersey.samples</groupId> |
| 104 |
<artifactId>simple-servlet</artifactId> |
| 105 |
<version>${project.version}</version> |
| 106 |
<type>zip</type> |
| 107 |
<classifier>gf-project</classifier> |
| 108 |
</dependency> |
| 109 |
<dependency> |
| 110 |
<groupId>com.sun.jersey.samples</groupId> |
| 111 |
<artifactId>spring-annotations</artifactId> |
| 112 |
<version>${project.version}</version> |
| 113 |
<type>zip</type> |
| 114 |
<classifier>gf-project</classifier> |
| 115 |
</dependency> |
| 116 |
<dependency> |
| 117 |
<groupId>com.sun.jersey.samples</groupId> |
| 118 |
<artifactId>extended-wadl-webapp</artifactId> |
| 119 |
<version>${project.version}</version> |
| 120 |
<type>zip</type> |
| 121 |
<classifier>gf-project</classifier> |
| 122 |
</dependency> |
| 123 |
<dependency> |
| 124 |
<groupId>com.sun.jersey.samples</groupId> |
| 125 |
<artifactId>managed-beans-webapp</artifactId> |
| 126 |
<version>${project.version}</version> |
| 127 |
<type>zip</type> |
| 128 |
<classifier>gf-project</classifier> |
| 129 |
</dependency> |
| 130 |
<dependency> |
| 131 |
<groupId>com.sun.jersey.samples</groupId> |
| 132 |
<artifactId>jersey-cdi</artifactId> |
| 133 |
<version>${project.version}</version> |
| 134 |
<type>zip</type> |
| 135 |
<classifier>gf-project</classifier> |
| 136 |
</dependency> |
| 137 |
<dependency> |
| 138 |
<groupId>com.sun.jersey.samples</groupId> |
| 139 |
<artifactId>wadl-json-schema-webapp</artifactId> |
| 140 |
<version>${project.version}</version> |
| 141 |
<type>zip</type> |
| 142 |
<classifier>gf-project</classifier> |
| 143 |
</dependency> |
| 144 |
</dependencies> |
| 145 |
<profiles> |
| 146 |
<profile> |
| 147 |
<id>release</id> |
| 148 |
<build> |
| 149 |
<plugins> |
| 150 |
<plugin> |
| 151 |
<groupId>org.apache.maven.plugins</groupId> |
| 152 |
<artifactId>maven-dependency-plugin</artifactId> |
| 153 |
<executions> |
| 154 |
<execution> |
| 155 |
<id>unpack</id> |
| 156 |
<phase>generate-sources</phase> |
| 157 |
<goals> |
| 158 |
<goal>unpack</goal> |
| 159 |
</goals> |
| 160 |
<configuration> |
| 161 |
<artifactItems> |
| 162 |
<artifactItem> |
| 163 |
<groupId>javax.ws.rs</groupId> |
| 164 |
<artifactId>jsr311-api</artifactId> |
| 165 |
<version>${jaxrs.version}</version> |
| 166 |
<type>jar</type> |
| 167 |
<classifier>javadoc</classifier> |
| 168 |
<overWrite>false</overWrite> |
| 169 |
<outputDirectory>${assembly.directory}/jax-rs-javadoc</outputDirectory> |
| 170 |
</artifactItem> |
| 171 |
<artifactItem> |
| 172 |
<groupId>com.sun.jersey</groupId> |
| 173 |
<artifactId>jersey-bundle</artifactId> |
| 174 |
<version>${project.version}</version> |
| 175 |
<type>jar</type> |
| 176 |
<classifier>javadoc</classifier> |
| 177 |
<overWrite>false</overWrite> |
| 178 |
<outputDirectory>${assembly.directory}/jersey-javadoc</outputDirectory> |
| 179 |
</artifactItem> |
| 180 |
<artifactItem> |
| 181 |
<groupId>com.sun.jersey.samples</groupId> |
| 182 |
<artifactId>bookmark</artifactId> |
| 183 |
<version>${project.version}</version> |
| 184 |
<type>zip</type> |
| 185 |
<classifier>gf-project</classifier> |
| 186 |
<overWrite>false</overWrite> |
| 187 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 188 |
</artifactItem> |
| 189 |
<artifactItem> |
| 190 |
<groupId>com.sun.jersey.samples</groupId> |
| 191 |
<artifactId>bookmark-em</artifactId> |
| 192 |
<version>${project.version}</version> |
| 193 |
<type>zip</type> |
| 194 |
<classifier>gf-project</classifier> |
| 195 |
<overWrite>false</overWrite> |
| 196 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 197 |
</artifactItem> |
| 198 |
<artifactItem> |
| 199 |
<groupId>com.sun.jersey.samples</groupId> |
| 200 |
<artifactId>bookstore</artifactId> |
| 201 |
<version>${project.version}</version> |
| 202 |
<type>zip</type> |
| 203 |
<classifier>gf-project</classifier> |
| 204 |
<overWrite>false</overWrite> |
| 205 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 206 |
</artifactItem> |
| 207 |
<artifactItem> |
| 208 |
<groupId>com.sun.jersey.samples</groupId> |
| 209 |
<artifactId>jersey-ejb</artifactId> |
| 210 |
<version>${project.version}</version> |
| 211 |
<type>zip</type> |
| 212 |
<classifier>gf-project</classifier> |
| 213 |
<overWrite>false</overWrite> |
| 214 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 215 |
</artifactItem> |
| 216 |
<artifactItem> |
| 217 |
<groupId>com.sun.jersey.samples</groupId> |
| 218 |
<artifactId>helloworld-webapp</artifactId> |
| 219 |
<version>${project.version}</version> |
| 220 |
<type>zip</type> |
| 221 |
<classifier>gf-project</classifier> |
| 222 |
<overWrite>false</overWrite> |
| 223 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 224 |
</artifactItem> |
| 225 |
<artifactItem> |
| 226 |
<groupId>com.sun.jersey.samples</groupId> |
| 227 |
<artifactId>scala-helloworld-webapp</artifactId> |
| 228 |
<version>${project.version}</version> |
| 229 |
<type>zip</type> |
| 230 |
<classifier>gf-project</classifier> |
| 231 |
<overWrite>false</overWrite> |
| 232 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 233 |
</artifactItem> |
| 234 |
<artifactItem> |
| 235 |
<groupId>com.sun.jersey.samples</groupId> |
| 236 |
<artifactId>simple-servlet</artifactId> |
| 237 |
<version>${project.version}</version> |
| 238 |
<type>zip</type> |
| 239 |
<classifier>gf-project</classifier> |
| 240 |
<overWrite>false</overWrite> |
| 241 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 242 |
</artifactItem> |
| 243 |
<artifactItem> |
| 244 |
<groupId>com.sun.jersey.samples</groupId> |
| 245 |
<artifactId>spring-annotations</artifactId> |
| 246 |
<version>${project.version}</version> |
| 247 |
<type>zip</type> |
| 248 |
<classifier>gf-project</classifier> |
| 249 |
<overWrite>false</overWrite> |
| 250 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 251 |
</artifactItem> |
| 252 |
<artifactItem> |
| 253 |
<groupId>com.sun.jersey.samples</groupId> |
| 254 |
<artifactId>extended-wadl-webapp</artifactId> |
| 255 |
<version>${project.version}</version> |
| 256 |
<type>zip</type> |
| 257 |
<classifier>gf-project</classifier> |
| 258 |
<overWrite>false</overWrite> |
| 259 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 260 |
</artifactItem> |
| 261 |
<artifactItem> |
| 262 |
<groupId>com.sun.jersey.samples</groupId> |
| 263 |
<artifactId>managed-beans-webapp</artifactId> |
| 264 |
<version>${project.version}</version> |
| 265 |
<type>zip</type> |
| 266 |
<classifier>gf-project</classifier> |
| 267 |
<overWrite>false</overWrite> |
| 268 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 269 |
</artifactItem> |
| 270 |
<artifactItem> |
| 271 |
<groupId>com.sun.jersey.samples</groupId> |
| 272 |
<artifactId>jersey-cdi</artifactId> |
| 273 |
<version>${project.version}</version> |
| 274 |
<type>zip</type> |
| 275 |
<classifier>gf-project</classifier> |
| 276 |
<overWrite>false</overWrite> |
| 277 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 278 |
</artifactItem> |
| 279 |
<artifactItem> |
| 280 |
<groupId>com.sun.jersey.samples</groupId> |
| 281 |
<artifactId>wadl-json-schema-webapp</artifactId> |
| 282 |
<version>${project.version}</version> |
| 283 |
<type>zip</type> |
| 284 |
<classifier>gf-project</classifier> |
| 285 |
<overWrite>false</overWrite> |
| 286 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 287 |
</artifactItem> |
| 288 |
</artifactItems> |
| 289 |
</configuration> |
| 290 |
</execution> |
| 291 |
</executions> |
| 292 |
</plugin> |
| 293 |
|
| 294 |
</plugins> |
| 295 |
</build> |
| 296 |
</profile> |
| 297 |
<profile> |
| 298 |
<id>non-release</id> |
| 299 |
<activation> |
| 300 |
<activeByDefault>true</activeByDefault> |
| 301 |
</activation> |
| 302 |
<build> |
| 303 |
<plugins> |
| 304 |
<plugin> |
| 305 |
<groupId>org.apache.maven.plugins</groupId> |
| 306 |
<artifactId>maven-dependency-plugin</artifactId> |
| 307 |
<executions> |
| 308 |
<execution> |
| 309 |
<id>unpack</id> |
| 310 |
<phase>generate-sources</phase> |
| 311 |
<goals> |
| 312 |
<goal>unpack</goal> |
| 313 |
</goals> |
| 314 |
<configuration> |
| 315 |
<artifactItems> |
| 316 |
<artifactItem> |
| 317 |
<groupId>com.sun.jersey.samples</groupId> |
| 318 |
<artifactId>bookmark</artifactId> |
| 319 |
<version>${project.version}</version> |
| 320 |
<type>zip</type> |
| 321 |
<classifier>gf-project</classifier> |
| 322 |
<overWrite>false</overWrite> |
| 323 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 324 |
</artifactItem> |
| 325 |
<artifactItem> |
| 326 |
<groupId>com.sun.jersey.samples</groupId> |
| 327 |
<artifactId>bookmark-em</artifactId> |
| 328 |
<version>${project.version}</version> |
| 329 |
<type>zip</type> |
| 330 |
<classifier>gf-project</classifier> |
| 331 |
<overWrite>false</overWrite> |
| 332 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 333 |
</artifactItem> |
| 334 |
<artifactItem> |
| 335 |
<groupId>com.sun.jersey.samples</groupId> |
| 336 |
<artifactId>bookstore</artifactId> |
| 337 |
<version>${project.version}</version> |
| 338 |
<type>zip</type> |
| 339 |
<classifier>gf-project</classifier> |
| 340 |
<overWrite>false</overWrite> |
| 341 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 342 |
</artifactItem> |
| 343 |
<artifactItem> |
| 344 |
<groupId>com.sun.jersey.samples</groupId> |
| 345 |
<artifactId>jersey-ejb</artifactId> |
| 346 |
<version>${project.version}</version> |
| 347 |
<type>zip</type> |
| 348 |
<classifier>gf-project</classifier> |
| 349 |
<overWrite>false</overWrite> |
| 350 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 351 |
</artifactItem> |
| 352 |
<artifactItem> |
| 353 |
<groupId>com.sun.jersey.samples</groupId> |
| 354 |
<artifactId>helloworld-webapp</artifactId> |
| 355 |
<version>${project.version}</version> |
| 356 |
<type>zip</type> |
| 357 |
<classifier>gf-project</classifier> |
| 358 |
<overWrite>false</overWrite> |
| 359 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 360 |
</artifactItem> |
| 361 |
<artifactItem> |
| 362 |
<groupId>com.sun.jersey.samples</groupId> |
| 363 |
<artifactId>scala-helloworld-webapp</artifactId> |
| 364 |
<version>${project.version}</version> |
| 365 |
<type>zip</type> |
| 366 |
<classifier>gf-project</classifier> |
| 367 |
<overWrite>false</overWrite> |
| 368 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 369 |
</artifactItem> |
| 370 |
<artifactItem> |
| 371 |
<groupId>com.sun.jersey.samples</groupId> |
| 372 |
<artifactId>simple-servlet</artifactId> |
| 373 |
<version>${project.version}</version> |
| 374 |
<type>zip</type> |
| 375 |
<classifier>gf-project</classifier> |
| 376 |
<overWrite>false</overWrite> |
| 377 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 378 |
</artifactItem> |
| 379 |
<artifactItem> |
| 380 |
<groupId>com.sun.jersey.samples</groupId> |
| 381 |
<artifactId>spring-annotations</artifactId> |
| 382 |
<version>${project.version}</version> |
| 383 |
<type>zip</type> |
| 384 |
<classifier>gf-project</classifier> |
| 385 |
<overWrite>false</overWrite> |
| 386 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 387 |
</artifactItem> |
| 388 |
<artifactItem> |
| 389 |
<groupId>com.sun.jersey.samples</groupId> |
| 390 |
<artifactId>extended-wadl-webapp</artifactId> |
| 391 |
<version>${project.version}</version> |
| 392 |
<type>zip</type> |
| 393 |
<classifier>gf-project</classifier> |
| 394 |
<overWrite>false</overWrite> |
| 395 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 396 |
</artifactItem> |
| 397 |
<artifactItem> |
| 398 |
<groupId>com.sun.jersey.samples</groupId> |
| 399 |
<artifactId>managed-beans-webapp</artifactId> |
| 400 |
<version>${project.version}</version> |
| 401 |
<type>zip</type> |
| 402 |
<classifier>gf-project</classifier> |
| 403 |
<overWrite>false</overWrite> |
| 404 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 405 |
</artifactItem> |
| 406 |
<artifactItem> |
| 407 |
<groupId>com.sun.jersey.samples</groupId> |
| 408 |
<artifactId>jersey-cdi</artifactId> |
| 409 |
<version>${project.version}</version> |
| 410 |
<type>zip</type> |
| 411 |
<classifier>gf-project</classifier> |
| 412 |
<overWrite>false</overWrite> |
| 413 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 414 |
</artifactItem> |
| 415 |
<artifactItem> |
| 416 |
<groupId>com.sun.jersey.samples</groupId> |
| 417 |
<artifactId>wadl-json-schema-webapp</artifactId> |
| 418 |
<version>${project.version}</version> |
| 419 |
<type>zip</type> |
| 420 |
<classifier>gf-project</classifier> |
| 421 |
<overWrite>false</overWrite> |
| 422 |
<outputDirectory>${assembly.directory}/samples</outputDirectory> |
| 423 |
</artifactItem> |
| 424 |
</artifactItems> |
| 425 |
</configuration> |
| 426 |
</execution> |
| 427 |
</executions> |
| 428 |
</plugin> |
| 429 |
</plugins> |
| 430 |
</build> |
| 431 |
</profile> |
| 432 |
</profiles> |
| 433 |
<build> |
| 434 |
<plugins> |
| 435 |
<plugin> |
| 436 |
<artifactId>maven-assembly-plugin</artifactId> |
| 437 |
<configuration> |
| 438 |
<descriptors> |
| 439 |
<descriptor>src/main/assembly/ips.xml</descriptor> |
| 440 |
</descriptors> |
| 441 |
</configuration> |
| 442 |
<executions> |
| 443 |
<execution> |
| 444 |
<id>make-assembly</id> <!-- this is used for inheritance merges --> |
| 445 |
<phase>package</phase> <!-- append to the packaging phase. --> |
| 446 |
<goals> |
| 447 |
<goal>attached</goal> <!-- goals == mojos --> |
| 448 |
</goals> |
| 449 |
</execution> |
| 450 |
</executions> |
| 451 |
</plugin> |
| 452 |
</plugins> |
| 453 |
</build> |
| 454 |
|
| 455 |
<properties> |
| 456 |
<assembly.directory>${project.build.directory}/assembly</assembly.directory> |
| 457 |
</properties> |
| 458 |
|
| 459 |
</project> |