blob: 13a3f2005c448cac49acc6ed62fcd2a9900410b4 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<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</groupId>
<artifactId>objectteams-parent-pom</artifactId>
<version>0.8.0-SNAPSHOT</version>
<relativePath>../parent-pom</relativePath>
</parent>
<groupId>org.eclipse</groupId>
<artifactId>objectteams-artifact-deployer</artifactId>
<version>${otj.version}</version>
<packaging>pom</packaging>
<description>This POM deploys Object Teams artifacts not generated by maven as maven artifacts.</description>
<licenses>
<license>
<name>Eclipse Public License Version 1.0</name>
<comments>
This file is part of "Object Teams Development Tooling"-Software
Copyright 2010 GK Software AG
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Please visit http://www.eclipse.org/objectteams for updates and contact.
Contributors:
Stephan Herrmann - Initial API and implementation
Olaf Otto - Initial concept
</comments>
</license>
</licenses>
<!-- NOTE: Run this from the command line, eclipse launch throws NPE!!! -->
<!-- the follogin properties are required to be defined by an active profile: -->
<!-- REMOTE: -->
<!-- ot.host : user@host for the object teams repository server -->
<!-- ot.maven.repository.path : absolute path to the maven repository on ot.host -->
<!-- LOCAL: -->
<!-- otre.export.dir : directory where exported -->
<!-- org.eclipse.objectteams.runtime-head.jar is located. -->
<!-- ecj.export.dir : directory where the batch compiler jar is located -->
<properties>
<!-- locate the jar files to install/deploy: -->
<ecotj.jar.file>${ecj.export.dir}/ecotj-head.jar</ecotj.jar.file>
<otre.jar.file>${otre.export.dir}/org.eclipse.objectteams.runtime-head.jar</otre.jar.file>
<otre-agent.jar.file>${otdt.lib.dir}/otre_agent.jar</otre-agent.jar.file>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>deploy-otre-as-maven-artifact</id>
<phase>deploy</phase>
<goals>
<goal>deploy-file</goal>
</goals>
<configuration>
<repositoryId>otEclipseRepo</repositoryId>
<packaging>jar</packaging>
<url>scpexe://${ot.host}:${ot.maven.repository.path}</url>
<!-- The file to be deployed -->
<file>${otre.jar.file}</file>
<groupId>${project.groupId}</groupId>
<artifactId>objectteams-runtime</artifactId>
<version>${otj.version}</version>
<packaging>jar</packaging>
</configuration>
</execution>
<execution>
<id>deploy-otre-agent-as-maven-artifact</id>
<phase>deploy</phase>
<goals>
<goal>deploy-file</goal>
</goals>
<configuration>
<repositoryId>otEclipseRepo</repositoryId>
<packaging>jar</packaging>
<url>scpexe://${ot.host}:${ot.maven.repository.path}</url>
<!-- The file to be deployed -->
<file>${otre-agent.jar.file}</file>
<groupId>${project.groupId}</groupId>
<artifactId>objectteams-otre-agent</artifactId>
<classifier>nodep</classifier>
<version>${otj.version}</version>
<packaging>jar</packaging>
</configuration>
</execution>
<execution>
<id>deploy-ecotj-as-maven-artifact</id>
<phase>deploy</phase>
<goals>
<goal>deploy-file</goal>
</goals>
<configuration>
<repositoryId>otEclipseRepo</repositoryId>
<packaging>jar</packaging>
<url>scpexe://${ot.host}:${ot.maven.repository.path}</url>
<!-- The file to be deployed -->
<file>${ecotj.jar.file}</file>
<groupId>${project.groupId}</groupId>
<artifactId>objectteams-otj-compiler</artifactId>
<version>${otj.version}</version>
<packaging>jar</packaging>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.3</version>
<executions>
<execution>
<id>install-otre-as-maven-artifact</id>
<phase>install</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<packaging>jar</packaging>
<!-- The file to be deployed -->
<file>${otre.jar.file}</file>
<groupId>${project.groupId}</groupId>
<artifactId>objectteams-runtime</artifactId>
<version>${otj.version}</version>
<packaging>jar</packaging>
<pomFile>objectteams-runtime-pom.xml</pomFile>
</configuration>
</execution>
<execution>
<id>install-otre-agent-as-maven-artifact</id>
<phase>install</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<packaging>jar</packaging>
<!-- The file to be deployed -->
<file>${otre-agent.jar.file}</file>
<groupId>${project.groupId}</groupId>
<artifactId>objectteams-otre-agent</artifactId>
<classifier>nodep</classifier>
<version>${otj.version}</version>
<packaging>jar</packaging>
</configuration>
</execution>
<execution>
<id>install-ecotj-as-maven-artifact</id>
<phase>install</phase>
<goals>
<goal>install-file</goal>
</goals>
<configuration>
<packaging>jar</packaging>
<!-- The file to be deployed -->
<file>${ecotj.jar.file}</file>
<groupId>${project.groupId}</groupId>
<artifactId>objectteams-otj-compiler</artifactId>
<version>${otj.version}</version>
<packaging>jar</packaging>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<!--scm>
<connection>scm:svn:https://svn.objectteams.org/ot/tags/releases/maven/objectteams-infrastructure/objectteams-artifact-deployer-1.3.1</connection>
<developerConnection>scm:svn:https://svn.objectteams.org/ot/tags/releases/maven/objectteams-infrastructure/objectteams-artifact-deployer-1.3.1</developerConnection>
<url>https://svn.objectteams.org/ot/tags/releases/maven/objectteams-infrastructure/objectteams-artifact-deployer-1.3.1</url>
</scm-->
</project>