blob: b7ea1474907b6fb7368bfc4f98c89a1b40c2ecdf [file] [log] [blame]
Olaf Ottof4c02132010-10-10 20:39:11 +00001<?xml version="1.0" encoding="UTF-8"?>
2<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">
3 <modelVersion>4.0.0</modelVersion>
4
5 <parent>
6 <groupId>org.eclipse</groupId>
7 <artifactId>objectteams-parent-pom</artifactId>
Stephan Herrmann94732cf2013-06-23 17:40:20 +02008 <version>2.2.0</version>
Olaf Ottof4c02132010-10-10 20:39:11 +00009 <relativePath>../parent-pom</relativePath>
10 </parent>
11
Olaf Ottof4c02132010-10-10 20:39:11 +000012 <artifactId>objectteams-artifact-deployer</artifactId>
Olaf Ottof4c02132010-10-10 20:39:11 +000013
14 <packaging>pom</packaging>
15
Stephan Herrmannc76cb572010-10-18 14:02:37 +000016 <!-- simply repeat this declaration from the parent pom, otherwise Maven duplicates the artifactId in the path -->
17 <url>http://download.eclipse.org/objectteams/maven/3/sites/${project.artifactId}</url>
18
Olaf Ottof4c02132010-10-10 20:39:11 +000019 <description>This POM deploys Object Teams artifacts not generated by maven as maven artifacts.</description>
20
21 <licenses>
22 <license>
23 <name>Eclipse Public License Version 1.0</name>
24 <comments>
25 This file is part of "Object Teams Development Tooling"-Software
26
Stephan Herrmann94732cf2013-06-23 17:40:20 +020027 Copyright 2010, 2013 GK Software AG and others.
Olaf Ottof4c02132010-10-10 20:39:11 +000028 All rights reserved. This program and the accompanying materials
29 are made available under the terms of the Eclipse Public License v1.0
30 which accompanies this distribution, and is available at
31 http://www.eclipse.org/legal/epl-v10.html
32
33 Please visit http://www.eclipse.org/objectteams for updates and contact.
34
35 Contributors:
Olaf Ottof4c02132010-10-10 20:39:11 +000036 Olaf Otto - Initial concept
Stephan Herrmannc76cb572010-10-18 14:02:37 +000037 Stephan Herrmann - Initial API and implementation
Olaf Ottof4c02132010-10-10 20:39:11 +000038 </comments>
39 </license>
40 </licenses>
Stephan Herrmann46cee6b2011-06-13 09:32:21 +000041
42 <!-- the follogin properties should be defined by an active profile: -->
Olaf Ottof4c02132010-10-10 20:39:11 +000043 <!-- REMOTE: -->
44 <!-- ot.host : user@host for the object teams repository server -->
45 <!-- ot.maven.repository.path : absolute path to the maven repository on ot.host -->
46 <!-- LOCAL: -->
Stephan Herrmann46cee6b2011-06-13 09:32:21 +000047 <!-- otre.export.dir : directory where exported otre jars are located: -->
48 <!-- org.eclipse.objectteams.runtime_${otre.version}.jar -->
49 <!-- otre_min.jar, otre_agent.jar -->
Olaf Ottof4c02132010-10-10 20:39:11 +000050 <!-- ecj.export.dir : directory where the batch compiler jar is located -->
51
52 <properties>
Stephan Herrmann46cee6b2011-06-13 09:32:21 +000053 <!-- Object Teams versions, update manually: -->
Stephan Herrmanncac17412012-07-05 21:36:45 +020054 <!-- version of the signed ecotj jar file: -->
Stephan Herrmann94732cf2013-06-23 17:40:20 +020055 <ecotj.version>R-2.2.0-201306071800-signed</ecotj.version>
Stephan Herrmann46cee6b2011-06-13 09:32:21 +000056 <!-- version of the org.eclipse.objectteams.runtime plugin: -->
Stephan Herrmann94732cf2013-06-23 17:40:20 +020057 <otre.version>2.2.0.201305210612</otre.version>
Stephan Herrmann46cee6b2011-06-13 09:32:21 +000058
Olaf Ottof4c02132010-10-10 20:39:11 +000059 <!-- locate the jar files to install/deploy: -->
Stephan Herrmann46cee6b2011-06-13 09:32:21 +000060 <ecotj.jar.file>${ecj.export.dir}/ecotj-${ecotj.version}.jar</ecotj.jar.file>
Stephan Herrmanncac17412012-07-05 21:36:45 +020061 <otre.jar.file>${otre.export.dir}-${otre.version}/org.eclipse.objectteams.runtime_${otre.version}.jar</otre.jar.file>
62 <otre-agent.jar.file>${otre.export.dir}-${otre.version}/otre_agent.jar</otre-agent.jar.file>
Stephan Herrmannc76cb572010-10-18 14:02:37 +000063
Stephan Herrmanncac17412012-07-05 21:36:45 +020064 <!-- Repository path of this module within the Object Teams git: -->
65 <project-repository-path>maven/infrastructure/artifacts-deployer</project-repository-path>
Olaf Ottof4c02132010-10-10 20:39:11 +000066 </properties>
67
Stephan Herrmann42cf4d32010-10-18 16:08:59 +000068 <!-- Override inherited declaration, otherwise Maven appends the artifactId to the path -->
Stephan Herrmannc76cb572010-10-18 14:02:37 +000069 <scm>
Stephan Herrmanncac17412012-07-05 21:36:45 +020070 <connection>scm:git:git://git.eclipse.org/gitroot/objectteams/org.eclipse.objectteams.git/${project-repository-path}</connection>
71 <developerConnection>scm:git:ssh://${username}@git.eclipse.org/gitroot/objectteams/org.eclipse.objectteams.git/${project-repository-path}</developerConnection>
72 <url>http://git.eclipse.org/c/objectteams/org.eclipse.objectteams.git/${project-repository-path}</url>
Stephan Herrmannc76cb572010-10-18 14:02:37 +000073 </scm>
74
75 <!-- simply repeat this declaration from the parent pom, otherwise Maven duplicates the artifactId in the path -->
76 <distributionManagement>
77 <site>
78 <id>otSiteRepo</id>
79 <name>Object Teams sites repository for Maven 3</name>
80 <url>scpexe://${ot.host}:${ot.maven.repository.basepath}/sites/${project.artifactId}</url>
81 </site>
82 </distributionManagement>
83
Olaf Ottof4c02132010-10-10 20:39:11 +000084 <build>
85 <plugins>
86 <plugin>
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-deploy-plugin</artifactId>
89 <version>2.4</version>
90 <executions>
91 <execution>
92 <id>deploy-otre-as-maven-artifact</id>
93 <phase>deploy</phase>
94 <goals>
95 <goal>deploy-file</goal>
96 </goals>
97 <configuration>
98 <repositoryId>otEclipseRepo</repositoryId>
99 <packaging>jar</packaging>
Stephan Herrmann42cf4d32010-10-18 16:08:59 +0000100 <url>scpexe://${ot.host}:${ot.maven.repository.basepath}/repository</url>
Olaf Ottof4c02132010-10-10 20:39:11 +0000101 <!-- The file to be deployed -->
102 <file>${otre.jar.file}</file>
103 <groupId>${project.groupId}</groupId>
104 <artifactId>objectteams-runtime</artifactId>
105 <version>${otj.version}</version>
106 <packaging>jar</packaging>
107 </configuration>
108 </execution>
109 <execution>
110 <id>deploy-otre-agent-as-maven-artifact</id>
111 <phase>deploy</phase>
112 <goals>
113 <goal>deploy-file</goal>
114 </goals>
115 <configuration>
116 <repositoryId>otEclipseRepo</repositoryId>
117 <packaging>jar</packaging>
Stephan Herrmann42cf4d32010-10-18 16:08:59 +0000118 <url>scpexe://${ot.host}:${ot.maven.repository.basepath}/repository</url>
Olaf Ottof4c02132010-10-10 20:39:11 +0000119 <!-- The file to be deployed -->
120 <file>${otre-agent.jar.file}</file>
121 <groupId>${project.groupId}</groupId>
122 <artifactId>objectteams-otre-agent</artifactId>
123 <classifier>nodep</classifier>
124 <version>${otj.version}</version>
125 <packaging>jar</packaging>
126 </configuration>
127 </execution>
128 <execution>
129 <id>deploy-ecotj-as-maven-artifact</id>
130 <phase>deploy</phase>
131 <goals>
132 <goal>deploy-file</goal>
133 </goals>
134 <configuration>
135 <repositoryId>otEclipseRepo</repositoryId>
136 <packaging>jar</packaging>
Stephan Herrmann42cf4d32010-10-18 16:08:59 +0000137 <url>scpexe://${ot.host}:${ot.maven.repository.basepath}/repository</url>
Olaf Ottof4c02132010-10-10 20:39:11 +0000138 <!-- The file to be deployed -->
139 <file>${ecotj.jar.file}</file>
140 <groupId>${project.groupId}</groupId>
141 <artifactId>objectteams-otj-compiler</artifactId>
142 <version>${otj.version}</version>
143 <packaging>jar</packaging>
144 </configuration>
145 </execution>
146 </executions>
147 </plugin>
148
149 <plugin>
150 <groupId>org.apache.maven.plugins</groupId>
151 <artifactId>maven-install-plugin</artifactId>
152 <version>2.3</version>
153 <executions>
154 <execution>
155 <id>install-otre-as-maven-artifact</id>
156 <phase>install</phase>
157 <goals>
158 <goal>install-file</goal>
159 </goals>
160 <configuration>
161 <packaging>jar</packaging>
162 <!-- The file to be deployed -->
163 <file>${otre.jar.file}</file>
164 <groupId>${project.groupId}</groupId>
165 <artifactId>objectteams-runtime</artifactId>
166 <version>${otj.version}</version>
167 <packaging>jar</packaging>
168 <pomFile>objectteams-runtime-pom.xml</pomFile>
169 </configuration>
170 </execution>
171 <execution>
172 <id>install-otre-agent-as-maven-artifact</id>
173 <phase>install</phase>
174 <goals>
175 <goal>install-file</goal>
176 </goals>
177 <configuration>
178 <packaging>jar</packaging>
179 <!-- The file to be deployed -->
180 <file>${otre-agent.jar.file}</file>
181 <groupId>${project.groupId}</groupId>
182 <artifactId>objectteams-otre-agent</artifactId>
183 <classifier>nodep</classifier>
184 <version>${otj.version}</version>
185 <packaging>jar</packaging>
186 </configuration>
187 </execution>
188 <execution>
189 <id>install-ecotj-as-maven-artifact</id>
190 <phase>install</phase>
191 <goals>
192 <goal>install-file</goal>
193 </goals>
194 <configuration>
195 <packaging>jar</packaging>
196 <!-- The file to be deployed -->
197 <file>${ecotj.jar.file}</file>
198 <groupId>${project.groupId}</groupId>
199 <artifactId>objectteams-otj-compiler</artifactId>
200 <version>${otj.version}</version>
201 <packaging>jar</packaging>
202 </configuration>
203 </execution>
204 </executions>
205 </plugin>
206 </plugins>
207 </build>
Olaf Ottof4c02132010-10-10 20:39:11 +0000208</project>