| 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-2016 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 |
|
| 44 |
<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/maven-v4_0_0.xsd"> |
| 45 |
<modelVersion>4.0.0</modelVersion> |
| 46 |
<parent> |
| 47 |
<groupId>com.sun.jersey.contribs.jersey-oauth</groupId> |
| 48 |
<artifactId>jersey-oauth</artifactId> |
| 49 |
<version>1.19.3</version> |
| 50 |
</parent> |
| 51 |
<artifactId>oauth-server</artifactId> |
| 52 |
<packaging>jar</packaging> |
| 53 |
<name>oauth-server</name> |
| 54 |
<dependencies> |
| 55 |
<dependency> |
| 56 |
<groupId>junit</groupId> |
| 57 |
<artifactId>junit</artifactId> |
| 58 |
<scope>test</scope> |
| 59 |
</dependency> |
| 60 |
</dependencies> |
| 61 |
|
| 62 |
<profiles> |
| 63 |
<profile> |
| 64 |
<id>release</id> |
| 65 |
<build> |
| 66 |
<plugins> |
| 67 |
<plugin> |
| 68 |
<groupId>org.apache.maven.plugins</groupId> |
| 69 |
<artifactId>maven-javadoc-plugin</artifactId> |
| 70 |
<configuration> |
| 71 |
<links> |
| 72 |
<link>http://jsr311.java.net/nonav/releases/1.1</link> |
| 73 |
<link>http://jersey.java.net/nonav/apidocs/${project.version}/jersey/</link> |
| 74 |
<link>http://jersey.java.net/nonav/apidocs/${project.version}/contribs/jersey-oauth/oauth-signature/</link> |
| 75 |
</links> |
| 76 |
<subpackages>com.sun.jersey.oauth.server.api:com.sun.jersey.oauth.server.spi</subpackages> |
| 77 |
<notimestamp>true</notimestamp> |
| 78 |
</configuration> |
| 79 |
</plugin> |
| 80 |
</plugins> |
| 81 |
</build> |
| 82 |
</profile> |
| 83 |
<profile> |
| 84 |
<id>cobertura</id> |
| 85 |
<activation> |
| 86 |
<property> |
| 87 |
<name>cobertura</name> |
| 88 |
</property> |
| 89 |
</activation> |
| 90 |
<dependencies> |
| 91 |
<dependency> |
| 92 |
<groupId>com.sun.jersey</groupId> |
| 93 |
<artifactId>jersey-servlet</artifactId> |
| 94 |
<version>${project.version}</version> |
| 95 |
<scope>provided</scope> |
| 96 |
<classifier>cobertura</classifier> |
| 97 |
</dependency> |
| 98 |
<dependency> |
| 99 |
<groupId>com.sun.jersey.contribs.jersey-oauth</groupId> |
| 100 |
<artifactId>oauth-signature</artifactId> |
| 101 |
<version>${project.version}</version> |
| 102 |
<scope>provided</scope> |
| 103 |
<classifier>cobertura</classifier> |
| 104 |
</dependency> |
| 105 |
<dependency> |
| 106 |
<groupId>com.sun.jersey</groupId> |
| 107 |
<artifactId>jersey-core</artifactId> |
| 108 |
<version>${project.version}</version> |
| 109 |
<classifier>cobertura</classifier> |
| 110 |
</dependency> |
| 111 |
</dependencies> |
| 112 |
</profile> |
| 113 |
<profile> |
| 114 |
<id>default</id> |
| 115 |
<activation> |
| 116 |
<activeByDefault>true</activeByDefault> |
| 117 |
</activation> |
| 118 |
<dependencies> |
| 119 |
<dependency> |
| 120 |
<groupId>com.sun.jersey</groupId> |
| 121 |
<artifactId>jersey-servlet</artifactId> |
| 122 |
<version>${project.version}</version> |
| 123 |
<scope>provided</scope> |
| 124 |
</dependency> |
| 125 |
<dependency> |
| 126 |
<groupId>com.sun.jersey.contribs.jersey-oauth</groupId> |
| 127 |
<artifactId>oauth-signature</artifactId> |
| 128 |
<version>${project.version}</version> |
| 129 |
<scope>provided</scope> |
| 130 |
</dependency> |
| 131 |
<dependency> |
| 132 |
<groupId>com.sun.jersey</groupId> |
| 133 |
<artifactId>jersey-core</artifactId> |
| 134 |
<version>${project.version}</version> |
| 135 |
</dependency> |
| 136 |
</dependencies> |
| 137 |
</profile> |
| 138 |
</profiles> |
| 139 |
|
| 140 |
<build> |
| 141 |
<plugins> |
| 142 |
<plugin> |
| 143 |
<groupId>org.apache.maven.plugins</groupId> |
| 144 |
<artifactId>maven-compiler-plugin</artifactId> |
| 145 |
</plugin> |
| 146 |
|
| 147 |
<plugin> |
| 148 |
<groupId>org.apache.maven.plugins</groupId> |
| 149 |
<artifactId>maven-source-plugin</artifactId> |
| 150 |
<executions> |
| 151 |
<execution> |
| 152 |
<id>attach-sources</id> |
| 153 |
<phase>package</phase> |
| 154 |
<goals> |
| 155 |
<goal>jar</goal> |
| 156 |
</goals> |
| 157 |
</execution> |
| 158 |
</executions> |
| 159 |
</plugin> |
| 160 |
|
| 161 |
<plugin> |
| 162 |
<groupId>org.apache.felix</groupId> |
| 163 |
<artifactId>maven-bundle-plugin</artifactId> |
| 164 |
</plugin> |
| 165 |
</plugins> |
| 166 |
</build> |
| 167 |
</project> |
| 168 |
|
| 169 |
|