blob: ea03662ffbc870a8feff24712f0c95608dc875d2 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2013, 2019 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.glassfish.jersey.bundles</groupId>
<artifactId>project</artifactId>
<version>2.34-SNAPSHOT</version>
</parent>
<artifactId>jersey-examples</artifactId>
<name>jersey-bundles-examples</name>
<packaging>pom</packaging>
<dependencies>
<!--
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>bean-validation-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>bean-validation-webapp</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
-->
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>bookmark</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>bookmark</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>bookmark-em</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>bookmark-em</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>bookstore-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>bookstore-webapp</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>cdi-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>cdi-webapp</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>clipboard</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>clipboard-programmatic</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>declarative-linking</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<!--Uncomment as soon as we build Jersey with Java8 by default-->
<!--<dependency>-->
<!--<groupId>org.glassfish.jersey.examples</groupId>-->
<!--<artifactId>default-method-java8-webapp</artifactId>-->
<!--<version>${project.version}</version>-->
<!--<classifier>project-src</classifier>-->
<!--<type>zip</type>-->
<!--</dependency>-->
<!--<dependency>-->
<!--<groupId>org.glassfish.jersey.examples</groupId>-->
<!--<artifactId>default-method-java8-webapp</artifactId>-->
<!--<version>${project.version}</version>-->
<!--<classifier>gf-project-src</classifier>-->
<!--<type>zip</type>-->
<!--</dependency>-->
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>entity-filtering</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>entity-filtering-security</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>entity-filtering-selectable</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>exception-mapping</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>extended-wadl-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>extended-wadl-webapp</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>freemarker-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>freemarker-webapp</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>groovy</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>helloworld</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>helloworld-benchmark</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>helloworld-programmatic</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>helloworld-pure-jax-rs</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>helloworld-spring-annotations</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>helloworld-spring-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<!-- There is problem to run Spring example on GF - https://java.net/jira/browse/JERSEY-2032
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>helloworld-spring-webapp</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
-->
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>helloworld-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>helloworld-webapp</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>helloworld-weld</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>http-patch</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>http-trace</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>https-clientserver-grizzly</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>https-server-glassfish</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>https-server-glassfish</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>jaxb</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>jaxrs-types-injection</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>jersey-ejb</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>jersey-ejb</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>json-jackson</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>json-jackson1</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>json-jettison</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>json-moxy</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>json-processing-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>json-processing-webapp</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>json-with-padding</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>managed-beans-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>managed-beans-webapp</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>managed-client</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>managed-client-simple-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>managed-client-simple-webapp</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>managed-client-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>managed-client-webapp</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<!--
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>monitoring-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
-->
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>multipart-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>multipart-webapp</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>oauth-client-twitter</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<!--
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>oauth2-client-google-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
-->
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>osgi-helloworld-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>osgi-http-service</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>reload</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>rx-client-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>rx-client-webapp</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>server-async</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>server-async-managed</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>server-async-standalone</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>server-sent-events-jersey</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>server-sent-events-jaxrs</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>servlet3-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>servlet3-webapp</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<!--
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>shortener-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>shortener-webapp</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
-->
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>simple-console</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<!--
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>sparklines</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
-->
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>sse-item-store-jersey-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>sse-item-store-jaxrs-webapp</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>sse-item-store-jersey-webapp</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>sse-item-store-jaxrs-webapp</artifactId>
<version>${project.version}</version>
<classifier>gf-project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>sse-twitter-aggregator</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>system-properties-example</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
<!--
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>tone-generator</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
-->
<dependency>
<groupId>org.glassfish.jersey.examples</groupId>
<artifactId>xml-moxy</artifactId>
<version>${project.version}</version>
<classifier>project-src</classifier>
<type>zip</type>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-examples</id>
<phase>process-sources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<stripVersion>true</stripVersion>
<includeGroupIds>org.glassfish.jersey.examples</includeGroupIds>
<classifier>project-src</classifier>
<type>zip</type>
<outputDirectory>${project.build.directory}/dependency/examples</outputDirectory>
</configuration>
</execution>
<execution>
<id>unpack-gf-examples</id>
<phase>process-sources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<stripVersion>true</stripVersion>
<includeGroupIds>org.glassfish.jersey.examples</includeGroupIds>
<classifier>gf-project-src</classifier>
<type>zip</type>
<failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact>
<outputDirectory>${project.build.directory}/dependency/gf-examples</outputDirectory>
</configuration>
</execution>
<execution>
<id>unpack-wls-examples</id>
<phase>process-sources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<stripVersion>true</stripVersion>
<includeGroupIds>org.glassfish.jersey.examples</includeGroupIds>
<classifier>wls-project-src</classifier>
<type>zip</type>
<failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact>
<outputDirectory>${project.build.directory}/dependency/wls-examples</outputDirectory>
</configuration>
</execution>
<execution>
<id>unpack-wls1213-examples</id>
<phase>process-sources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<stripVersion>true</stripVersion>
<includeGroupIds>org.glassfish.jersey.examples</includeGroupIds>
<classifier>wls1213-project-src</classifier>
<type>zip</type>
<failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact>
<outputDirectory>${project.build.directory}/dependency/wls1213-examples</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/assembly/examples-assembly.xml</descriptor>
<descriptor>src/main/assembly/gf-examples-assembly.xml</descriptor>
<descriptor>src/main/assembly/wls-examples-assembly.xml</descriptor>
<descriptor>src/main/assembly/wls1213-examples-assembly.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>attached</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>