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 | 5ad6eeb | 2011-06-13 11:33:08 +0000 | [diff] [blame^] | 8 | <version>2.0.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> |
Stephan Herrmann | 5ad6eeb | 2011-06-13 11:33:08 +0000 | [diff] [blame^] | 13 | <version>2.0.0-SNAPSHOT</version> |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 14 | |
| 15 | <packaging>pom</packaging> |
| 16 | |
Stephan Herrmann | c76cb57 | 2010-10-18 14:02:37 +0000 | [diff] [blame] | 17 | <!-- 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 Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 20 | <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 Herrmann | 46cee6b | 2011-06-13 09:32:21 +0000 | [diff] [blame] | 28 | Copyright 2010, 2011 GK Software AG and others. |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 29 | 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 Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 37 | Olaf Otto - Initial concept |
Stephan Herrmann | c76cb57 | 2010-10-18 14:02:37 +0000 | [diff] [blame] | 38 | Stephan Herrmann - Initial API and implementation |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 39 | </comments> |
| 40 | </license> |
| 41 | </licenses> |
Stephan Herrmann | 46cee6b | 2011-06-13 09:32:21 +0000 | [diff] [blame] | 42 | |
| 43 | <!-- the follogin properties should be defined by an active profile: --> |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 44 | <!-- 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 Herrmann | 46cee6b | 2011-06-13 09:32:21 +0000 | [diff] [blame] | 48 | <!-- 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 Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 51 | <!-- ecj.export.dir : directory where the batch compiler jar is located --> |
| 52 | |
| 53 | <properties> |
Stephan Herrmann | 46cee6b | 2011-06-13 09:32:21 +0000 | [diff] [blame] | 54 | <!-- 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 Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 60 | <!-- locate the jar files to install/deploy: --> |
Stephan Herrmann | 46cee6b | 2011-06-13 09:32:21 +0000 | [diff] [blame] | 61 | <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 Herrmann | c76cb57 | 2010-10-18 14:02:37 +0000 | [diff] [blame] | 64 | |
| 65 | <!-- Repository path of this module within the Object Teams svn: --> |
Stephan Herrmann | 42cf4d3 | 2010-10-18 16:08:59 +0000 | [diff] [blame] | 66 | <project-repository-path>trunk/maven/infrastructure/artifacts-deployer</project-repository-path> |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 67 | </properties> |
| 68 | |
Stephan Herrmann | 42cf4d3 | 2010-10-18 16:08:59 +0000 | [diff] [blame] | 69 | <!-- Override inherited declaration, otherwise Maven appends the artifactId to the path --> |
Stephan Herrmann | c76cb57 | 2010-10-18 14:02:37 +0000 | [diff] [blame] | 70 | <scm> |
Stephan Herrmann | 29a251d | 2011-06-13 11:26:03 +0000 | [diff] [blame] | 71 | <connection>scm:svn:svn://dev.eclipse.org/svnroot/tools/org.eclipse.objectteams/tags/mvn-releases/objectteams-artifact-deployer-2.0.0</connection> |
Stephan Herrmann | a027680 | 2011-06-13 11:31:13 +0000 | [diff] [blame] | 72 | <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 Herrmann | 29a251d | 2011-06-13 11:26:03 +0000 | [diff] [blame] | 73 | <url>http://dev.eclipse.org/viewcvs/index.cgi/tags/mvn-releases?root=TOOLS_OBJECTTEAMS/objectteams-artifact-deployer-2.0.0</url> |
Stephan Herrmann | c76cb57 | 2010-10-18 14:02:37 +0000 | [diff] [blame] | 74 | </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 Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 85 | <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 Herrmann | 42cf4d3 | 2010-10-18 16:08:59 +0000 | [diff] [blame] | 101 | <url>scpexe://${ot.host}:${ot.maven.repository.basepath}/repository</url> |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 102 | <!-- 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 Herrmann | 42cf4d3 | 2010-10-18 16:08:59 +0000 | [diff] [blame] | 119 | <url>scpexe://${ot.host}:${ot.maven.repository.basepath}/repository</url> |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 120 | <!-- 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 Herrmann | 42cf4d3 | 2010-10-18 16:08:59 +0000 | [diff] [blame] | 138 | <url>scpexe://${ot.host}:${ot.maven.repository.basepath}/repository</url> |
Olaf Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 139 | <!-- 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 Otto | f4c0213 | 2010-10-10 20:39:11 +0000 | [diff] [blame] | 209 | </project> |