| 1 |
<!-- |
| 2 |
|
| 3 |
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
| 4 |
|
| 5 |
Copyright (c) 2013-2016 Oracle and/or its affiliates. All rights reserved. |
| 6 |
|
| 7 |
The contents of this file are subject to the terms of either the GNU |
| 8 |
General Public License Version 2 only ("GPL") or the Common Development |
| 9 |
and Distribution License("CDDL") (collectively, the "License"). You |
| 10 |
may not use this file except in compliance with the License. You can |
| 11 |
obtain a copy of the License at |
| 12 |
http://glassfish.java.net/public/CDDL+GPL_1_1.html |
| 13 |
or packager/legal/LICENSE.txt. See the License for the specific |
| 14 |
language governing permissions and limitations under the License. |
| 15 |
|
| 16 |
When distributing the software, include this License Header Notice in each |
| 17 |
file and include the License file at packager/legal/LICENSE.txt. |
| 18 |
|
| 19 |
GPL Classpath Exception: |
| 20 |
Oracle designates this particular file as subject to the "Classpath" |
| 21 |
exception as provided by Oracle in the GPL Version 2 section of the License |
| 22 |
file that accompanied this code. |
| 23 |
|
| 24 |
Modifications: |
| 25 |
If applicable, add the following below the License Header, with the fields |
| 26 |
enclosed by brackets [] replaced by your own identifying information: |
| 27 |
"Portions Copyright [year] [name of copyright owner]" |
| 28 |
|
| 29 |
Contributor(s): |
| 30 |
If you wish your version of this file to be governed by only the CDDL or |
| 31 |
only the GPL Version 2, indicate your decision by adding "[Contributor] |
| 32 |
elects to include this software in this distribution under the [CDDL or GPL |
| 33 |
Version 2] license." If you don't indicate a single choice of license, a |
| 34 |
recipient has the option to distribute your version of this file under |
| 35 |
either the CDDL, the GPL Version 2 or to extend the choice of license to |
| 36 |
its licensees as provided above. However, if you add GPL Version 2 code |
| 37 |
and therefore, elected the GPL Version 2 license, then the option applies |
| 38 |
only if the new code is made subject to such option by the copyright |
| 39 |
holder. |
| 40 |
|
| 41 |
--> |
| 42 |
|
| 43 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 44 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 45 |
<modelVersion>4.0.0</modelVersion> |
| 46 |
<groupId>com.sun.jersey.glassfish.test.jaxb22</groupId> |
| 47 |
<artifactId>jaxb22test</artifactId> |
| 48 |
<packaging>war</packaging> |
| 49 |
<version>1.0-SNAPSHOT</version> |
| 50 |
<name>jaxb22test Jersey Webapp</name> |
| 51 |
<build> |
| 52 |
<finalName>jaxb22test</finalName> |
| 53 |
<plugins> |
| 54 |
<plugin> |
| 55 |
<groupId>org.apache.maven.plugins</groupId> |
| 56 |
<artifactId>maven-compiler-plugin</artifactId> |
| 57 |
<inherited>true</inherited> |
| 58 |
<configuration> |
| 59 |
<source>1.6</source> |
| 60 |
<target>1.6</target> |
| 61 |
</configuration> |
| 62 |
</plugin> |
| 63 |
<!-- Run the application using "mvn embedded-glassfish:run" --> |
| 64 |
<plugin> |
| 65 |
<groupId>org.glassfish</groupId> |
| 66 |
<artifactId>maven-embedded-glassfish-plugin</artifactId> |
| 67 |
<version>${glassfish.version}</version> |
| 68 |
<configuration> |
| 69 |
<goalPrefix>embedded-glassfish</goalPrefix> |
| 70 |
<app>${basedir}/target/${project.build.finalName}.war</app> |
| 71 |
<autoDelete>true</autoDelete> |
| 72 |
<port>8080</port> |
| 73 |
</configuration> |
| 74 |
<dependencies> |
| 75 |
<dependency> |
| 76 |
<groupId>com.sun.jersey</groupId> |
| 77 |
<artifactId>jersey-servlet</artifactId> |
| 78 |
<version>${jersey.version}</version> |
| 79 |
</dependency> |
| 80 |
<dependency> |
| 81 |
<groupId>javax.servlet</groupId> |
| 82 |
<artifactId>javax.servlet-api</artifactId> |
| 83 |
<version>3.0.1</version> |
| 84 |
</dependency> |
| 85 |
</dependencies> |
| 86 |
</plugin> |
| 87 |
</plugins> |
| 88 |
</build> |
| 89 |
<dependencies> |
| 90 |
<dependency> |
| 91 |
<groupId>com.sun.jersey</groupId> |
| 92 |
<artifactId>jersey-servlet</artifactId> |
| 93 |
<version>${jersey.version}</version> |
| 94 |
<scope>provided</scope> |
| 95 |
</dependency> |
| 96 |
<dependency> |
| 97 |
<groupId>com.sun.jersey</groupId> |
| 98 |
<artifactId>jersey-json</artifactId> |
| 99 |
<version>${jersey.version}</version> |
| 100 |
<scope>provided</scope> |
| 101 |
</dependency> |
| 102 |
<dependency> |
| 103 |
<groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 104 |
<artifactId>jersey-test-framework-grizzly2</artifactId> |
| 105 |
<version>${jersey.version}</version> |
| 106 |
<scope>test</scope> |
| 107 |
</dependency> |
| 108 |
<dependency> |
| 109 |
<groupId>com.sun.jersey.jersey-test-framework</groupId> |
| 110 |
<artifactId>jersey-test-framework-external</artifactId> |
| 111 |
<version>${jersey.version}</version> |
| 112 |
<scope>test</scope> |
| 113 |
</dependency> |
| 114 |
</dependencies> |
| 115 |
<properties> |
| 116 |
<jersey.version>1.20-SNAPSHOT</jersey.version> |
| 117 |
<glassfish.version>3.1.1</glassfish.version> |
| 118 |
</properties> |
| 119 |
</project> |