blob: a012a27f13a6ad4eadf3a4ebe12a8f58048bce0e [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 Herrmann5ad6eeb2011-06-13 11:33:08 +00008 <version>2.0.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>
Stephan Herrmann5ad6eeb2011-06-13 11:33:08 +000013 <version>2.0.0-SNAPSHOT</version>
Olaf Ottof4c02132010-10-10 20:39:11 +000014
15 <packaging>pom</packaging>
16
Stephan Herrmannc76cb572010-10-18 14:02:37 +000017 <!-- simply repeat this declaration from the parent pom, otherwise Maven duplicates the artifactId in the path -->
18 <url>http://download.eclipse.org/objectteams/maven/3/sites/${project.artifactId}</url>
19
Olaf Ottof4c02132010-10-10 20:39:11 +000020 <description>This POM deploys Object Teams artifacts not generated by maven as maven artifacts.</description>
21
22 <licenses>
23 <license>
24 <name>Eclipse Public License Version 1.0</name>
25 <comments>
26 This file is part of "Object Teams Development Tooling"-Software
27
Stephan Herrmann46cee6b2011-06-13 09:32:21 +000028 Copyright 2010, 2011 GK Software AG and others.
Olaf Ottof4c02132010-10-10 20:39:11 +000029 All rights reserved. This program and the accompanying materials
30 are made available under the terms of the Eclipse Public License v1.0
31 which accompanies this distribution, and is available at
32 http://www.eclipse.org/legal/epl-v10.html
33
34 Please visit http://www.eclipse.org/objectteams for updates and contact.
35
36 Contributors:
Olaf Ottof4c02132010-10-10 20:39:11 +000037 Olaf Otto - Initial concept
Stephan Herrmannc76cb572010-10-18 14:02:37 +000038 Stephan Herrmann - Initial API and implementation
Olaf Ottof4c02132010-10-10 20:39:11 +000039 </comments>
40 </license>
41 </licenses>
Stephan Herrmann46cee6b2011-06-13 09:32:21 +000042
43 <!-- the follogin properties should be defined by an active profile: -->
Olaf Ottof4c02132010-10-10 20:39:11 +000044 <!-- REMOTE: -->
45 <!-- ot.host : user@host for the object teams repository server -->
46 <!-- ot.maven.repository.path : absolute path to the maven repository on ot.host -->
47 <!-- LOCAL: -->
Stephan Herrmann46cee6b2011-06-13 09:32:21 +000048 <!-- otre.export.dir : directory where exported otre jars are located: -->
49 <!-- org.eclipse.objectteams.runtime_${otre.version}.jar -->
50 <!-- otre_min.jar, otre_agent.jar -->
Olaf Ottof4c02132010-10-10 20:39:11 +000051 <!-- ecj.export.dir : directory where the batch compiler jar is located -->
52
53 <properties>
Stephan Herrmann46cee6b2011-06-13 09:32:21 +000054 <!-- Object Teams versions, update manually: -->
55 <!-- version of the ecotj jar file: -->
56 <ecotj.version>R-2.0.0-201106070718</ecotj.version>
57 <!-- version of the org.eclipse.objectteams.runtime plugin: -->
58 <otre.version>2.0.0.201106070730</otre.version>
59
Olaf Ottof4c02132010-10-10 20:39:11 +000060 <!-- locate the jar files to install/deploy: -->
Stephan Herrmann46cee6b2011-06-13 09:32:21 +000061 <ecotj.jar.file>${ecj.export.dir}/ecotj-${ecotj.version}.jar</ecotj.jar.file>
62 <otre.jar.file>${otre.export.dir}/org.eclipse.objectteams.runtime_${otre.version}.jar</otre.jar.file>
63 <otre-agent.jar.file>${otre.export.dir}/otre_agent.jar</otre-agent.jar.file>
Stephan Herrmannc76cb572010-10-18 14:02:37 +000064
65 <!-- Repository path of this module within the Object Teams svn: -->
Stephan Herrmann42cf4d32010-10-18 16:08:59 +000066 <project-repository-path>trunk/maven/infrastructure/artifacts-deployer</project-repository-path>
Olaf Ottof4c02132010-10-10 20:39:11 +000067 </properties>
68
Stephan Herrmann42cf4d32010-10-18 16:08:59 +000069 <!-- Override inherited declaration, otherwise Maven appends the artifactId to the path -->
Stephan Herrmannc76cb572010-10-18 14:02:37 +000070 <scm>
Stephan Herrmann29a251d2011-06-13 11:26:03 +000071 <connection>scm:svn:svn://dev.eclipse.org/svnroot/tools/org.eclipse.objectteams/tags/mvn-releases/objectteams-artifact-deployer-2.0.0</connection>
Stephan Herrmanna0276802011-06-13 11:31:13 +000072 <developerConnection>scm:svn:svn+ssh://${username}@dev.eclipse.org/svnroot/tools/org.eclipse.objectteams/tags/mvn-releases/objectteams-artifact-deployer-2.0.0</developerConnection>
Stephan Herrmann29a251d2011-06-13 11:26:03 +000073 <url>http://dev.eclipse.org/viewcvs/index.cgi/tags/mvn-releases?root=TOOLS_OBJECTTEAMS/objectteams-artifact-deployer-2.0.0</url>
Stephan Herrmannc76cb572010-10-18 14:02:37 +000074 </scm>
75
76 <!-- simply repeat this declaration from the parent pom, otherwise Maven duplicates the artifactId in the path -->
77 <distributionManagement>
78 <site>
79 <id>otSiteRepo</id>
80 <name>Object Teams sites repository for Maven 3</name>
81 <url>scpexe://${ot.host}:${ot.maven.repository.basepath}/sites/${project.artifactId}</url>
82 </site>
83 </distributionManagement>
84
Olaf Ottof4c02132010-10-10 20:39:11 +000085 <build>
86 <plugins>
87 <plugin>
88 <groupId>org.apache.maven.plugins</groupId>
89 <artifactId>maven-deploy-plugin</artifactId>
90 <version>2.4</version>
91 <executions>
92 <execution>
93 <id>deploy-otre-as-maven-artifact</id>
94 <phase>deploy</phase>
95 <goals>
96 <goal>deploy-file</goal>
97 </goals>
98 <configuration>
99 <repositoryId>otEclipseRepo</repositoryId>
100 <packaging>jar</packaging>
Stephan Herrmann42cf4d32010-10-18 16:08:59 +0000101 <url>scpexe://${ot.host}:${ot.maven.repository.basepath}/repository</url>
Olaf Ottof4c02132010-10-10 20:39:11 +0000102 <!-- The file to be deployed -->
103 <file>${otre.jar.file}</file>
104 <groupId>${project.groupId}</groupId>
105 <artifactId>objectteams-runtime</artifactId>
106 <version>${otj.version}</version>
107 <packaging>jar</packaging>
108 </configuration>
109 </execution>
110 <execution>
111 <id>deploy-otre-agent-as-maven-artifact</id>
112 <phase>deploy</phase>
113 <goals>
114 <goal>deploy-file</goal>
115 </goals>
116 <configuration>
117 <repositoryId>otEclipseRepo</repositoryId>
118 <packaging>jar</packaging>
Stephan Herrmann42cf4d32010-10-18 16:08:59 +0000119 <url>scpexe://${ot.host}:${ot.maven.repository.basepath}/repository</url>
Olaf Ottof4c02132010-10-10 20:39:11 +0000120 <!-- The file to be deployed -->
121 <file>${otre-agent.jar.file}</file>
122 <groupId>${project.groupId}</groupId>
123 <artifactId>objectteams-otre-agent</artifactId>
124 <classifier>nodep</classifier>
125 <version>${otj.version}</version>
126 <packaging>jar</packaging>
127 </configuration>
128 </execution>
129 <execution>
130 <id>deploy-ecotj-as-maven-artifact</id>
131 <phase>deploy</phase>
132 <goals>
133 <goal>deploy-file</goal>
134 </goals>
135 <configuration>
136 <repositoryId>otEclipseRepo</repositoryId>
137 <packaging>jar</packaging>
Stephan Herrmann42cf4d32010-10-18 16:08:59 +0000138 <url>scpexe://${ot.host}:${ot.maven.repository.basepath}/repository</url>
Olaf Ottof4c02132010-10-10 20:39:11 +0000139 <!-- The file to be deployed -->
140 <file>${ecotj.jar.file}</file>
141 <groupId>${project.groupId}</groupId>
142 <artifactId>objectteams-otj-compiler</artifactId>
143 <version>${otj.version}</version>
144 <packaging>jar</packaging>
145 </configuration>
146 </execution>
147 </executions>
148 </plugin>
149
150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-install-plugin</artifactId>
153 <version>2.3</version>
154 <executions>
155 <execution>
156 <id>install-otre-as-maven-artifact</id>
157 <phase>install</phase>
158 <goals>
159 <goal>install-file</goal>
160 </goals>
161 <configuration>
162 <packaging>jar</packaging>
163 <!-- The file to be deployed -->
164 <file>${otre.jar.file}</file>
165 <groupId>${project.groupId}</groupId>
166 <artifactId>objectteams-runtime</artifactId>
167 <version>${otj.version}</version>
168 <packaging>jar</packaging>
169 <pomFile>objectteams-runtime-pom.xml</pomFile>
170 </configuration>
171 </execution>
172 <execution>
173 <id>install-otre-agent-as-maven-artifact</id>
174 <phase>install</phase>
175 <goals>
176 <goal>install-file</goal>
177 </goals>
178 <configuration>
179 <packaging>jar</packaging>
180 <!-- The file to be deployed -->
181 <file>${otre-agent.jar.file}</file>
182 <groupId>${project.groupId}</groupId>
183 <artifactId>objectteams-otre-agent</artifactId>
184 <classifier>nodep</classifier>
185 <version>${otj.version}</version>
186 <packaging>jar</packaging>
187 </configuration>
188 </execution>
189 <execution>
190 <id>install-ecotj-as-maven-artifact</id>
191 <phase>install</phase>
192 <goals>
193 <goal>install-file</goal>
194 </goals>
195 <configuration>
196 <packaging>jar</packaging>
197 <!-- The file to be deployed -->
198 <file>${ecotj.jar.file}</file>
199 <groupId>${project.groupId}</groupId>
200 <artifactId>objectteams-otj-compiler</artifactId>
201 <version>${otj.version}</version>
202 <packaging>jar</packaging>
203 </configuration>
204 </execution>
205 </executions>
206 </plugin>
207 </plugins>
208 </build>
Olaf Ottof4c02132010-10-10 20:39:11 +0000209</project>