|
| 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) 2010-2012 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 | + <parent> |
| 48 | + <groupId>org.glassfish.jersey.bundles.glassfish.v4_0</groupId> |
| 49 | + <artifactId>project</artifactId> |
| 50 | + <version>2.0-SNAPSHOT</version> |
| 51 | + </parent> |
| 52 | + <artifactId>jersey-gfv4_0-core</artifactId> |
| 53 | + <name>jersey-bundles-glassfish-v4.0-core</name> |
| 54 | + <packaging>pom</packaging> |
| 55 | + <dependencies> |
| 56 | + <dependency> |
| 57 | + <groupId>org.glassfish.jersey.core</groupId> |
| 58 | + <artifactId>jersey-server</artifactId> |
| 59 | + <version>${project.version}</version> |
| 60 | + </dependency> |
| 61 | + <dependency> |
| 62 | + <groupId>org.glassfish.jersey.core</groupId> |
| 63 | + <artifactId>jersey-client</artifactId> |
| 64 | + <version>${project.version}</version> |
| 65 | + </dependency> |
| 66 | + <dependency> |
| 67 | + <groupId>org.glassfish.jersey.containers</groupId> |
| 68 | + <artifactId>jersey-container-grizzly2-http</artifactId> |
| 69 | + <version>${project.version}</version> |
| 70 | + </dependency> |
| 71 | + <dependency> |
| 72 | + <groupId>org.glassfish.jersey.containers</groupId> |
| 73 | + <artifactId>jersey-container-servlet</artifactId> |
| 74 | + <version>${project.version}</version> |
| 75 | + </dependency> |
| 76 | + <dependency> |
| 77 | + <groupId>org.glassfish.jersey.media</groupId> |
| 78 | + <artifactId>jersey-media-json</artifactId> |
| 79 | + <version>${project.version}</version> |
| 80 | + </dependency> |
| 81 | + </dependencies> |
| 82 | + <build> |
| 83 | + <plugins> |
| 84 | + <plugin> |
| 85 | + <groupId>org.apache.maven.plugins</groupId> |
| 86 | + <artifactId>maven-dependency-plugin</artifactId> |
| 87 | + <executions> |
| 88 | + <execution> |
| 89 | + <id>copy-dependencies</id> |
| 90 | + <phase>generate-sources</phase> |
| 91 | + <goals> |
| 92 | + <goal>copy-dependencies</goal> |
| 93 | + </goals> |
| 94 | + <configuration> |
| 95 | + <stripVersion>true</stripVersion> |
| 96 | + <includeGroupIds> |
| 97 | + org.glassfish.jersey.core, |
| 98 | + ,org.glassfish.jersey.containers, |
| 99 | + ,org.glassfish.jersey.media, |
| 100 | + ,javax.ws.rs, |
| 101 | + ,com.googlecode.guava-osgi, |
| 102 | + ,org.codehaus.jackson, |
| 103 | + ,org.codehaus.jettison</includeGroupIds> |
| 104 | + </configuration> |
| 105 | + </execution> |
| 106 | + </executions> |
| 107 | + </plugin> |
| 108 | + <plugin> |
| 109 | + <artifactId>maven-assembly-plugin</artifactId> |
| 110 | + <configuration> |
| 111 | + <descriptors> |
| 112 | + <descriptor>src/main/assembly/ips.xml</descriptor> |
| 113 | + </descriptors> |
| 114 | + </configuration> |
| 115 | + <executions> |
| 116 | + <execution> |
| 117 | + <id>make-assembly</id> |
| 118 | + <!-- this is used for inheritance merges --> |
| 119 | + <phase>package</phase> |
| 120 | + <!-- append to the packaging phase. --> |
| 121 | + <goals> |
| 122 | + <goal>attached</goal> |
| 123 | + <!-- goals == mojos --> |
| 124 | + </goals> |
| 125 | + </execution> |
| 126 | + </executions> |
| 127 | + </plugin> |
| 128 | + </plugins> |
| 129 | + </build> |
| 130 | + |
| 131 | + <properties> |
| 132 | + <assembly.directory>${project.build.directory}/assembly</assembly.directory> |
| 133 | + </properties> |
| 134 | + |
| 135 | +</project> |
0 commit comments