Skip to content
This repository was archived by the owner on May 28, 2018. It is now read-only.

Commit b1dfab6

Browse files
committed
#3584: Archetypes were missing jersey-hk2 dependency.
Change-Id: I5d447e46510d3062d312a98ba69b2740e1926ef7
1 parent b92e97d commit b1dfab6

File tree

3 files changed

+14
-42
lines changed
  • archetypes
    • jersey-example-java8-webapp/src/main/resources/archetype-resources
    • jersey-heroku-webapp/src/main/resources/archetype-resources
    • jersey-quickstart-grizzly2/src/main/resources/archetype-resources

3 files changed

+14
-42
lines changed

archetypes/jersey-example-java8-webapp/src/main/resources/archetype-resources/pom.xml

Lines changed: 4 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--
3-
4-
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
5-
6-
Copyright (c) 2015 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-
-->
432
<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">
443
<modelVersion>4.0.0</modelVersion>
454

@@ -69,11 +28,14 @@
6928
<groupId>org.glassfish.jersey.containers</groupId>
7029
<artifactId>jersey-container-grizzly2-http</artifactId>
7130
</dependency>
72-
7331
<dependency>
7432
<groupId>org.glassfish.jersey.containers</groupId>
7533
<artifactId>jersey-container-servlet</artifactId>
7634
</dependency>
35+
<dependency>
36+
<groupId>org.glassfish.jersey.inject</groupId>
37+
<artifactId>jersey-hk2</artifactId>
38+
</dependency>
7739
</dependencies>
7840

7941
<build>

archetypes/jersey-heroku-webapp/src/main/resources/archetype-resources/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@
2626
<groupId>org.glassfish.jersey.containers</groupId>
2727
<artifactId>jersey-container-servlet</artifactId>
2828
</dependency>
29+
<dependency>
30+
<groupId>org.glassfish.jersey.inject</groupId>
31+
<artifactId>jersey-hk2</artifactId>
32+
</dependency>
33+
2934
<!-- uncomment this to get JSON support
3035
<dependency>
3136
<groupId>org.glassfish.jersey.media</groupId>

archetypes/jersey-quickstart-grizzly2/src/main/resources/archetype-resources/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@
2626
<groupId>org.glassfish.jersey.containers</groupId>
2727
<artifactId>jersey-container-grizzly2-http</artifactId>
2828
</dependency>
29+
<dependency>
30+
<groupId>org.glassfish.jersey.inject</groupId>
31+
<artifactId>jersey-hk2</artifactId>
32+
</dependency>
33+
2934
<!-- uncomment this to get JSON support:
3035
<dependency>
3136
<groupId>org.glassfish.jersey.media</groupId>

0 commit comments

Comments
 (0)