blob: e2fb9e91f701b1f11e57f0656ecb82e94f6ef05f [file] [log] [blame]
alagarde7fe7e5e2011-09-30 17:32:05 +02001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright (C) 2011, Obeo
4
5 All rights reserved. This program and the accompanying materials
6 are made available under the terms of the Eclipse Public License v1.0
7 which accompanies this distribution, and is available at
8 http://www.eclipse.org/legal/epl-v10.html
9-->
10
11<project xmlns="http://maven.apache.org/POM/4.0.0"
12 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
13 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
14 <modelVersion>4.0.0</modelVersion>
15
16 <prerequisites>
17 <maven>3.0</maven>
18 </prerequisites>
19
alagardef77812b2011-11-29 09:39:51 +010020 <groupId>org.eclipse.mylyn.docs.intent-group</groupId>
alagarde7fe7e5e2011-09-30 17:32:05 +020021 <artifactId>intent-parent</artifactId>
Alex Lagarde7274d752012-10-10 11:24:41 +020022 <version>0.8.0-SNAPSHOT</version>
alagarde7fe7e5e2011-09-30 17:32:05 +020023 <packaging>pom</packaging>
24
25 <licenses>
26 <license>
27 <name>Eclipse Public License v1.0</name>
28 <comments>
29 All rights reserved.
30
31 This program and the accompanying materials are made
32 available under the terms of the Eclipse Public License v1.0
33 which accompanies this distribution, and is available at
34 http://www.eclipse.org/legal/epl-v10.htm
35 </comments>
36 </license>
37 </licenses>
38
39 <properties>
alagarde94f31712011-11-28 16:18:25 +010040 <tycho-version>0.13.0</tycho-version>
alagarde7fe7e5e2011-09-30 17:32:05 +020041 </properties>
42
43
44 <modules>
Alex Lagarde16f2f912012-07-06 11:50:49 +020045 <module>plugins/org.eclipse.mylyn.docs.intent</module>
46
47 <!-- Intent Core -->
48 <module>plugins/org.eclipse.mylyn.docs.intent.core</module>
49 <module>plugins/org.eclipse.mylyn.docs.intent.parser</module>
50 <module>plugins/org.eclipse.mylyn.docs.intent.compare</module>
William Piersaba2b0a2012-07-09 11:36:32 +020051 <module>plugins/org.eclipse.mylyn.docs.intent.modelingunit.update</module>
Alex Lagarde16f2f912012-07-06 11:50:49 +020052
53
54 <!-- Intent collab -->
55 <module>plugins/org.eclipse.mylyn.docs.intent.collab</module>
56 <module>plugins/org.eclipse.mylyn.docs.intent.collab.common</module>
57 <module>plugins/org.eclipse.mylyn.docs.intent.collab.ide</module>
58 <module>plugins/org.eclipse.mylyn.docs.intent.collab.cdo</module>
59
60
61 <!-- Intent clients & generic UI -->
alagarde7fe7e5e2011-09-30 17:32:05 +020062 <module>plugins/org.eclipse.mylyn.docs.intent.client.compiler</module>
63 <module>plugins/org.eclipse.mylyn.docs.intent.client.indexer</module>
64 <module>plugins/org.eclipse.mylyn.docs.intent.client.synchronizer</module>
wpiers2fff8e62012-08-30 10:00:41 +020065 <module>plugins/org.eclipse.mylyn.docs.intent.client.linkresolver</module>
alagarde7fe7e5e2011-09-30 17:32:05 +020066 <module>plugins/org.eclipse.mylyn.docs.intent.client.ui</module>
Alex Lagarde16f2f912012-07-06 11:50:49 +020067
68 <!-- Intent Workspace mode specifics-->
69 <module>plugins/org.eclipse.mylyn.docs.intent.client.ui.ide</module>
70
71 <!-- Intent CDO mode specifics -->
72 <module>plugins/org.eclipse.mylyn.docs.intent.client.ui.cdo</module>
73
74 <!-- Intent export -->
alagarde0c750962012-02-29 14:27:40 +010075 <module>plugins/org.eclipse.mylyn.docs.intent.exporter</module>
76 <module>plugins/org.eclipse.mylyn.docs.intent.exporter.ui</module>
alagarde7fe7e5e2011-09-30 17:32:05 +020077
Alex Lagarde16f2f912012-07-06 11:50:49 +020078 <!-- Intent Markup -->
79 <module>plugins/org.eclipse.mylyn.docs.intent.markup</module>
80 <module>plugins/org.eclipse.mylyn.docs.intent.markup.gen</module>
81 <module>plugins/org.eclipse.mylyn.docs.intent.markup.ui</module>
82
83 <!-- Intent features -->
alagarde7fe7e5e2011-09-30 17:32:05 +020084 <module>features/org.eclipse.mylyn.docs.intent.update</module>
85 <module>features/org.eclipse.mylyn.docs.intent-feature</module>
Alex Lagarde16f2f912012-07-06 11:50:49 +020086 <module>features/org.eclipse.mylyn.docs.intent.cdo-feature</module>
87 <module>features/org.eclipse.mylyn.docs.intent.workspace-feature</module>
alagarde7fe7e5e2011-09-30 17:32:05 +020088 <module>features/org.eclipse.mylyn.docs.intent.markup-feature</module>
89 <module>features/org.eclipse.mylyn.docs.intent.retro-feature</module>
alagarde0c750962012-02-29 14:27:40 +010090 <module>features/org.eclipse.mylyn.docs.intent.exporter-feature</module>
alagarde7fe7e5e2011-09-30 17:32:05 +020091
Alex Lagarde16f2f912012-07-06 11:50:49 +020092 <!-- Intent tests -->
alagarde7fe7e5e2011-09-30 17:32:05 +020093 <module>tests/org.eclipse.mylyn.docs.intent.parser.test</module>
wpiers5e6bb072012-09-28 10:08:55 +020094 <module>tests/org.eclipse.mylyn.docs.intent.compare.test</module>
alagarde7fe7e5e2011-09-30 17:32:05 +020095 <module>tests/org.eclipse.mylyn.docs.intent.collab.test</module>
alagarde91bd5f42012-04-19 11:59:40 +020096 <module>tests/org.eclipse.mylyn.docs.intent.client.ui.test</module>
wpiersefaf2c82012-05-31 18:13:14 +020097 <module>tests/org.eclipse.mylyn.docs.intent.client.compiler.test</module>
alagarde7fe7e5e2011-09-30 17:32:05 +020098
Alex Lagarde16f2f912012-07-06 11:50:49 +020099 <!-- Intent examples -->
Alex Lagardec9143892012-07-06 12:54:45 +0200100 <module>examples/org.eclipse.mylyn.docs.intent.example.documents</module>
Alex Lagardeb4725f52012-07-05 11:05:23 +0200101 <module>examples/org.eclipse.mylyn.docs.intent.example.cdo.server</module>
alagarde7fe7e5e2011-09-30 17:32:05 +0200102 <module>examples/org.eclipse.mylyn.docs.intent.retro</module>
103 </modules>
alagarde7fe7e5e2011-09-30 17:32:05 +0200104
105 <build>
106 <sourceDirectory>src</sourceDirectory>
107 <plugins>
108 <plugin>
109 <groupId>org.eclipse.tycho</groupId>
110 <artifactId>tycho-maven-plugin</artifactId>
111 <version>${tycho-version}</version>
112 <extensions>true</extensions>
113 </plugin>
114 <plugin>
115 <groupId>org.eclipse.tycho</groupId>
116 <artifactId>target-platform-configuration</artifactId>
117 <version>${tycho-version}</version>
118 <configuration>
119 <resolver>p2</resolver>
alagardec7052b62012-03-16 09:59:13 +0100120 <ignoreTychoRepositories>false</ignoreTychoRepositories>
121
alagarde4dbc9f02012-03-15 10:05:55 +0100122 <environments>
123 <environment>
124 <os>linux</os>
125 <ws>gtk</ws>
126 <arch>x86</arch>
127 </environment>
128 <environment>
129 <os>win32</os>
130 <ws>win32</ws>
131 <arch>x86</arch>
132 </environment>
133 <environment>
134 <os>win32</os>
135 <ws>win32</ws>
136 <arch>x86_64</arch>
137 </environment>
138 <environment>
139 <os>linux</os>
140 <ws>gtk</ws>
141 <arch>x86_64</arch>
142 </environment>
143 <environment>
144 <os>macosx</os>
145 <ws>cocoa</ws>
146 <arch>x86_64</arch>
147 </environment>
148 </environments>
alagarde7fe7e5e2011-09-30 17:32:05 +0200149 </configuration>
150 </plugin>
151 </plugins>
152 <pluginManagement>
153 <plugins>
154 <plugin>
155 <groupId>org.eclipse.tycho</groupId>
156 <artifactId>tycho-compiler-plugin</artifactId>
157 <version>${tycho-version}</version>
158 <configuration>
159 <encoding>UTF-8</encoding>
160 </configuration>
161 </plugin>
162 <!-- enable source bundle generation -->
163 <plugin>
164 <groupId>org.eclipse.tycho</groupId>
165 <artifactId>tycho-source-plugin</artifactId>
166 <version>${tycho-version}</version>
167 <executions>
168 <execution>
169 <id>plugin-source</id>
170 <goals>
171 <goal>plugin-source</goal>
172 </goals>
173 </execution>
174 </executions>
175 </plugin>
176 <plugin>
177 <groupId>org.apache.maven.plugins</groupId>
178 <artifactId>maven-resources-plugin</artifactId>
179 <version>2.4.1</version>
180 <configuration>
181 <encoding>ISO-8859-1</encoding>
182 </configuration>
183 </plugin>
184 <plugin>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-antrun-plugin</artifactId>
187 <version>1.3</version>
188 </plugin>
189 <plugin>
190 <groupId>org.codehaus.mojo</groupId>
191 <artifactId>findbugs-maven-plugin</artifactId>
192 <version>2.3.2</version>
193 <configuration>
194 <findbugsXmlOutput>true</findbugsXmlOutput>
195 <failOnError>false</failOnError>
196 </configuration>
197 <executions>
198 <execution>
199 <goals>
200 <goal>check</goal>
201 </goals>
202 </execution>
203 </executions>
204 </plugin>
205 <plugin>
206 <groupId>org.apache.maven.plugins</groupId>
207 <artifactId>maven-pmd-plugin</artifactId>
208 <version>2.5</version>
209 <configuration>
210 <sourceEncoding>utf-8</sourceEncoding>
211 <minimumTokens>100</minimumTokens>
212 <targetJdk>1.5</targetJdk>
213 <format>xml</format>
214 <failOnViolation>false</failOnViolation>
215 </configuration>
216 <executions>
217 <execution>
218 <goals>
219 <goal>cpd-check</goal>
220 </goals>
221 </execution>
222 </executions>
223 </plugin>
224 </plugins>
225 </pluginManagement>
226 </build>
227
228 <profiles>
229 <profile>
230 <id>checkstyle</id>
231 <activation>
232 <activeByDefault>false</activeByDefault>
233 </activation>
234 <build>
235 <plugins>
236 <plugin>
237 <groupId>org.apache.maven.plugins</groupId>
238 <artifactId>maven-checkstyle-plugin</artifactId>
239 <version>2.6</version>
240 <executions>
241 <execution>
242 <id>check my sources</id>
243 <goals>
244 <goal>checkstyle</goal>
245 </goals>
246 <phase>verify</phase>
247 <configuration>
248 <failOnErrors>false</failOnErrors>
249 <consoleOutput>true</consoleOutput>
250 </configuration>
251 </execution>
252 </executions>
253 </plugin>
254 </plugins>
255 </build>
256 </profile>
257
258 <profile>
259 <id>coverage</id>
260 <activation>
261 <activeByDefault>false</activeByDefault>
262 </activation>
263 <modules>
264 <module>org.eclemma.runtime.equinox</module>
265 </modules>
266 </profile>
267 <profile>
268 <id>static-checks</id>
269 <build>
270 <plugins>
271 <plugin>
272 <groupId>org.codehaus.mojo</groupId>
273 <artifactId>findbugs-maven-plugin</artifactId>
274 </plugin>
275 <plugin>
276 <groupId>org.apache.maven.plugins</groupId>
277 <artifactId>maven-pmd-plugin</artifactId>
278 </plugin>
279 </plugins>
280 </build>
281 </profile>
alagardec7052b62012-03-16 09:59:13 +0100282 <profile>
alagarded3906e32012-04-13 14:09:51 +0200283 <id>quality</id>
284 <activation>
285 <activeByDefault>true</activeByDefault>
286 </activation>
287 <properties>
288 <!-- Sonar properties -->
289 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
290 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
291 <!-- Points to the target folder of the global parent project -->
292 <sonar.jacoco.reportPath>../../target/jacoco.exec</sonar.jacoco.reportPath>
293 </properties>
294 <build>
295 <plugins>
296 <plugin>
297 <groupId>org.jacoco</groupId>
298 <artifactId>jacoco-maven-plugin</artifactId>
299 <version>0.5.6.201201232323</version>
300 <executions>
301 <execution>
302 <goals>
303 <goal>prepare-agent</goal>
304 </goals>
305 <configuration>
306 <append>true</append>
307 <destFile>${sonar.jacoco.reportPath}</destFile>
308 </configuration>
309 </execution>
310 </executions>
311 </plugin>
312 </plugins>
313 </build>
314 </profile>
315 <profile>
alagardec7052b62012-03-16 09:59:13 +0100316 <id>juno</id>
317 <activation>
318 <activeByDefault>true</activeByDefault>
319 </activation>
320 <repositories>
321 <repository><id>juno</id><layout>p2</layout>
322 <url>http://download.eclipse.org/releases/juno</url>
alagarde0e7f6552012-03-21 09:46:40 +0100323 </repository>
alagardebc6ab372012-03-16 13:05:12 +0100324 <repository><id>platform</id><layout>p2</layout>
wpiers2fff8e62012-08-30 10:00:41 +0200325 <url>http://download.eclipse.org/eclipse/updates/4.2</url>
alagardec7052b62012-03-16 09:59:13 +0100326 </repository>
alagarde74fae292012-03-21 10:36:11 +0100327 <repository><id>orbit</id><layout>p2</layout>
wpiers2fff8e62012-08-30 10:00:41 +0200328 <url>http://download.eclipse.org/tools/orbit/downloads/drops/updateSite</url>
alagarde74fae292012-03-21 10:36:11 +0100329 </repository>
wpiers1fd16c12012-09-27 17:38:58 +0200330 <repository><id>emfcompare2</id><layout>p2</layout>
331 <url>https://hudson.eclipse.org/hudson/view/Modeling/job/emf-compare-master/lastSuccessfulBuild/artifact/packaging/org.eclipse.emf.compare.update/target/repository/</url>
332 </repository>
alagardec7052b62012-03-16 09:59:13 +0100333 </repositories>
334 </profile>
335 </profiles>
alagarde7fe7e5e2011-09-30 17:32:05 +0200336</project>