blob: f3e02809d043bbe048377c46bf578eb94466abb3 [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>
65 <module>plugins/org.eclipse.mylyn.docs.intent.client.ui</module>
Alex Lagarde16f2f912012-07-06 11:50:49 +020066
67 <!-- Intent Workspace mode specifics-->
68 <module>plugins/org.eclipse.mylyn.docs.intent.client.ui.ide</module>
69
70 <!-- Intent CDO mode specifics -->
71 <module>plugins/org.eclipse.mylyn.docs.intent.client.ui.cdo</module>
72
73 <!-- Intent export -->
alagarde0c750962012-02-29 14:27:40 +010074 <module>plugins/org.eclipse.mylyn.docs.intent.exporter</module>
75 <module>plugins/org.eclipse.mylyn.docs.intent.exporter.ui</module>
alagarde7fe7e5e2011-09-30 17:32:05 +020076
Alex Lagarde16f2f912012-07-06 11:50:49 +020077 <!-- Intent Markup -->
78 <module>plugins/org.eclipse.mylyn.docs.intent.markup</module>
79 <module>plugins/org.eclipse.mylyn.docs.intent.markup.gen</module>
80 <module>plugins/org.eclipse.mylyn.docs.intent.markup.ui</module>
81
82 <!-- Intent features -->
alagarde7fe7e5e2011-09-30 17:32:05 +020083 <module>features/org.eclipse.mylyn.docs.intent.update</module>
84 <module>features/org.eclipse.mylyn.docs.intent-feature</module>
Alex Lagarde16f2f912012-07-06 11:50:49 +020085 <module>features/org.eclipse.mylyn.docs.intent.cdo-feature</module>
86 <module>features/org.eclipse.mylyn.docs.intent.workspace-feature</module>
alagarde7fe7e5e2011-09-30 17:32:05 +020087 <module>features/org.eclipse.mylyn.docs.intent.markup-feature</module>
88 <module>features/org.eclipse.mylyn.docs.intent.retro-feature</module>
alagarde0c750962012-02-29 14:27:40 +010089 <module>features/org.eclipse.mylyn.docs.intent.exporter-feature</module>
alagarde7fe7e5e2011-09-30 17:32:05 +020090
Alex Lagarde16f2f912012-07-06 11:50:49 +020091 <!-- Intent tests -->
alagarde7fe7e5e2011-09-30 17:32:05 +020092 <module>tests/org.eclipse.mylyn.docs.intent.parser.test</module>
93 <module>tests/org.eclipse.mylyn.docs.intent.collab.test</module>
alagarde91bd5f42012-04-19 11:59:40 +020094 <module>tests/org.eclipse.mylyn.docs.intent.client.ui.test</module>
wpiersefaf2c82012-05-31 18:13:14 +020095 <module>tests/org.eclipse.mylyn.docs.intent.client.compiler.test</module>
alagarde7fe7e5e2011-09-30 17:32:05 +020096
Alex Lagarde16f2f912012-07-06 11:50:49 +020097 <!-- Intent examples -->
Alex Lagardec9143892012-07-06 12:54:45 +020098 <module>examples/org.eclipse.mylyn.docs.intent.example.documents</module>
Alex Lagardeb4725f52012-07-05 11:05:23 +020099 <module>examples/org.eclipse.mylyn.docs.intent.example.cdo.server</module>
alagarde7fe7e5e2011-09-30 17:32:05 +0200100 <module>examples/org.eclipse.mylyn.docs.intent.retro</module>
101 </modules>
alagarde7fe7e5e2011-09-30 17:32:05 +0200102
103 <build>
104 <sourceDirectory>src</sourceDirectory>
105 <plugins>
106 <plugin>
107 <groupId>org.eclipse.tycho</groupId>
108 <artifactId>tycho-maven-plugin</artifactId>
109 <version>${tycho-version}</version>
110 <extensions>true</extensions>
111 </plugin>
112 <plugin>
113 <groupId>org.eclipse.tycho</groupId>
114 <artifactId>target-platform-configuration</artifactId>
115 <version>${tycho-version}</version>
116 <configuration>
117 <resolver>p2</resolver>
alagardec7052b62012-03-16 09:59:13 +0100118 <ignoreTychoRepositories>false</ignoreTychoRepositories>
119
120 <!--
alagarde7fe7e5e2011-09-30 17:32:05 +0200121 <target>
122 <artifact>
alagardef77812b2011-11-29 09:39:51 +0100123 <groupId>org.eclipse.mylyn.docs.intent-group</groupId>
alagarde53148e92011-11-29 10:32:29 +0100124 <artifactId>org.eclipse.mylyn.docs.intent</artifactId>
alagarde7fe7e5e2011-09-30 17:32:05 +0200125 <version>0.7.0-SNAPSHOT</version>
alagarde7f818d62012-03-09 16:32:09 +0100126 <classifier>dev/target platform/juno-sdk-4.2</classifier>
alagarde7fe7e5e2011-09-30 17:32:05 +0200127 </artifact>
128 </target>
alagardec7052b62012-03-16 09:59:13 +0100129 -->
alagarde4dbc9f02012-03-15 10:05:55 +0100130 <environments>
131 <environment>
132 <os>linux</os>
133 <ws>gtk</ws>
134 <arch>x86</arch>
135 </environment>
136 <environment>
137 <os>win32</os>
138 <ws>win32</ws>
139 <arch>x86</arch>
140 </environment>
141 <environment>
142 <os>win32</os>
143 <ws>win32</ws>
144 <arch>x86_64</arch>
145 </environment>
146 <environment>
147 <os>linux</os>
148 <ws>gtk</ws>
149 <arch>x86_64</arch>
150 </environment>
151 <environment>
152 <os>macosx</os>
153 <ws>cocoa</ws>
154 <arch>x86_64</arch>
155 </environment>
156 </environments>
alagarde7fe7e5e2011-09-30 17:32:05 +0200157 </configuration>
158 </plugin>
159 </plugins>
160 <pluginManagement>
161 <plugins>
162 <plugin>
163 <groupId>org.eclipse.tycho</groupId>
164 <artifactId>tycho-compiler-plugin</artifactId>
165 <version>${tycho-version}</version>
166 <configuration>
167 <encoding>UTF-8</encoding>
168 </configuration>
169 </plugin>
170 <!-- enable source bundle generation -->
171 <plugin>
172 <groupId>org.eclipse.tycho</groupId>
173 <artifactId>tycho-source-plugin</artifactId>
174 <version>${tycho-version}</version>
175 <executions>
176 <execution>
177 <id>plugin-source</id>
178 <goals>
179 <goal>plugin-source</goal>
180 </goals>
181 </execution>
182 </executions>
183 </plugin>
184 <plugin>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-resources-plugin</artifactId>
187 <version>2.4.1</version>
188 <configuration>
189 <encoding>ISO-8859-1</encoding>
190 </configuration>
191 </plugin>
192 <plugin>
193 <groupId>org.apache.maven.plugins</groupId>
194 <artifactId>maven-antrun-plugin</artifactId>
195 <version>1.3</version>
196 </plugin>
197 <plugin>
198 <groupId>org.codehaus.mojo</groupId>
199 <artifactId>findbugs-maven-plugin</artifactId>
200 <version>2.3.2</version>
201 <configuration>
202 <findbugsXmlOutput>true</findbugsXmlOutput>
203 <failOnError>false</failOnError>
204 </configuration>
205 <executions>
206 <execution>
207 <goals>
208 <goal>check</goal>
209 </goals>
210 </execution>
211 </executions>
212 </plugin>
213 <plugin>
214 <groupId>org.apache.maven.plugins</groupId>
215 <artifactId>maven-pmd-plugin</artifactId>
216 <version>2.5</version>
217 <configuration>
218 <sourceEncoding>utf-8</sourceEncoding>
219 <minimumTokens>100</minimumTokens>
220 <targetJdk>1.5</targetJdk>
221 <format>xml</format>
222 <failOnViolation>false</failOnViolation>
223 </configuration>
224 <executions>
225 <execution>
226 <goals>
227 <goal>cpd-check</goal>
228 </goals>
229 </execution>
230 </executions>
231 </plugin>
232 </plugins>
233 </pluginManagement>
234 </build>
235
236 <profiles>
237 <profile>
238 <id>checkstyle</id>
239 <activation>
240 <activeByDefault>false</activeByDefault>
241 </activation>
242 <build>
243 <plugins>
244 <plugin>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-checkstyle-plugin</artifactId>
247 <version>2.6</version>
248 <executions>
249 <execution>
250 <id>check my sources</id>
251 <goals>
252 <goal>checkstyle</goal>
253 </goals>
254 <phase>verify</phase>
255 <configuration>
256 <failOnErrors>false</failOnErrors>
257 <consoleOutput>true</consoleOutput>
258 </configuration>
259 </execution>
260 </executions>
261 </plugin>
262 </plugins>
263 </build>
264 </profile>
265
266 <profile>
267 <id>coverage</id>
268 <activation>
269 <activeByDefault>false</activeByDefault>
270 </activation>
271 <modules>
272 <module>org.eclemma.runtime.equinox</module>
273 </modules>
274 </profile>
275 <profile>
276 <id>static-checks</id>
277 <build>
278 <plugins>
279 <plugin>
280 <groupId>org.codehaus.mojo</groupId>
281 <artifactId>findbugs-maven-plugin</artifactId>
282 </plugin>
283 <plugin>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-pmd-plugin</artifactId>
286 </plugin>
287 </plugins>
288 </build>
289 </profile>
alagardec7052b62012-03-16 09:59:13 +0100290 <profile>
alagarded3906e32012-04-13 14:09:51 +0200291 <id>quality</id>
292 <activation>
293 <activeByDefault>true</activeByDefault>
294 </activation>
295 <properties>
296 <!-- Sonar properties -->
297 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
298 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
299 <!-- Points to the target folder of the global parent project -->
300 <sonar.jacoco.reportPath>../../target/jacoco.exec</sonar.jacoco.reportPath>
301 </properties>
302 <build>
303 <plugins>
304 <plugin>
305 <groupId>org.jacoco</groupId>
306 <artifactId>jacoco-maven-plugin</artifactId>
307 <version>0.5.6.201201232323</version>
308 <executions>
309 <execution>
310 <goals>
311 <goal>prepare-agent</goal>
312 </goals>
313 <configuration>
314 <append>true</append>
315 <destFile>${sonar.jacoco.reportPath}</destFile>
316 </configuration>
317 </execution>
318 </executions>
319 </plugin>
320 </plugins>
321 </build>
322 </profile>
323 <profile>
alagardec7052b62012-03-16 09:59:13 +0100324 <id>juno</id>
325 <activation>
326 <activeByDefault>true</activeByDefault>
327 </activation>
328 <repositories>
alagarde91bd5f42012-04-19 11:59:40 +0200329 <repository><id>acceleo</id><layout>p2</layout>
330 <url>https://hudson.eclipse.org/hudson/job/m2t-acceleo-master/lastSuccessfulBuild/artifact/Acceleo.p2.repository/</url>
331 </repository>
332 <repository><id>emfcompare</id><layout>p2</layout>
333 <url>http://download.eclipse.org/modeling/emf/compare/updates/milestones/1.3/</url>
334 </repository>
alagardec7052b62012-03-16 09:59:13 +0100335 <repository><id>juno</id><layout>p2</layout>
336 <url>http://download.eclipse.org/releases/juno</url>
alagarde0e7f6552012-03-21 09:46:40 +0100337 </repository>
alagardebc6ab372012-03-16 13:05:12 +0100338 <repository><id>platform</id><layout>p2</layout>
339 <url>http://download.eclipse.org/eclipse/updates/4.2milestones</url>
alagardec7052b62012-03-16 09:59:13 +0100340 </repository>
alagarde74fae292012-03-21 10:36:11 +0100341 <repository><id>orbit</id><layout>p2</layout>
alagarde09e1abd2012-05-29 16:07:36 +0200342 <url>http://download.eclipse.org/tools/orbit/downloads/drops/R20120526062928/repository/</url>
alagarde74fae292012-03-21 10:36:11 +0100343 </repository>
alagarde91bd5f42012-04-19 11:59:40 +0200344
alagardec7052b62012-03-16 09:59:13 +0100345 </repositories>
346 </profile>
347 </profiles>
alagarde7fe7e5e2011-09-30 17:32:05 +0200348</project>