| <?xml version="1.0" encoding="UTF-8"?> |
| <!--#======================================================================= --> |
| <!--# Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) --> |
| <!--# All rights reserved. This program and the accompanying materials --> |
| <!--# are made available under the terms of the Eclipse Public License 2.0 --> |
| <!--# which accompanies this distribution, and is available at --> |
| <!--# https://www.eclipse.org/legal/epl-2.0/ --> |
| <!--# --> |
| <!--# SPDX-License-Identifier: EPL-2.0 --> |
| <!--# --> |
| <!--# Contributors: --> |
| <!--# Christophe Loetz (Loetz GmbH&Co.KG) - initial API and implementation --> |
| <!--#======================================================================= --> |
| |
| <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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.eclipse.osbp.dependencies</groupId> |
| <artifactId>org.eclipse.osbp.dependencies-mbp</artifactId> |
| <version>0.9.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>org.eclipse.osbp.dependencies.maven.directdeploy.restlet</artifactId> |
| <version>2.1.3</version> <!-- no SNAPSHOT, we want to deploy to releases repo --> |
| <packaging>jar</packaging> |
| |
| <repositories> |
| <repository> |
| <id>restlet-releases</id> |
| <url>http://maven.restlet.org/</url> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| </repository> |
| </repositories> |
| |
| <dependencies> |
| <!-- CQ: https://dev.eclipse.org/ipzilla/show_bug.cgi?id=12730 --> |
| <dependency> |
| <groupId>org.restlet.jee</groupId> |
| <artifactId>org.restlet</artifactId> |
| <version>2.1.3</version> |
| </dependency> |
| |
| <!-- CQ: https://dev.eclipse.org/ipzilla/show_bug.cgi?id=12746 --> |
| <dependency> |
| <groupId>org.restlet.jee</groupId> |
| <artifactId>org.restlet.ext.servlet</artifactId> |
| <version>2.1.3</version> |
| </dependency> |
| </dependencies> |
| |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>2.10</version> |
| <executions> |
| <execution> |
| <id>copy</id> |
| <phase>package</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> <!-- 1 --> |
| <groupId>org.restlet.jee</groupId> |
| <artifactId>org.restlet</artifactId> |
| <version>2.1.3</version> |
| <overWrite>true</overWrite> |
| </artifactItem> |
| <artifactItem> <!-- 2 --> |
| <groupId>org.restlet.jee</groupId> |
| <artifactId>org.restlet.ext.servlet</artifactId> |
| <version>2.1.3</version> |
| <overWrite>true</overWrite> |
| </artifactItem> |
| </artifactItems> |
| <outputDirectory>${project.build.directory}</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>jar-deploy-1</id> |
| <phase>deploy</phase> |
| <goals> |
| <goal>deploy-file</goal> |
| </goals> |
| <configuration> |
| <packaging>jar</packaging> |
| <generatePom>true</generatePom> |
| <repositoryId>osbp-nexus-release</repositoryId> |
| <url>${distribution.repository.release.url}</url> |
| <groupId>org.restlet.jee</groupId> |
| <artifactId>org.restlet</artifactId> |
| <version>2.1.3</version> |
| <file>${project.build.directory}/org.restlet-2.1.3.jar</file> |
| </configuration> |
| </execution> |
| <execution> |
| <id>jar-deploy-2</id> |
| <phase>deploy</phase> |
| <goals> |
| <goal>deploy-file</goal> |
| </goals> |
| <configuration> |
| <packaging>jar</packaging> |
| <generatePom>true</generatePom> |
| <repositoryId>osbp-nexus-release</repositoryId> |
| <url>${distribution.repository.release.url}</url> |
| <groupId>org.restlet.jee</groupId> |
| <artifactId>org.restlet.ext.servlet</artifactId> |
| <version>2.1.3</version> |
| <file>${project.build.directory}/org.restlet.ext.servlet-2.1.3.jar</file> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |
| |