blob: 291da021025db8d91e3c1235a9fb7056d3c278b4 [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>
22 <version>0.7.0-SNAPSHOT</version>
23 <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>
94 <module>tests/org.eclipse.mylyn.docs.intent.collab.test</module>
alagarde91bd5f42012-04-19 11:59:40 +020095 <module>tests/org.eclipse.mylyn.docs.intent.client.ui.test</module>
wpiersefaf2c82012-05-31 18:13:14 +020096 <module>tests/org.eclipse.mylyn.docs.intent.client.compiler.test</module>
alagarde7fe7e5e2011-09-30 17:32:05 +020097
Alex Lagarde16f2f912012-07-06 11:50:49 +020098 <!-- Intent examples -->
Alex Lagardec9143892012-07-06 12:54:45 +020099 <module>examples/org.eclipse.mylyn.docs.intent.example.documents</module>
Alex Lagardeb4725f52012-07-05 11:05:23 +0200100 <module>examples/org.eclipse.mylyn.docs.intent.example.cdo.server</module>
alagarde7fe7e5e2011-09-30 17:32:05 +0200101 <module>examples/org.eclipse.mylyn.docs.intent.retro</module>
102 </modules>
alagarde7fe7e5e2011-09-30 17:32:05 +0200103
104 <build>
105 <sourceDirectory>src</sourceDirectory>
106 <plugins>
107 <plugin>
108 <groupId>org.eclipse.tycho</groupId>
109 <artifactId>tycho-maven-plugin</artifactId>
110 <version>${tycho-version}</version>
111 <extensions>true</extensions>
112 </plugin>
113 <plugin>
114 <groupId>org.eclipse.tycho</groupId>
115 <artifactId>target-platform-configuration</artifactId>
116 <version>${tycho-version}</version>
117 <configuration>
118 <resolver>p2</resolver>
alagardec7052b62012-03-16 09:59:13 +0100119 <ignoreTychoRepositories>false</ignoreTychoRepositories>
120
alagarde4dbc9f02012-03-15 10:05:55 +0100121 <environments>
122 <environment>
123 <os>linux</os>
124 <ws>gtk</ws>
125 <arch>x86</arch>
126 </environment>
127 <environment>
128 <os>win32</os>
129 <ws>win32</ws>
130 <arch>x86</arch>
131 </environment>
132 <environment>
133 <os>win32</os>
134 <ws>win32</ws>
135 <arch>x86_64</arch>
136 </environment>
137 <environment>
138 <os>linux</os>
139 <ws>gtk</ws>
140 <arch>x86_64</arch>
141 </environment>
142 <environment>
143 <os>macosx</os>
144 <ws>cocoa</ws>
145 <arch>x86_64</arch>
146 </environment>
147 </environments>
alagarde7fe7e5e2011-09-30 17:32:05 +0200148 </configuration>
149 </plugin>
150 </plugins>
151 <pluginManagement>
152 <plugins>
153 <plugin>
154 <groupId>org.eclipse.tycho</groupId>
155 <artifactId>tycho-compiler-plugin</artifactId>
156 <version>${tycho-version}</version>
157 <configuration>
158 <encoding>UTF-8</encoding>
159 </configuration>
160 </plugin>
161 <!-- enable source bundle generation -->
162 <plugin>
163 <groupId>org.eclipse.tycho</groupId>
164 <artifactId>tycho-source-plugin</artifactId>
165 <version>${tycho-version}</version>
166 <executions>
167 <execution>
168 <id>plugin-source</id>
169 <goals>
170 <goal>plugin-source</goal>
171 </goals>
172 </execution>
173 </executions>
174 </plugin>
175 <plugin>
176 <groupId>org.apache.maven.plugins</groupId>
177 <artifactId>maven-resources-plugin</artifactId>
178 <version>2.4.1</version>
179 <configuration>
180 <encoding>ISO-8859-1</encoding>
181 </configuration>
182 </plugin>
183 <plugin>
184 <groupId>org.apache.maven.plugins</groupId>
185 <artifactId>maven-antrun-plugin</artifactId>
186 <version>1.3</version>
187 </plugin>
188 <plugin>
189 <groupId>org.codehaus.mojo</groupId>
190 <artifactId>findbugs-maven-plugin</artifactId>
191 <version>2.3.2</version>
192 <configuration>
193 <findbugsXmlOutput>true</findbugsXmlOutput>
194 <failOnError>false</failOnError>
195 </configuration>
196 <executions>
197 <execution>
198 <goals>
199 <goal>check</goal>
200 </goals>
201 </execution>
202 </executions>
203 </plugin>
204 <plugin>
205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-pmd-plugin</artifactId>
207 <version>2.5</version>
208 <configuration>
209 <sourceEncoding>utf-8</sourceEncoding>
210 <minimumTokens>100</minimumTokens>
211 <targetJdk>1.5</targetJdk>
212 <format>xml</format>
213 <failOnViolation>false</failOnViolation>
214 </configuration>
215 <executions>
216 <execution>
217 <goals>
218 <goal>cpd-check</goal>
219 </goals>
220 </execution>
221 </executions>
222 </plugin>
223 </plugins>
224 </pluginManagement>
225 </build>
226
227 <profiles>
228 <profile>
229 <id>checkstyle</id>
230 <activation>
231 <activeByDefault>false</activeByDefault>
232 </activation>
233 <build>
234 <plugins>
235 <plugin>
236 <groupId>org.apache.maven.plugins</groupId>
237 <artifactId>maven-checkstyle-plugin</artifactId>
238 <version>2.6</version>
239 <executions>
240 <execution>
241 <id>check my sources</id>
242 <goals>
243 <goal>checkstyle</goal>
244 </goals>
245 <phase>verify</phase>
246 <configuration>
247 <failOnErrors>false</failOnErrors>
248 <consoleOutput>true</consoleOutput>
249 </configuration>
250 </execution>
251 </executions>
252 </plugin>
253 </plugins>
254 </build>
255 </profile>
256
257 <profile>
258 <id>coverage</id>
259 <activation>
260 <activeByDefault>false</activeByDefault>
261 </activation>
262 <modules>
263 <module>org.eclemma.runtime.equinox</module>
264 </modules>
265 </profile>
266 <profile>
267 <id>static-checks</id>
268 <build>
269 <plugins>
270 <plugin>
271 <groupId>org.codehaus.mojo</groupId>
272 <artifactId>findbugs-maven-plugin</artifactId>
273 </plugin>
274 <plugin>
275 <groupId>org.apache.maven.plugins</groupId>
276 <artifactId>maven-pmd-plugin</artifactId>
277 </plugin>
278 </plugins>
279 </build>
280 </profile>
alagardec7052b62012-03-16 09:59:13 +0100281 <profile>
alagarded3906e32012-04-13 14:09:51 +0200282 <id>quality</id>
283 <activation>
284 <activeByDefault>true</activeByDefault>
285 </activation>
286 <properties>
287 <!-- Sonar properties -->
288 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
289 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
290 <!-- Points to the target folder of the global parent project -->
291 <sonar.jacoco.reportPath>../../target/jacoco.exec</sonar.jacoco.reportPath>
292 </properties>
293 <build>
294 <plugins>
295 <plugin>
296 <groupId>org.jacoco</groupId>
297 <artifactId>jacoco-maven-plugin</artifactId>
298 <version>0.5.6.201201232323</version>
299 <executions>
300 <execution>
301 <goals>
302 <goal>prepare-agent</goal>
303 </goals>
304 <configuration>
305 <append>true</append>
306 <destFile>${sonar.jacoco.reportPath}</destFile>
307 </configuration>
308 </execution>
309 </executions>
310 </plugin>
311 </plugins>
312 </build>
313 </profile>
314 <profile>
alagardec7052b62012-03-16 09:59:13 +0100315 <id>juno</id>
316 <activation>
317 <activeByDefault>true</activeByDefault>
318 </activation>
319 <repositories>
320 <repository><id>juno</id><layout>p2</layout>
321 <url>http://download.eclipse.org/releases/juno</url>
alagarde0e7f6552012-03-21 09:46:40 +0100322 </repository>
alagardebc6ab372012-03-16 13:05:12 +0100323 <repository><id>platform</id><layout>p2</layout>
wpiers2fff8e62012-08-30 10:00:41 +0200324 <url>http://download.eclipse.org/eclipse/updates/4.2</url>
alagardec7052b62012-03-16 09:59:13 +0100325 </repository>
alagarde74fae292012-03-21 10:36:11 +0100326 <repository><id>orbit</id><layout>p2</layout>
wpiers2fff8e62012-08-30 10:00:41 +0200327 <url>http://download.eclipse.org/tools/orbit/downloads/drops/updateSite</url>
alagarde74fae292012-03-21 10:36:11 +0100328 </repository>
alagarde91bd5f42012-04-19 11:59:40 +0200329
alagardec7052b62012-03-16 09:59:13 +0100330 </repositories>
331 </profile>
332 </profiles>
alagarde7fe7e5e2011-09-30 17:32:05 +0200333</project>