Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 1 | <?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 Herrmann | 94732cf | 2013-06-23 17:40:20 +0200 | [diff] [blame] | 8 | <version>2.2.0</version> |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 9 | <relativePath>../parent-pom</relativePath> |
| 10 | </parent> |
| 11 | |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 12 | <artifactId>objectteams-artifact-deployer</artifactId> |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 13 | |
| 14 | <packaging>pom</packaging> |
| 15 | |
Stephan Herrmann | c76cb57 | 2010-10-18 14:02:37 +0000 | [diff] [blame] | 16 | <!-- 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 Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 19 | <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 Herrmann | 94732cf | 2013-06-23 17:40:20 +0200 | [diff] [blame] | 27 | Copyright 2010, 2013 GK Software AG and others. |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 28 | 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 Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 36 | Olaf Otto - Initial concept |
Stephan Herrmann | c76cb57 | 2010-10-18 14:02:37 +0000 | [diff] [blame] | 37 | Stephan Herrmann - Initial API and implementation |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 38 | </comments> |
| 39 | </license> |
| 40 | </licenses> |
Stephan Herrmann | 46cee6b | 2011-06-13 09:32:21 +0000 | [diff] [blame] | 41 | |
| 42 | <!-- the follogin properties should be defined by an active profile: --> |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 43 | <!-- 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 Herrmann | 46cee6b | 2011-06-13 09:32:21 +0000 | [diff] [blame] | 47 | <!-- 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 Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 50 | <!-- ecj.export.dir : directory where the batch compiler jar is located --> |
| 51 | |
| 52 | <properties> |
Stephan Herrmann | 46cee6b | 2011-06-13 09:32:21 +0000 | [diff] [blame] | 53 | <!-- Object Teams versions, update manually: --> |
Stephan Herrmann | cac1741 | 2012-07-05 21:36:45 +0200 | [diff] [blame] | 54 | <!-- version of the signed ecotj jar file: --> |
Stephan Herrmann | 94732cf | 2013-06-23 17:40:20 +0200 | [diff] [blame] | 55 | <ecotj.version>R-2.2.0-201306071800-signed</ecotj.version> |
Stephan Herrmann | 46cee6b | 2011-06-13 09:32:21 +0000 | [diff] [blame] | 56 | <!-- version of the org.eclipse.objectteams.runtime plugin: --> |
Stephan Herrmann | 94732cf | 2013-06-23 17:40:20 +0200 | [diff] [blame] | 57 | <otre.version>2.2.0.201305210612</otre.version> |
Stephan Herrmann | 46cee6b | 2011-06-13 09:32:21 +0000 | [diff] [blame] | 58 | |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 59 | <!-- locate the jar files to install/deploy: --> |
Stephan Herrmann | 46cee6b | 2011-06-13 09:32:21 +0000 | [diff] [blame] | 60 | <ecotj.jar.file>${ecj.export.dir}/ecotj-${ecotj.version}.jar</ecotj.jar.file> |
Stephan Herrmann | cac1741 | 2012-07-05 21:36:45 +0200 | [diff] [blame] | 61 | <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 Herrmann | c76cb57 | 2010-10-18 14:02:37 +0000 | [diff] [blame] | 63 | |
Stephan Herrmann | cac1741 | 2012-07-05 21:36:45 +0200 | [diff] [blame] | 64 | <!-- Repository path of this module within the Object Teams git: --> |
| 65 | <project-repository-path>maven/infrastructure/artifacts-deployer</project-repository-path> |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 66 | </properties> |
| 67 | |
Stephan Herrmann | 42cf4d3 | 2010-10-18 16:08:59 +0000 | [diff] [blame] | 68 | <!-- Override inherited declaration, otherwise Maven appends the artifactId to the path --> |
Stephan Herrmann | c76cb57 | 2010-10-18 14:02:37 +0000 | [diff] [blame] | 69 | <scm> |
Stephan Herrmann | cac1741 | 2012-07-05 21:36:45 +0200 | [diff] [blame] | 70 | <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 Herrmann | c76cb57 | 2010-10-18 14:02:37 +0000 | [diff] [blame] | 73 | </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 Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 84 | <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 Herrmann | 42cf4d3 | 2010-10-18 16:08:59 +0000 | [diff] [blame] | 100 | <url>scpexe://${ot.host}:${ot.maven.repository.basepath}/repository</url> |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 101 | <!-- 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 Herrmann | 42cf4d3 | 2010-10-18 16:08:59 +0000 | [diff] [blame] | 118 | <url>scpexe://${ot.host}:${ot.maven.repository.basepath}/repository</url> |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 119 | <!-- 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 Herrmann | 42cf4d3 | 2010-10-18 16:08:59 +0000 | [diff] [blame] | 137 | <url>scpexe://${ot.host}:${ot.maven.repository.basepath}/repository</url> |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 138 | <!-- 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 Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 208 | </project> |