Jan Supol | 12a0573 | 2018-04-25 17:50:03 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | |
jansupol | 3c0925b | 2019-02-07 11:27:52 +0100 | [diff] [blame] | 4 | Copyright (c) 2017, 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 | <modelVersion>4.0.0</modelVersion> |
| 16 | |
| 17 | <parent> |
| 18 | <groupId>org.glassfish.jersey.examples</groupId> |
| 19 | <artifactId>project</artifactId> |
jersey-bot | e81feb4 | 2019-01-25 16:18:12 +0000 | [diff] [blame] | 20 | <version>2.29-SNAPSHOT</version> |
Jan Supol | 12a0573 | 2018-04-25 17:50:03 +0200 | [diff] [blame] | 21 | </parent> |
| 22 | |
| 23 | <artifactId>helloworld-cdi2-se</artifactId> |
| 24 | <packaging>jar</packaging> |
| 25 | <name>jersey-examples-helloworld-cdi2-se</name> |
| 26 | |
| 27 | <description>Jersey "Hello world" example with CDI 2 SE.</description> |
| 28 | |
| 29 | <properties> |
| 30 | <cdi.api.version>2.0</cdi.api.version> |
| 31 | <weld.version>${weld3.version}</weld.version> |
| 32 | </properties> |
| 33 | |
| 34 | <dependencies> |
| 35 | <dependency> |
| 36 | <groupId>org.glassfish.jersey.inject</groupId> |
| 37 | <artifactId>jersey-cdi2-se</artifactId> |
| 38 | <version>${project.version}</version> |
| 39 | </dependency> |
| 40 | |
| 41 | <dependency> |
| 42 | <groupId>org.glassfish.jersey.containers</groupId> |
| 43 | <artifactId>jersey-container-grizzly2-http</artifactId> |
| 44 | </dependency> |
| 45 | |
| 46 | <dependency> |
| 47 | <groupId>org.glassfish.jersey.test-framework</groupId> |
| 48 | <artifactId>jersey-test-framework-util</artifactId> |
| 49 | <scope>test</scope> |
| 50 | </dependency> |
| 51 | |
| 52 | <dependency> |
| 53 | <groupId>org.glassfish.jersey.test-framework.providers</groupId> |
| 54 | <artifactId>jersey-test-framework-provider-bundle</artifactId> |
| 55 | <type>pom</type> |
| 56 | <scope>test</scope> |
| 57 | </dependency> |
| 58 | </dependencies> |
| 59 | |
| 60 | <build> |
| 61 | <plugins> |
| 62 | <plugin> |
| 63 | <groupId>org.codehaus.mojo</groupId> |
| 64 | <artifactId>exec-maven-plugin</artifactId> |
| 65 | <configuration> |
| 66 | <mainClass>java.org.glassfish.jersey.examples.helloworld.cdi2se.App</mainClass> |
| 67 | </configuration> |
| 68 | </plugin> |
| 69 | </plugins> |
| 70 | </build> |
| 71 | |
| 72 | <profiles> |
| 73 | <profile> |
jansupol | 3c0925b | 2019-02-07 11:27:52 +0100 | [diff] [blame] | 74 | <id>pre-release</id> |
Jan Supol | 12a0573 | 2018-04-25 17:50:03 +0200 | [diff] [blame] | 75 | <build> |
| 76 | <plugins> |
| 77 | <plugin> |
| 78 | <groupId>org.apache.maven.plugins</groupId> |
| 79 | <artifactId>maven-assembly-plugin</artifactId> |
| 80 | </plugin> |
| 81 | </plugins> |
| 82 | </build> |
| 83 | </profile> |
| 84 | </profiles> |
| 85 | |
| 86 | </project> |