blob: a7b8c44e8ace051852263f6e1bb78e35b116211b [file] [log] [blame]
<!--
Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Distribution License v. 1.0, which is available at
http://www.eclipse.org/org/documents/edl-v10.php.
SPDX-License-Identifier: BSD-3-Clause
-->
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.glassfish</groupId>
<artifactId>json</artifactId>
<version>2.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<packaging>pom</packaging>
<url>http://maven.apache.org</url>
<groupId>org.glassfish.jsonp</groupId>
<artifactId>demos</artifactId>
<properties>
<legal.doc.source>${basedir}/..</legal.doc.source>
</properties>
<profiles>
<profile>
<id>all</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>jakarta.json</groupId>
<artifactId>jakarta.json-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<modules>
<module>jaxrs</module>
<module>twitter</module>
<module>facebook</module>
<module>jsonpointer</module>
<module>servlet</module>
</modules>
</profile>
<profile>
<id>jdk9-all</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<modules>
<module>jaxrs</module>
<module>twitter</module>
<module>facebook</module>
<module>jsonpointer</module>
<module>servlet</module>
<module>customprovider-jdk9</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-jdk9-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/main/jdk9</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>