| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. |
| |
| Copyright (c) 2010-2014 Oracle and/or its affiliates. All rights reserved. |
| |
| The contents of this file are subject to the terms of either the GNU |
| General Public License Version 2 only ("GPL") or the Common Development |
| and Distribution License("CDDL") (collectively, the "License"). You |
| may not use this file except in compliance with the License. You can |
| obtain a copy of the License at |
| http://glassfish.java.net/public/CDDL+GPL_1_1.html |
| or packager/legal/LICENSE.txt. See the License for the specific |
| language governing permissions and limitations under the License. |
| |
| When distributing the software, include this License Header Notice in each |
| file and include the License file at packager/legal/LICENSE.txt. |
| |
| GPL Classpath Exception: |
| Oracle designates this particular file as subject to the "Classpath" |
| exception as provided by Oracle in the GPL Version 2 section of the License |
| file that accompanied this code. |
| |
| Modifications: |
| If applicable, add the following below the License Header, with the fields |
| enclosed by brackets [] replaced by your own identifying information: |
| "Portions Copyright [year] [name of copyright owner]" |
| |
| Contributor(s): |
| If you wish your version of this file to be governed by only the CDDL or |
| only the GPL Version 2, indicate your decision by adding "[Contributor] |
| elects to include this software in this distribution under the [CDDL or GPL |
| Version 2] license." If you don't indicate a single choice of license, a |
| recipient has the option to distribute your version of this file under |
| either the CDDL, the GPL Version 2 or to extend the choice of license to |
| its licensees as provided above. However, if you add GPL Version 2 code |
| and therefore, elected the GPL Version 2 license, then the option applies |
| only if the new code is made subject to such option by the copyright |
| holder. |
| |
| --> |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>net.java</groupId> |
| <artifactId>jvnet-parent</artifactId> |
| <version>4</version> |
| </parent> |
| |
| <groupId>org.glassfish.jersey</groupId> |
| <artifactId>project</artifactId> |
| <packaging>pom</packaging> |
| <version>2.5.1</version> |
| <name>jersey</name> |
| <description> |
| Jersey is the open source (under dual CDDL+GPL license) JAX-RS 2.0 (JSR 339) |
| production quality Reference Implementation for building RESTful Web services. |
| </description> |
| |
| <url>https://jersey.java.net/</url> |
| |
| <!-- prerequisites --> |
| |
| <issueManagement> |
| <system>JIRA</system> |
| <url>http://java.net/jira/browse/JERSEY/</url> |
| </issueManagement> |
| |
| <ciManagement> |
| <system>Hudson</system> |
| <url>http://hudson.glassfish.org/job/Jersey-trunk-multiplatform/</url> |
| </ciManagement> |
| |
| <inceptionYear>2010</inceptionYear> |
| |
| <mailingLists> |
| <mailingList> |
| <name>Announcements</name> |
| <archive>http://java.net/projects/jersey/lists/announce/archive</archive> |
| <post>announce@jersey.java.net</post> |
| </mailingList> |
| <mailingList> |
| <name>Users List</name> |
| <archive>http://java.net/projects/jersey/lists/users/archive</archive> |
| <post>users@jersey.java.net</post> |
| </mailingList> |
| <mailingList> |
| <name>Developers List</name> |
| <archive>http://java.net/projects/jersey/lists/dev/archive</archive> |
| <post>dev@jersey.java.net</post> |
| </mailingList> |
| <mailingList> |
| <name>Issues</name> |
| <archive>http://java.net/projects/jersey/lists/issues/archive</archive> |
| <post>issues@jersey.java.net</post> |
| </mailingList> |
| <mailingList> |
| <name>Commits</name> |
| <archive>http://java.net/projects/jersey/lists/commits/archive</archive> |
| <post>commits@jersey.java.net</post> |
| </mailingList> |
| </mailingLists> |
| |
| <developers> |
| <developer> |
| <name>Pavel Bucek</name> |
| <organization>Oracle Corporation</organization> |
| <organizationUrl>http://www.oracle.com/</organizationUrl> |
| </developer> |
| <developer> |
| <name>Jakub Podlesak</name> |
| <organization>Oracle Corporation</organization> |
| <organizationUrl>http://www.oracle.com/</organizationUrl> |
| </developer> |
| <developer> |
| <name>Santiago Pericas-Geertsen</name> |
| <organization>Oracle Corporation</organization> |
| <organizationUrl>http://www.oracle.com/</organizationUrl> |
| </developer> |
| <developer> |
| <name>Marek Potociar</name> |
| <organization>Oracle Corporation</organization> |
| <organizationUrl>http://www.oracle.com/</organizationUrl> |
| </developer> |
| <developer> |
| <name>Martin Matula</name> |
| <organization>Oracle Corporation</organization> |
| <organizationUrl>http://www.oracle.com/</organizationUrl> |
| </developer> |
| <developer> |
| <name>Michal Gajdos</name> |
| <organization>Oracle Corporation</organization> |
| <organizationUrl>http://www.oracle.com/</organizationUrl> |
| </developer> |
| <developer> |
| <name>Miroslav Fuksa</name> |
| <organization>Oracle Corporation</organization> |
| <organizationUrl>http://www.oracle.com/</organizationUrl> |
| </developer> |
| <developer> |
| <name>Stepan Kopriva</name> |
| <organization>Oracle Corporation</organization> |
| <organizationUrl>http://www.oracle.com/</organizationUrl> |
| </developer> |
| <developer> |
| <name>Libor Kramolis</name> |
| <organization>Oracle Corporation</organization> |
| <organizationUrl>http://www.oracle.com</organizationUrl> |
| </developer> |
| <developer> |
| <name>Adam Lindenthal</name> |
| <organization>Oracle Corporation</organization> |
| <organizationUrl>http://www.oracle.com</organizationUrl> |
| </developer> |
| </developers> |
| |
| <!--contributors></contributors--> |
| |
| <licenses> |
| <license> |
| <name>CDDL+GPL License</name> |
| <url>http://glassfish.java.net/public/CDDL+GPL_1_1.html</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <scm> |
| <connection>scm:git:git://java.net/jersey~code</connection> |
| <developerConnection>scm:git:ssh://git.java.net/jersey~code</developerConnection> |
| <url>http://java.net/projects/jersey/sources/code/show</url> |
| <tag>2.5.1</tag> |
| </scm> |
| |
| <organization> |
| <name>Oracle Corporation</name> |
| <url>http://www.oracle.com/</url> |
| </organization> |
| |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.glassfish.jersey.tools.plugins</groupId> |
| <artifactId>jersey-doc-modulelist-maven-plugin</artifactId> |
| <version>1.0</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>1.3.1</version> |
| <executions> |
| <execution> |
| <id>enforce-versions</id> |
| <goals> |
| <goal>enforce</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <requireJavaVersion> |
| <version>${java.version}</version> |
| </requireJavaVersion> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>1.7</version> |
| <executions> |
| <execution> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>add-source</goal> |
| </goals> |
| <configuration> |
| <sources> |
| <source>${project.build.directory}/generated-sources/rsrc-gen</source> |
| </sources> |
| </configuration> |
| </execution> |
| <execution> |
| <phase>initialize</phase> |
| <id>parse-version</id> |
| <goals> |
| <goal>parse-version</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>com.sun.istack</groupId> |
| <artifactId>maven-istack-commons-plugin</artifactId> |
| <version>2.6.1</version> |
| <executions> |
| <execution> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>rs-gen</goal> |
| </goals> |
| <configuration> |
| <resources> |
| <directory>${basedir}/src/main/resources</directory> |
| <includes> |
| <include>**/localization.properties</include> |
| </includes> |
| </resources> |
| <destDir>${project.build.directory}/generated-sources/rsrc-gen</destDir> |
| <localizationUtilitiesPkgName>org.glassfish.jersey.internal.l10n</localizationUtilitiesPkgName> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.5.1</version> |
| <inherited>true</inherited> |
| <configuration> |
| <source>${java.version}</source> |
| <target>${java.version}</target> |
| <compilerArguments> |
| <Werror /> |
| <!-- TODO work towards eliminating all warnings in order to be able to enable the -Xlint option --> |
| <!--Xlint/--> |
| </compilerArguments> |
| <showWarnings>false</showWarnings> |
| <fork>false</fork> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.4</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>2.6</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.13</version> |
| <configuration> |
| <argLine>-Xmx1024m</argLine> |
| <skipTests>${skip.tests}</skipTests> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.4</version> |
| <configuration> |
| <tarLongFileMode>gnu</tarLongFileMode> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>2.8</version> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.9</version> |
| <configuration> |
| <doctitle>Jersey ${jersey.version} API Documentation</doctitle> |
| <windowtitle>Jersey ${jersey.version} API</windowtitle> |
| <bottom> |
| <![CDATA[Copyright © 2007-2014, |
| <a href="http://www.oracle.com">Oracle</a> |
| and/or its affiliates. |
| All Rights Reserved. Use is subject to license terms.]]> |
| </bottom> |
| <links> |
| <link>http://jax-rs-spec.java.net/nonav/2.0/apidocs</link> |
| <link>http://hk2.java.net/nonav/hk2-api/apidocs</link> |
| </links> |
| </configuration> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.2.1</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <phase>package</phase> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>2.7</version> |
| <configuration> |
| <retryFailedDeploymentCount>10</retryFailedDeploymentCount> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>2.4</version> |
| <!-- |
| mvn release:prepare -DreleaseVersion=<release-version> -DdevelopmentVersion=<next-dev-version> -Dtag=<release-version> \ |
| -Prelease |
| |
| mvn release:perform -DconnectionUrl="scm:git:file://<path-to-local-repo>" \ |
| -Prelease,skip-tests |
| --> |
| <configuration> |
| <mavenExecutorId>forked-path</mavenExecutorId> |
| <autoVersionSubmodules>true</autoVersionSubmodules> |
| <preparationGoals>clean install</preparationGoals> |
| <pushChanges>false</pushChanges> |
| <useReleaseProfile>false</useReleaseProfile> |
| <arguments>${release.tests.args} ${release.arguments}</arguments> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>maven-paxexam-plugin</artifactId> |
| <version>${paxexam-mvn-plugin-version}</version> |
| <executions> |
| <execution> |
| <id>generate-config</id> |
| <goals> |
| <goal>generate-depends-file</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <options> |
| <platform>felix</platform> |
| </options> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>3.3</version> |
| <configuration> |
| <generateProjectInfo>false</generateProjectInfo> |
| <generateReports>true</generateReports> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>1.2.1</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>java</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jxr-plugin</artifactId> |
| <version>2.3</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>jxr</goal> |
| </goals> |
| <phase>validate</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.8</version> |
| <configuration> |
| <outputDirectory>${project.build.directory}/checkstyle</outputDirectory> |
| <outputFile>${project.build.directory}/checkstyle/checkstyle-result.xml</outputFile> |
| <configLocation>etc/config/checkstyle.xml</configLocation> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>checkstyle</goal> |
| </goals> |
| <phase>validate</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>${findbugs.version}</version> |
| <configuration> |
| <skip>${findbugs.skip}</skip> |
| <threshold>${findbugs.threshold}</threshold> |
| <excludeFilterFile> |
| ${findbugs.common},${findbugs.exclude} |
| </excludeFilterFile> |
| <findbugsXmlWithMessages>true</findbugsXmlWithMessages> |
| <!-- findbugs detector configuration --> |
| <jvmArgs>-Dfindbugs.glassfish.logging.validLoggerPrefixes=${findbugs.glassfish.logging.validLoggerPrefixes}</jvmArgs> |
| <plugins> |
| <plugin> |
| <groupId>org.glassfish.findbugs</groupId> |
| <artifactId>findbugs-logging-detectors</artifactId> |
| <version>${findbugs.glassfish.version}</version> |
| </plugin> |
| </plugins> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.glassfish.findbugs</groupId> |
| <artifactId>findbugs</artifactId> |
| <version>${findbugs.glassfish.version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>2.16</version> |
| <configuration> |
| <skipTests>${skip.tests}</skipTests> |
| <skipITs>${skip.tests}</skipITs> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>integration-test</goal> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>2.4</version> |
| <configuration> |
| <failOnMissingWebXml>false</failOnMissingWebXml> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.glassfish.embedded</groupId> |
| <artifactId>maven-embedded-glassfish-plugin</artifactId> |
| <version>3.1.2.2</version> |
| </plugin> |
| <plugin> |
| <groupId>org.glassfish.copyright</groupId> |
| <artifactId>glassfish-copyright-maven-plugin</artifactId> |
| <version>1.28</version> |
| <configuration> |
| <excludeFile>etc/config/copyright-exclude</excludeFile> |
| <!--svn|mercurial|git - defaults to svn--> |
| <scm>git</scm> |
| <!-- turn on/off debugging --> |
| <debug>false</debug> |
| <!-- skip files not under SCM--> |
| <scmOnly>true</scmOnly> |
| <!-- turn off warnings --> |
| <warn>true</warn> |
| <!-- for use with repair --> |
| <update>false</update> |
| <!-- check that year is correct --> |
| <ignoreYear>false</ignoreYear> |
| <templateFile>etc/config/copyright.txt</templateFile> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.3.7</version> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy> |
| <_nodefaultversion>false</_nodefaultversion> |
| </instructions> |
| </configuration> |
| <executions> |
| <execution> |
| <id>osgi-bundle</id> |
| <phase>package</phase> |
| <goals> |
| <goal>bundle</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>xml-maven-plugin</artifactId> |
| <version>1.0</version> |
| </plugin> |
| <plugin> |
| <groupId>com.sun.tools.xjc.maven2</groupId> |
| <artifactId>maven-jaxb-plugin</artifactId> |
| <version>1.1.1</version> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>buildnumber-maven-plugin</artifactId> |
| <version>1.1</version> |
| </plugin> |
| <!-- TODO: remove the old jetty plugin dependencies --> |
| <plugin> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>maven-jetty-plugin</artifactId> |
| <version>6.1.24</version> |
| </plugin> |
| <plugin> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty-maven-plugin</artifactId> |
| <version>8.1.8.v20121106</version> |
| </plugin> |
| <plugin> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-maven-plugin</artifactId> |
| <version>9.0.5.v20130815</version> |
| </plugin> |
| <plugin> |
| <groupId>org.glassfish.build</groupId> |
| <artifactId>gfnexus-maven-plugin</artifactId> |
| <version>0.16</version> |
| <configuration> |
| <stagingRepos> |
| <stagingRepo> |
| <!-- |
| The reference artifact used to identify the right staging repository |
| --> |
| <ref>org.glassfish.jersey:project:${project.version}:pom</ref> |
| <profile>com.sun.jersey</profile> |
| </stagingRepo> |
| </stagingRepos> |
| <!-- |
| Temporary till there is a jersey promotion profile |
| --> |
| <promotionProfile>glassfish-integration</promotionProfile> |
| <message>JERSEY-${project.version}</message> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.glassfish.jersey.tools.plugins</groupId> |
| <artifactId>jersey-doc-modulelist-maven-plugin</artifactId> |
| <inherited>false</inherited> |
| <configuration> |
| <outputFileName>docs/src/main/docbook/modules.xml</outputFileName> |
| <templateFileName>docs/src/main/docbook/inc/modules.src</templateFileName> |
| <tableHeaderFileName>docs/src/main/docbook/inc/modules_table_header.src</tableHeaderFileName> |
| <tableFooterFileName>docs/src/main/docbook/inc/modules_table_footer.src</tableFooterFileName> |
| <tableRowFileName>docs/src/main/docbook/inc/modules_table_row.src</tableRowFileName> |
| <outputUnmatched>false</outputUnmatched> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| </plugin> |
| </plugins> |
| <extensions> |
| <extension> |
| <groupId>org.glassfish</groupId> |
| <artifactId>findbugs</artifactId> |
| <version>3.2-b06</version> |
| </extension> |
| </extensions> |
| </build> |
| |
| <profiles> |
| <profile> |
| <!-- Use it with release-perform goal to skip another test run. --> |
| <id>skip-tests</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <properties> |
| <skip.release.tests>-Dmaven.test.skip=true -Dskip.tests=true</skip.release.tests> |
| <skip.tests>true</skip.tests> |
| </properties> |
| </profile> |
| <profile> |
| <id>release</id> |
| <modules> |
| <module>docs</module> |
| </modules> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>xdk</id> |
| <activation> |
| <property> |
| <name>xdk</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <inherited>true</inherited> |
| <configuration> |
| <additionalClasspathElements> |
| <additionalClasspathElement>${xdk.absolute.path}</additionalClasspathElement> |
| </additionalClasspathElements> |
| <classpathDependencyExcludes> |
| <classpathDependencyExcludes>xerces:xercesImpl</classpathDependencyExcludes> |
| </classpathDependencyExcludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>moxy</id> |
| <activation> |
| <property> |
| <name>moxy</name> |
| </property> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.eclipse.persistence</groupId> |
| <artifactId>org.eclipse.persistence.moxy</artifactId> |
| <version>${moxy.version}</version> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <inherited>true</inherited> |
| <configuration> |
| <systemPropertyVariables> |
| <javax.xml.bind.JAXBContext>org.eclipse.persistence.jaxb.JAXBContextFactory</javax.xml.bind.JAXBContext> |
| </systemPropertyVariables> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <repositories> |
| <repository> |
| <id>eclipselink.repository</id> |
| <name>Eclipse Maven Repository</name> |
| <url>http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/rt/eclipselink/maven.repo</url> |
| <layout>default</layout> |
| </repository> |
| </repositories> |
| </profile> |
| <profile> |
| <id>project-info</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>2.7</version> |
| <reportSets> |
| <reportSet> |
| <reports> |
| <report>dependencies</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| </plugins> |
| </reporting> |
| <!-- placeholder required for site:stage --> |
| <distributionManagement> |
| <site> |
| <id>localhost</id> |
| <url>http://localhost</url> |
| </site> |
| </distributionManagement> |
| </profile> |
| </profiles> |
| |
| <reporting> |
| <excludeDefaults>true</excludeDefaults> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>${findbugs.version}</version> |
| <reportSets> |
| <reportSet> |
| <configuration> |
| <skip>${findbugs.skip}</skip> |
| <threshold>${findbugs.threshold}</threshold> |
| <excludeFilterFile> |
| ${findbugs.common},${findbugs.exclude} |
| </excludeFilterFile> |
| <findbugsXmlWithMessages>true</findbugsXmlWithMessages> |
| <!-- findbugs detector configuration --> |
| <jvmArgs>-Dfindbugs.glassfish.logging.validLoggerPrefixes=${findbugs.glassfish.logging.validLoggerPrefixes}</jvmArgs> |
| <plugins> |
| <plugin> |
| <groupId>org.glassfish.findbugs</groupId> |
| <artifactId>findbugs-logging-detectors</artifactId> |
| <version>${findbugs.glassfish.version}</version> |
| </plugin> |
| </plugins> |
| </configuration> |
| <reports> |
| <report>findbugs</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.9</version> |
| <!-- Run this plugin report sets only in the main Jersey pom --> |
| <inherited>false</inherited> |
| <configuration> |
| <doctitle>Jersey ${jersey.version} API Documentation</doctitle> |
| <windowtitle>Jersey ${jersey.version} API</windowtitle> |
| <bottom> |
| <![CDATA[Copyright © 2007-2014, |
| <a href="http://www.oracle.com">Oracle</a> |
| and/or its affiliates. |
| All Rights Reserved. Use is subject to license terms.]]> |
| </bottom> |
| <!-- TODO: add 'javax.ws.rs*' to excludePackageNames whenever links works. --> |
| <excludePackageNames> |
| com.sun.ws.rs.ext:*.examples.*:*.internal.*:*.tests.* |
| </excludePackageNames> |
| <stylesheetfile>${javadoc.stylesheet}</stylesheetfile> |
| <!-- TODO: links still not working :-( --> |
| <links> |
| <link>http://jax-rs-spec.java.net/nonav/2.0/apidocs</link> |
| <link>http://hk2.java.net/${hk2.version}/apidocs</link> |
| </links> |
| </configuration> |
| <reportSets> |
| <reportSet> |
| <reports> |
| <report>aggregate</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| |
| <!--plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| <version>2.12</version> |
| </plugin--> |
| <!--plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| <version>2.4</version> |
| <configuration> |
| <formats> |
| <format>xml</format> |
| <format>html</format> |
| </formats> |
| </configuration> |
| </plugin--> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jxr-plugin</artifactId> |
| <version>2.3</version> |
| <reportSets> |
| <reportSet> |
| <reports> |
| <report>jxr</report> |
| </reports> |
| </reportSet> |
| <reportSet> |
| <!-- Run this report set only in the main Jersey pom --> |
| <inherited>false</inherited> |
| <reports> |
| <report>aggregate</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.8</version> |
| <configuration> |
| <configLocation>etc/config/checkstyle.xml</configLocation> |
| </configuration> |
| <reportSets> |
| <reportSet> |
| <reports> |
| <report>checkstyle</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <modules> |
| <module>archetypes</module> |
| <module>bom</module> |
| <module>bundles</module> |
| <module>connectors</module> |
| <module>containers</module> |
| |
| <module>core-common</module> |
| <module>core-server</module> |
| <module>core-client</module> |
| |
| <module>examples</module> |
| <module>ext</module> |
| <module>incubator</module> |
| <module>media</module> |
| <module>security</module> |
| <module>test-framework</module> |
| |
| <module>tests</module> |
| <!--module>tools</module--> |
| </modules> |
| |
| <!--distributionManagement /--> |
| |
| <pluginRepositories> |
| <pluginRepository> |
| <id>snapshots.codehaus.org</id> |
| <name>Codehaus.org Snapshots Maven Repository</name> |
| <url>http://nexus.codehaus.org/snapshots</url> |
| <layout>default</layout> |
| </pluginRepository> |
| </pluginRepositories> |
| |
| <!-- TODO remove the java.net maven repository reference --> |
| <repositories> |
| <repository> |
| <id>release.maven.java.net</id> |
| <name>java.net Maven Release Repository</name> |
| <url>https://maven.java.net/content/groups/public</url> |
| <layout>default</layout> |
| </repository> |
| </repositories> |
| |
| <!--dependencies></dependencies--> |
| <!--reporting></reporting --> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>javax.ws.rs</groupId> |
| <artifactId>javax.ws.rs-api</artifactId> |
| <version>${jaxrs.api.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.annotation</groupId> |
| <artifactId>javax.annotation-api</artifactId> |
| <version>${javax.annotation.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.enterprise</groupId> |
| <artifactId>cdi-api</artifactId> |
| <version>${cdi.api.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.transaction</groupId> |
| <artifactId>javax.transaction-api</artifactId> |
| <version>${jta.api.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>14.0.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| <version>1.3.9</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.glassfish.hk2</groupId> |
| <artifactId>hk2-bom</artifactId> |
| <version>${hk2.version}</version> |
| <scope>import</scope> |
| <type>pom</type> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.hk2</groupId> |
| <artifactId>hk2-api</artifactId> |
| <version>${hk2.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.inject</groupId> |
| <artifactId>javax.inject</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.hk2</groupId> |
| <artifactId>osgi-resource-locator</artifactId> |
| <version>1.0.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.hk2.external</groupId> |
| <artifactId>javax.inject</artifactId> |
| <version>${hk2.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.inject</groupId> |
| <artifactId>javax.inject</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.glassfish.grizzly</groupId> |
| <artifactId>grizzly-http-server</artifactId> |
| <version>${grizzly2.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.grizzly</groupId> |
| <artifactId>grizzly-http-servlet</artifactId> |
| <version>${grizzly2.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.grizzly</groupId> |
| <artifactId>grizzly-websockets</artifactId> |
| <version>${grizzly2.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish.grizzly</groupId> |
| <artifactId>grizzly-http-client</artifactId> |
| <version>${grizzly.client.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.httpcomponents</groupId> |
| <artifactId>httpclient</artifactId> |
| <version>${httpclient.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-client</artifactId> |
| <version>${jetty.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-server</artifactId> |
| <version>${jetty.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-webapp</artifactId> |
| <version>${jetty.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.jetty</groupId> |
| <artifactId>jetty-continuation</artifactId> |
| <version>${jetty.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.simpleframework</groupId> |
| <artifactId>simple</artifactId> |
| <version>${simple.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.codehaus.jettison</groupId> |
| <artifactId>jettison</artifactId> |
| <version>1.3.3</version> |
| <exclusions> |
| <exclusion> |
| <groupId>stax</groupId> |
| <artifactId>stax-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.xml.bind</groupId> |
| <artifactId>jaxb-api</artifactId> |
| <version>${jaxb.api.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.sun.xml.bind</groupId> |
| <artifactId>jaxb-impl</artifactId> |
| <version>${jaxb.ri.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.persistence</groupId> |
| <artifactId>org.eclipse.persistence.moxy</artifactId> |
| <version>${moxy.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.eclipse.persistence</groupId> |
| <artifactId>org.eclipse.persistence.antlr</artifactId> |
| <version>${moxy.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.persistence</groupId> |
| <artifactId>persistence-api</artifactId> |
| <version>${javax.persistence.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.ejb</groupId> |
| <artifactId>javax.ejb-api</artifactId> |
| <version>${ejb.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-core-asl</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-jaxrs</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-xc</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>${osgi.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| <version>${osgi.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.framework</artifactId> |
| <version>4.2.1</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.eventadmin</artifactId> |
| <version>1.2.2</version> |
| <scope>test</scope> |
| </dependency> |
| |
| |
| <!-- HV OSGi dependencies. --> |
| <dependency> |
| <groupId>org.jboss.logging</groupId> |
| <artifactId>jboss-logging</artifactId> |
| <version>${jboss.logging.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml</groupId> |
| <artifactId>classmate</artifactId> |
| <version>${fasterxml.classmate.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.el</groupId> |
| <artifactId>javax.el-api</artifactId> |
| <version>${javax.el.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.json</groupId> |
| <artifactId>javax.json-api</artifactId> |
| <version>${jsonp.api.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish</groupId> |
| <artifactId>javax.json</artifactId> |
| <version>${jsonp.ri.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.glassfish</groupId> |
| <artifactId>jsonp-jaxrs</artifactId> |
| <version>${jsonp.jaxrs.version}</version> |
| </dependency> |
| |
| <!-- Test scope --> |
| |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| <version>1.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam</artifactId> |
| <version>${pax-exam-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam-junit4</artifactId> |
| <version>${pax-exam-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam-container-forked</artifactId> |
| <version>${pax-exam-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam-junit-extender-impl</artifactId> |
| <version>1.2.4</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam-link-mvn</artifactId> |
| <version>${pax-exam-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty</artifactId> |
| <version>${jetty.plugin.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty-util</artifactId> |
| <version>${jetty.plugin.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>servlet-api-2.5</artifactId> |
| <version>${jetty-servlet-api-25-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-library</artifactId> |
| <version>${hamcrest.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.web</groupId> |
| <artifactId>pax-web-jetty-bundle</artifactId> |
| <version>${pax-web-version}</version> |
| <!--<version>0.7.1</version>--> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.web</groupId> |
| <artifactId>pax-web-extender-war</artifactId> |
| <!--<version>0.7.1</version>--> |
| <version>${pax-web-version}</version> |
| </dependency> |
| |
| </dependencies> |
| </dependencyManagement> |
| |
| <properties> |
| <findbugs.skip>false</findbugs.skip> |
| <findbugs.threshold>Low</findbugs.threshold> |
| <findbugs.common>exclude-common.xml</findbugs.common> |
| <findbugs.exclude /> |
| <findbugs.glassfish.logging.validLoggerPrefixes> |
| javax.enterprise |
| </findbugs.glassfish.logging.validLoggerPrefixes> |
| <java.version>1.6</java.version> |
| <javadoc.stylesheet>etc/config/javadoc-stylesheet.css</javadoc.stylesheet> |
| <netbeans.hint.license>gf-cddl-gpl</netbeans.hint.license> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| <release.tests.args>-Dmaven.test.skip=false</release.tests.args> |
| <skip.tests>false</skip.tests> |
| <xdk.absolute.path /> |
| |
| <!-- Dependency versions --> |
| <jersey.version>${project.version}</jersey.version> |
| <bnd.plugin.version>2.3.6</bnd.plugin.version> |
| <cdi.api.version>1.1</cdi.api.version> |
| <ejb.version>3.2</ejb.version> |
| <fasterxml.classmate.version>0.8.0</fasterxml.classmate.version> |
| <findbugs.glassfish.version>1.3</findbugs.glassfish.version> |
| <findbugs.version>2.5.2</findbugs.version> |
| <freemarker.version>2.3.20</freemarker.version> |
| <gae.version>1.8.4</gae.version> |
| <grizzly.client.version>1.6</grizzly.client.version> |
| <grizzly2.version>2.3.8</grizzly2.version> |
| <hamcrest.version>1.3</hamcrest.version> |
| <hk2.version>2.2.0-b21</hk2.version> |
| <jackson.version>1.9.13</jackson.version> |
| <jackson2.version>2.2.3</jackson2.version> |
| <javax.annotation.version>1.2</javax.annotation.version> |
| <javax.annotation.bundle.version>1.2</javax.annotation.bundle.version> |
| <javax.el.version>2.2.4</javax.el.version> |
| <javax.interceptor.version>1.2</javax.interceptor.version> |
| <javax.persistence.version>1.0</javax.persistence.version> |
| <jaxb.api.version>2.2.7</jaxb.api.version> |
| <jaxb.ri.version>2.2.7</jaxb.ri.version> |
| <jaxrs.api.version>2.0</jaxrs.api.version> |
| <jaxrs.api.last.final.version>1.1</jaxrs.api.last.final.version> |
| <jboss.logging.version>3.1.1.GA</jboss.logging.version> |
| <jersey1.version>1.17</jersey1.version> |
| <jersey1.last.final.version>${jersey1.version}</jersey1.last.final.version> |
| <jetty.plugin.version>6.1.22</jetty.plugin.version> |
| <jetty.version>9.0.6.v20130930</jetty.version> |
| <jetty-servlet-api-25-version>6.1.14</jetty-servlet-api-25-version> |
| <jsonp.api.version>1.0</jsonp.api.version> |
| <jsonp.ri.version>1.0.2</jsonp.ri.version> |
| <jsonp.jaxrs.version>1.0</jsonp.jaxrs.version> |
| <jsp.version>2.0</jsp.version> |
| <jstl.version>1.2</jstl.version> |
| <jta.api.version>1.2</jta.api.version> |
| <mimepull.version>1.9.3</mimepull.version> |
| <moxy.version>2.5.0</moxy.version> |
| <mustache.version>0.8.12</mustache.version> |
| <osgi.version>4.2.0</osgi.version> |
| <pax-exam-version>3.2.0</pax-exam-version> |
| <pax-web-version>0.7.4</pax-web-version><!-- TODO: UPGRADE! --> |
| <paxexam-mvn-plugin-version>1.2.4</paxexam-mvn-plugin-version> |
| <servlet2.version>2.4</servlet2.version> |
| <servlet3.version>3.0.1</servlet3.version> |
| <simple.version>5.1.4</simple.version> |
| <spring3.version>3.2.3.RELEASE</spring3.version> |
| <httpclient.version>4.3.1</httpclient.version> |
| <validation.api.version>1.1.0.Final</validation.api.version> |
| <weld.version>2.0.0.Final</weld.version> |
| </properties> |
| </project> |