Jan Supol | 12a0573 | 2018-04-25 17:50:03 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | |
Jan Supol | df7479f | 2019-02-05 15:43:03 +0100 | [diff] [blame] | 4 | Copyright (c) 2010, 2019 Oracle and/or its affiliates. All rights reserved. |
Jan Supol | 12a0573 | 2018-04-25 17:50:03 +0200 | [diff] [blame] | 5 | |
| 6 | This program and the accompanying materials are made available under the |
| 7 | terms of the Eclipse Distribution License v. 1.0, which is available at |
| 8 | http://www.eclipse.org/org/documents/edl-v10.php. |
| 9 | |
| 10 | SPDX-License-Identifier: BSD-3-Clause |
| 11 | |
| 12 | --> |
| 13 | |
| 14 | <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"> |
| 15 | |
| 16 | <modelVersion>4.0.0</modelVersion> |
| 17 | |
| 18 | <parent> |
| 19 | <groupId>org.glassfish.jersey.examples</groupId> |
| 20 | <artifactId>webapp-example-parent</artifactId> |
| 21 | <relativePath>../webapp-example-parent/pom.xml</relativePath> |
jersey-bot | fb1f60b | 2019-09-11 12:03:03 +0000 | [diff] [blame^] | 22 | <version>2.29.1</version> |
Jan Supol | 12a0573 | 2018-04-25 17:50:03 +0200 | [diff] [blame] | 23 | </parent> |
| 24 | |
| 25 | <artifactId>bookmark</artifactId> |
| 26 | <name>jersey-examples-bookmark</name> |
| 27 | <packaging>war</packaging> |
| 28 | |
| 29 | <description>Jersey Bookmark example.</description> |
| 30 | |
| 31 | <dependencies> |
| 32 | <dependency> |
| 33 | <groupId>org.glassfish.jersey.media</groupId> |
| 34 | <artifactId>jersey-media-json-jettison</artifactId> |
| 35 | </dependency> |
| 36 | <dependency> |
jansupol | 7aebbcf | 2018-12-04 14:32:47 +0100 | [diff] [blame] | 37 | <groupId>jakarta.persistence</groupId> |
| 38 | <artifactId>jakarta.persistence-api</artifactId> |
Jan Supol | 12a0573 | 2018-04-25 17:50:03 +0200 | [diff] [blame] | 39 | </dependency> |
| 40 | <dependency> |
| 41 | <groupId>org.glassfish.jersey.inject</groupId> |
| 42 | <artifactId>jersey-hk2</artifactId> |
| 43 | </dependency> |
| 44 | <dependency> |
jansupol | 7aebbcf | 2018-12-04 14:32:47 +0100 | [diff] [blame] | 45 | <groupId>jakarta.transaction</groupId> |
| 46 | <artifactId>jakarta.transaction-api</artifactId> |
jansupol | ab91c97 | 2018-09-26 17:43:19 +0200 | [diff] [blame] | 47 | <version>${jta.api.version}</version> |
Jan Supol | 12a0573 | 2018-04-25 17:50:03 +0200 | [diff] [blame] | 48 | <scope>provided</scope> |
| 49 | </dependency> |
| 50 | </dependencies> |
| 51 | |
| 52 | <build> |
| 53 | <plugins> |
| 54 | <!-- Run the application using "mvn embedded-glassfish:run" --> |
| 55 | <plugin> |
| 56 | <groupId>org.glassfish.embedded</groupId> |
| 57 | <artifactId>maven-embedded-glassfish-plugin</artifactId> |
| 58 | </plugin> |
| 59 | </plugins> |
| 60 | </build> |
| 61 | |
| 62 | <profiles> |
| 63 | <profile> |
| 64 | <id>run-external-tests</id> |
| 65 | <build> |
| 66 | <plugins> |
| 67 | <plugin> |
| 68 | <groupId>org.apache.maven.plugins</groupId> |
| 69 | <artifactId>maven-surefire-plugin</artifactId> |
| 70 | <configuration> |
| 71 | <systemPropertyVariables> |
| 72 | <jersey.config.test.container.factory>${external.container.factory}</jersey.config.test.container.factory> |
| 73 | <jersey.config.test.container.port>${external.container.port}</jersey.config.test.container.port> |
| 74 | </systemPropertyVariables> |
| 75 | </configuration> |
| 76 | </plugin> |
| 77 | </plugins> |
| 78 | </build> |
| 79 | <properties> |
| 80 | <!-- External test container configuration is done via properties to allow overriding via command line. --> |
| 81 | <external.container.factory>org.glassfish.jersey.test.external.ExternalTestContainerFactory</external.container.factory> |
| 82 | <external.container.port>8080</external.container.port> |
| 83 | <maven.test.skip>false</maven.test.skip> |
| 84 | </properties> |
| 85 | </profile> |
| 86 | <profile> |
Jan Supol | df7479f | 2019-02-05 15:43:03 +0100 | [diff] [blame] | 87 | <id>pre-release</id> |
Jan Supol | 12a0573 | 2018-04-25 17:50:03 +0200 | [diff] [blame] | 88 | <build> |
| 89 | <plugins> |
| 90 | <plugin> |
| 91 | <groupId>org.codehaus.mojo</groupId> |
| 92 | <artifactId>xml-maven-plugin</artifactId> |
| 93 | </plugin> |
| 94 | <plugin> |
| 95 | <groupId>org.apache.maven.plugins</groupId> |
| 96 | <artifactId>maven-assembly-plugin</artifactId> |
| 97 | </plugin> |
| 98 | <plugin> |
| 99 | <groupId>org.apache.maven.plugins</groupId> |
| 100 | <artifactId>maven-surefire-plugin</artifactId> |
| 101 | <configuration> |
| 102 | <skip>true</skip> |
| 103 | </configuration> |
| 104 | </plugin> |
| 105 | </plugins> |
| 106 | </build> |
| 107 | </profile> |
| 108 | </profiles> |
| 109 | |
| 110 | <properties> |
| 111 | <maven.test.skip>true</maven.test.skip> |
| 112 | </properties> |
| 113 | |
| 114 | </project> |