blob: f91b0a53c7add9207a13cd36779777f4e0609497 [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 <groupId>org.eclipse</groupId>
6 <artifactId>objectteams-parent-pom</artifactId>
7 <version>0.8.0-SNAPSHOT</version>
8 <packaging>pom</packaging>
9
Stephan Herrmannb8651992010-10-18 14:02:33 +000010 <name>Object Teams parent pom</name>
Olaf Ottof4c02132010-10-10 20:39:11 +000011
Stephan Herrmannb8651992010-10-18 14:02:33 +000012 <url>http://download.eclipse.org/objectteams/maven/3/sites/${project.artifactId}</url>
Olaf Ottof4c02132010-10-10 20:39:11 +000013
14 <description>
Stephan Herrmannb8651992010-10-18 14:02:33 +000015 This is the parent pom for Object Teams projects using Maven3.
16 It specifies the core dependencies and configurations for building and
Olaf Ottof4c02132010-10-10 20:39:11 +000017 executing Object Teams code using Maven.
18 </description>
19
20 <licenses>
21 <license>
22 <name>Eclipse Public License Version 1.0</name>
23 <comments>
Stephan Herrmannb8651992010-10-18 14:02:33 +000024 This file is part of "Object Teams Development Tooling"-Software.
Olaf Ottof4c02132010-10-10 20:39:11 +000025
Stephan Herrmannb8651992010-10-18 14:02:33 +000026 Copyright 2010 GK Software AG and others.
Olaf Ottof4c02132010-10-10 20:39:11 +000027 All rights reserved. This program and the accompanying materials
28 are made available under the terms of the Eclipse Public License v1.0
29 which accompanies this distribution, and is available at
30 http://www.eclipse.org/legal/epl-v10.html
31
32 Please visit http://www.eclipse.org/objectteams for updates and contact.
33
34 Contributors:
Stephan Herrmannb8651992010-10-18 14:02:33 +000035 Olaf Otto - Initial concept,
36 Stephan Herrmann - Initial API and implementation.
Olaf Ottof4c02132010-10-10 20:39:11 +000037 </comments>
38 </license>
39 </licenses>
40
Stephan Herrmannb8651992010-10-18 14:02:33 +000041 <organization>
42 <name>Eclipse Object Teams Project</name>
43 <url>http://www.eclipse.org/objectteams</url>
44 </organization>
45
46 <developers>
47 <developer><name>Olaf Otto</name></developer>
48 <developer><name>Stephan Herrmann</name><organization>GK Software AG</organization></developer>
49 </developers>
50
51 <mailingLists>
52 <mailingList><name>Object Teams Forum</name><archive>http://www.eclipse.org/forums/eclipse.objectteams</archive></mailingList>
53 </mailingLists>
54
55 <issueManagement>
56 <system>Bugzilla</system>
57 <url>http://bugs.eclipse.org/</url>
58 </issueManagement>
59
Olaf Ottof4c02132010-10-10 20:39:11 +000060 <repositories>
61 <repository>
62 <id>ObjectTeamsRepository</id>
63 <name>Object Teams Repository</name>
64 <url>http://download.eclipse.org/objectteams/maven/3/repository</url>
65 </repository>
66 </repositories>
67
68
69 <pluginRepositories>
70 <pluginRepository>
71 <id>ObjectTeamsPluginRepository</id>
72 <name>Object Teams Plugin Repository</name>
73 <url>http://download.eclipse.org/objectteams/maven/3/repository</url>
74 </pluginRepository>
75 </pluginRepositories>
76
77
78 <!-- Required property from settings.xml: -->
79 <!-- settings.localRepository path to the local Maven repository. -->
80 <properties>
Stephan Herrmannb8651992010-10-18 14:02:33 +000081 <!-- Repository path of this module within the Object Teams svn: -->
Stephan Herrmanncef99e92010-10-18 16:08:54 +000082 <project-repository-path>trunk/maven/infrastructure/parent-pom</project-repository-path>
Stephan Herrmannb8651992010-10-18 14:02:33 +000083
Olaf Ottof4c02132010-10-10 20:39:11 +000084 <!-- Our Version: -->
85 <otj.version>0.8.0-SNAPSHOT</otj.version>
86
87 <!-- Versions of dependencies: -->
88 <bcel.version>5.2</bcel.version>
89 <tycho.version>0.9.0</tycho.version>
90
91 <!-- Absolut paths for providing startup arguments to the JVM -->
92 <otj.otre.location>${settings.localRepository}/org/eclipse/objectteams-runtime/${otj.version}/objectteams-runtime-${otj.version}.jar</otj.otre.location>
93 <otj.agent.location>${settings.localRepository}/org/eclipse/objectteams-otre-agent/${otj.version}/objectteams-otre-agent-${otj.version}-nodep.jar</otj.agent.location>
94 <otj.bcel.location>${settings.localRepository}/org/apache/bcel/bcel/${bcel.version}/bcel-${bcel.version}.jar</otj.bcel.location>
95
96 <!-- Bootclasspath -->
97 <otj.bootcp.arg>-Xbootclasspath/a:${otj.otre.location}:${otj.bcel.location}:${otj.agent.location}</otj.bootcp.arg>
98 <!-- Object teams JPLIS agent -->
99 <otj.agent.arg>-javaagent:${otj.agent.location}</otj.agent.arg>
100 <!--
101 Default arguments for running OT/J programs.
102 -Dot.debug facilitates (remote) debugging.
103 Xmx / Xms are required for reproducable build results, as ltw uses a
104 significant amount of memory during startup.
105 -->
106 <surefire.argline>${otj.bootcp.arg} ${otj.agent.arg} -Dot.debug -Xms128m -Xmx512m</surefire.argline>
107 </properties>
108
Stephan Herrmannb8651992010-10-18 14:02:33 +0000109 <scm>
Stephan Herrmanncef99e92010-10-18 16:08:54 +0000110 <connection>scm:svn:svn://dev.eclipse.org/svnroot/tools/org.eclipse.objectteams/${project-repository-path}</connection>
111 <developerConnection>scm:svn:svn+ssh://dev.eclipse.org/svnroot/tools/org.eclipse.objectteams/${project-repository-path}</developerConnection>
112 <url>http://dev.eclipse.org/viewcvs/index.cgi/${project-repository-path}?root=TOOLS_OBJECTTEAMS</url>
Stephan Herrmannb8651992010-10-18 14:02:33 +0000113 </scm>
114
115 <reporting>
116 <plugins>
117 <!-- See http://maven.apache.org/plugins/maven-project-info-reports-plugin/ -->
118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-project-info-reports-plugin</artifactId>
121 <version>2.2</version>
122 </plugin>
123 </plugins>
124 </reporting>
125
Olaf Ottof4c02132010-10-10 20:39:11 +0000126 <build>
127 <pluginManagement>
128 <plugins>
129 <plugin>
130 <!--
131 Use compiler plugin with tycho as the adapter to the OT/J compiler.
132 Using java 1.6 language level is recommended, default is 1.3, OT/J needs 1.5 minimum
133 -->
134 <artifactId>maven-compiler-plugin</artifactId>
135 <configuration>
136 <source>1.6</source>
137 <target>1.6</target>
138 <compilerId>jdt</compilerId>
139 </configuration>
140 <dependencies>
141 <!-- compile time only dependencies: -->
Stephan Herrmannb8651992010-10-18 14:02:33 +0000142 <dependency>
Olaf Ottof4c02132010-10-10 20:39:11 +0000143 <groupId>org.sonatype.tycho</groupId>
144 <artifactId>tycho-compiler-jdt</artifactId>
145 <version>${tycho.version}</version>
146 <exclusions>
147 <!-- Exclude the original JDT/Core to be replaced by the OT/J variant: -->
148 <exclusion>
149 <groupId>org.sonatype.tycho</groupId>
150 <artifactId>org.eclipse.jdt.core</artifactId>
151 </exclusion>
152 </exclusions>
Stephan Herrmannb8651992010-10-18 14:02:33 +0000153 </dependency>
Olaf Ottof4c02132010-10-10 20:39:11 +0000154 <dependency>
155 <!-- plug the OT/J compiler into the tycho-compiler-jdt plug-in: -->
156 <groupId>org.eclipse</groupId>
157 <artifactId>objectteams-otj-compiler</artifactId>
158 <version>${otj.version}</version>
Stephan Herrmannb8651992010-10-18 14:02:33 +0000159 </dependency>
Olaf Ottof4c02132010-10-10 20:39:11 +0000160 </dependencies>
161 </plugin>
162 <!-- See http://maven.apache.org/plugins/maven-surefire-plugin/ -->
163 <plugin>
164 <groupId>org.apache.maven.plugins</groupId>
165 <artifactId>maven-surefire-plugin</artifactId>
166 <configuration>
167 <!--
168 The following must be within one line of code, linebreaks will
169 cause surefire execution to fail.
170 -->
171 <argLine>${surefire.argline}</argLine>
172 </configuration>
173 <dependencies>
174 <dependency>
175 <!-- runtime-only dependency: -->
176 <groupId>org.eclipse</groupId>
177 <artifactId>objectteams-otre-agent</artifactId>
178 <classifier>nodep</classifier>
179 <version>${otj.version}</version>
180 </dependency>
181 </dependencies>
182 </plugin>
Stephan Herrmannb8651992010-10-18 14:02:33 +0000183 <!-- ensure new version of this plug-in (maven3-compatible): -->
184 <plugin>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-site-plugin</artifactId>
187 <version>3.0-beta-2</version>
188 </plugin>
Olaf Ottof4c02132010-10-10 20:39:11 +0000189 </plugins>
190 </pluginManagement>
191 <extensions>
192 <extension>
193 <groupId>org.apache.maven.wagon</groupId>
194 <artifactId>wagon-ssh-external</artifactId>
195 <version>1.0-beta-6</version>
196 </extension>
197 </extensions>
198 </build>
199
200 <!-- Required for compiling and running: -->
201 <dependencies>
202 <dependency>
203 <groupId>org.eclipse</groupId>
204 <artifactId>objectteams-runtime</artifactId>
205 <version>${otj.version}</version>
206 <scope>provided</scope>
207 </dependency>
208 </dependencies>
209
210
211 <!-- for deployment of this pom: -->
212 <distributionManagement>
Stephan Herrmannb8651992010-10-18 14:02:33 +0000213 <site>
214 <id>otSiteRepo</id>
215 <name>Object Teams sites repository for Maven 3</name>
216 <url>scpexe://${ot.host}:${ot.maven.repository.basepath}/sites/${project.artifactId}</url>
217 </site>
Olaf Ottof4c02132010-10-10 20:39:11 +0000218 <repository>
219 <id>ObjectTeamsRepository</id>
220 <uniqueVersion>false</uniqueVersion>
221 <name>Public Object Teams distribution repository</name>
222 <!--
223 most values are fed from settings.xml
224 -->
Stephan Herrmannb8651992010-10-18 14:02:33 +0000225 <url>scpexe://${ot.host}:${ot.maven.repository.basepath}/repository</url>
Olaf Ottof4c02132010-10-10 20:39:11 +0000226 <layout>default</layout>
227 </repository>
228 </distributionManagement>
229
230</project>