|
1 |
| -<?xml version="1.0" encoding="UTF-8"?> |
2 |
| -<!-- |
3 |
| -/* |
4 |
| - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
5 |
| - * |
6 |
| - * Copyright (c) 2013 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 |
| ---> |
43 |
| -<project xmlns="http://maven.apache.org/POM/4.0.0" |
44 |
| - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
45 |
| - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
46 |
| - <modelVersion>4.0.0</modelVersion> |
47 |
| - |
48 |
| - <groupId>org.glassfish</groupId> |
49 |
| - <artifactId>javaee-javascript</artifactId> |
50 |
| - <version>1.0-SNAPSHOT</version> |
51 |
| - <packaging>war</packaging> |
52 |
| - |
53 |
| - <name>javaee-javascript</name> |
54 |
| - |
55 |
| - <properties> |
56 |
| - <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir> |
57 |
| - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
58 |
| - <netbeans.hint.deploy.server>gfv3ee6</netbeans.hint.deploy.server> |
59 |
| - </properties> |
60 |
| - |
61 |
| - <dependencies> |
62 |
| - <dependency> |
63 |
| - <groupId>javax</groupId> |
64 |
| - <artifactId>javaee-api</artifactId> |
65 |
| - <version>7.0</version> |
66 |
| - <scope>provided</scope> |
67 |
| - </dependency> |
68 |
| - <dependency> |
69 |
| - <groupId>org.glassfish.jersey.containers</groupId> |
70 |
| - <artifactId>jersey-container-servlet-core</artifactId> |
71 |
| - <version>2.0</version> |
72 |
| - <type>jar</type> |
73 |
| - <scope>provided</scope> |
74 |
| - </dependency> |
75 |
| - <dependency> |
76 |
| - <groupId>org.glassfish.jersey.media</groupId> |
77 |
| - <artifactId>jersey-media-moxy</artifactId> |
78 |
| - <version>2.2</version> |
79 |
| - <type>jar</type> |
80 |
| - <scope>provided</scope> |
81 |
| - </dependency> |
82 |
| - </dependencies> |
83 |
| - |
84 |
| - <build> |
85 |
| - <finalName>javaee-javascript</finalName> |
86 |
| - <plugins> |
87 |
| - <plugin> |
88 |
| - <groupId>org.apache.maven.plugins</groupId> |
89 |
| - <artifactId>maven-compiler-plugin</artifactId> |
90 |
| - <version>3.1</version> |
91 |
| - <configuration> |
92 |
| - <source>1.7</source> |
93 |
| - <target>1.7</target> |
94 |
| - <compilerArguments> |
95 |
| - <endorseddirs>${endorsed.dir}</endorseddirs> |
96 |
| - </compilerArguments> |
97 |
| - </configuration> |
98 |
| - </plugin> |
99 |
| - <plugin> |
100 |
| - <groupId>org.apache.maven.plugins</groupId> |
101 |
| - <artifactId>maven-war-plugin</artifactId> |
102 |
| - <version>2.3</version> |
103 |
| - <configuration> |
104 |
| - <failOnMissingWebXml>false</failOnMissingWebXml> |
105 |
| - </configuration> |
106 |
| - </plugin> |
107 |
| - </plugins> |
108 |
| - </build> |
109 |
| - |
110 |
| -</project> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | +/* |
| 4 | + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
| 5 | + * |
| 6 | + * Copyright (c) 2013 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 | +--> |
| 43 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 44 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 45 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 46 | + <modelVersion>4.0.0</modelVersion> |
| 47 | + |
| 48 | + <groupId>org.glassfish</groupId> |
| 49 | + <artifactId>javaee-javascript</artifactId> |
| 50 | + <version>1.0-SNAPSHOT</version> |
| 51 | + <packaging>war</packaging> |
| 52 | + |
| 53 | + <name>javaee-javascript</name> |
| 54 | + |
| 55 | + <properties> |
| 56 | + <endorsed.dir>${project.build.directory}/endorsed</endorsed.dir> |
| 57 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 58 | + <netbeans.hint.deploy.server>gfv3ee6</netbeans.hint.deploy.server> |
| 59 | + </properties> |
| 60 | + |
| 61 | + <dependencies> |
| 62 | + <dependency> |
| 63 | + <groupId>javax</groupId> |
| 64 | + <artifactId>javaee-api</artifactId> |
| 65 | + <version>7.0</version> |
| 66 | + <scope>provided</scope> |
| 67 | + </dependency> |
| 68 | + <dependency> |
| 69 | + <groupId>org.glassfish.jersey.containers</groupId> |
| 70 | + <artifactId>jersey-container-servlet-core</artifactId> |
| 71 | + <version>2.0</version> |
| 72 | + <type>jar</type> |
| 73 | + <scope>provided</scope> |
| 74 | + </dependency> |
| 75 | + <dependency> |
| 76 | + <groupId>org.glassfish.jersey.media</groupId> |
| 77 | + <artifactId>jersey-media-moxy</artifactId> |
| 78 | + <version>2.2</version> |
| 79 | + <type>jar</type> |
| 80 | + <scope>provided</scope> |
| 81 | + </dependency> |
| 82 | + <dependency> |
| 83 | + <groupId>org.glassfish</groupId> |
| 84 | + <artifactId>javax.json</artifactId> |
| 85 | + <version>1.0.4</version> |
| 86 | + </dependency> |
| 87 | + </dependencies> |
| 88 | + |
| 89 | + <build> |
| 90 | + <finalName>javaee-javascript</finalName> |
| 91 | + <plugins> |
| 92 | + <plugin> |
| 93 | + <groupId>org.apache.maven.plugins</groupId> |
| 94 | + <artifactId>maven-compiler-plugin</artifactId> |
| 95 | + <version>3.1</version> |
| 96 | + <configuration> |
| 97 | + <source>1.7</source> |
| 98 | + <target>1.7</target> |
| 99 | + <compilerArguments> |
| 100 | + <endorseddirs>${endorsed.dir}</endorseddirs> |
| 101 | + </compilerArguments> |
| 102 | + </configuration> |
| 103 | + </plugin> |
| 104 | + <plugin> |
| 105 | + <groupId>org.apache.maven.plugins</groupId> |
| 106 | + <artifactId>maven-war-plugin</artifactId> |
| 107 | + <version>2.3</version> |
| 108 | + <configuration> |
| 109 | + <failOnMissingWebXml>false</failOnMissingWebXml> |
| 110 | + </configuration> |
| 111 | + </plugin> |
| 112 | + </plugins> |
| 113 | + </build> |
| 114 | + |
| 115 | +</project> |
0 commit comments