blob: ad174cbe43d79fcdb65062a1102989a36ec23138 [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>
45 <module>plugins/org.eclipse.mylyn.docs.intent</module>
46 <module>plugins/org.eclipse.mylyn.docs.intent.markup</module>
47 <module>plugins/org.eclipse.mylyn.docs.intent.markup.gen</module>
Fabian Steega880b662011-11-04 14:54:54 +010048 <module>plugins/org.eclipse.mylyn.docs.intent.markup.ui</module>
wpiersc0e81da2012-06-20 10:41:16 +020049 <module>plugins/org.eclipse.mylyn.docs.intent.modelingunit.gen</module>
alagarde7fe7e5e2011-09-30 17:32:05 +020050 <module>plugins/org.eclipse.mylyn.docs.intent.client.compiler</module>
51 <module>plugins/org.eclipse.mylyn.docs.intent.client.indexer</module>
52 <module>plugins/org.eclipse.mylyn.docs.intent.client.synchronizer</module>
53 <module>plugins/org.eclipse.mylyn.docs.intent.client.ui</module>
54 <module>plugins/org.eclipse.mylyn.docs.intent.client.ui.ide</module>
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.compare</module>
59 <module>plugins/org.eclipse.mylyn.docs.intent.core</module>
60 <module>plugins/org.eclipse.mylyn.docs.intent.parser</module>
alagarde0c750962012-02-29 14:27:40 +010061 <module>plugins/org.eclipse.mylyn.docs.intent.exporter</module>
62 <module>plugins/org.eclipse.mylyn.docs.intent.exporter.ui</module>
alagarde7fe7e5e2011-09-30 17:32:05 +020063
64 <module>features/org.eclipse.mylyn.docs.intent.update</module>
65 <module>features/org.eclipse.mylyn.docs.intent-feature</module>
66 <module>features/org.eclipse.mylyn.docs.intent.markup-feature</module>
67 <module>features/org.eclipse.mylyn.docs.intent.retro-feature</module>
alagarde0c750962012-02-29 14:27:40 +010068 <module>features/org.eclipse.mylyn.docs.intent.exporter-feature</module>
alagarde7fe7e5e2011-09-30 17:32:05 +020069
70 <module>tests/org.eclipse.mylyn.docs.intent.parser.test</module>
71 <module>tests/org.eclipse.mylyn.docs.intent.collab.test</module>
alagarde91bd5f42012-04-19 11:59:40 +020072 <module>tests/org.eclipse.mylyn.docs.intent.client.ui.test</module>
wpiersefaf2c82012-05-31 18:13:14 +020073 <module>tests/org.eclipse.mylyn.docs.intent.client.compiler.test</module>
wpiersad3f45f2012-06-20 10:51:21 +020074 <module>tests/org.eclipse.mylyn.docs.intent.modelingunit.gen.test</module>
alagarde7fe7e5e2011-09-30 17:32:05 +020075
76 <module>examples/org.eclipse.mylyn.docs.intent.retro</module>
77 </modules>
alagarde7fe7e5e2011-09-30 17:32:05 +020078
79 <build>
80 <sourceDirectory>src</sourceDirectory>
81 <plugins>
82 <plugin>
83 <groupId>org.eclipse.tycho</groupId>
84 <artifactId>tycho-maven-plugin</artifactId>
85 <version>${tycho-version}</version>
86 <extensions>true</extensions>
87 </plugin>
88 <plugin>
89 <groupId>org.eclipse.tycho</groupId>
90 <artifactId>target-platform-configuration</artifactId>
91 <version>${tycho-version}</version>
92 <configuration>
93 <resolver>p2</resolver>
alagardec7052b62012-03-16 09:59:13 +010094 <ignoreTychoRepositories>false</ignoreTychoRepositories>
95
96 <!--
alagarde7fe7e5e2011-09-30 17:32:05 +020097 <target>
98 <artifact>
alagardef77812b2011-11-29 09:39:51 +010099 <groupId>org.eclipse.mylyn.docs.intent-group</groupId>
alagarde53148e92011-11-29 10:32:29 +0100100 <artifactId>org.eclipse.mylyn.docs.intent</artifactId>
alagarde7fe7e5e2011-09-30 17:32:05 +0200101 <version>0.7.0-SNAPSHOT</version>
alagarde7f818d62012-03-09 16:32:09 +0100102 <classifier>dev/target platform/juno-sdk-4.2</classifier>
alagarde7fe7e5e2011-09-30 17:32:05 +0200103 </artifact>
104 </target>
alagardec7052b62012-03-16 09:59:13 +0100105 -->
alagarde4dbc9f02012-03-15 10:05:55 +0100106 <environments>
107 <environment>
108 <os>linux</os>
109 <ws>gtk</ws>
110 <arch>x86</arch>
111 </environment>
112 <environment>
113 <os>win32</os>
114 <ws>win32</ws>
115 <arch>x86</arch>
116 </environment>
117 <environment>
118 <os>win32</os>
119 <ws>win32</ws>
120 <arch>x86_64</arch>
121 </environment>
122 <environment>
123 <os>linux</os>
124 <ws>gtk</ws>
125 <arch>x86_64</arch>
126 </environment>
127 <environment>
128 <os>macosx</os>
129 <ws>cocoa</ws>
130 <arch>x86_64</arch>
131 </environment>
132 </environments>
alagarde7fe7e5e2011-09-30 17:32:05 +0200133 </configuration>
134 </plugin>
135 </plugins>
136 <pluginManagement>
137 <plugins>
138 <plugin>
139 <groupId>org.eclipse.tycho</groupId>
140 <artifactId>tycho-compiler-plugin</artifactId>
141 <version>${tycho-version}</version>
142 <configuration>
143 <encoding>UTF-8</encoding>
144 </configuration>
145 </plugin>
146 <!-- enable source bundle generation -->
147 <plugin>
148 <groupId>org.eclipse.tycho</groupId>
149 <artifactId>tycho-source-plugin</artifactId>
150 <version>${tycho-version}</version>
151 <executions>
152 <execution>
153 <id>plugin-source</id>
154 <goals>
155 <goal>plugin-source</goal>
156 </goals>
157 </execution>
158 </executions>
159 </plugin>
160 <plugin>
161 <groupId>org.apache.maven.plugins</groupId>
162 <artifactId>maven-resources-plugin</artifactId>
163 <version>2.4.1</version>
164 <configuration>
165 <encoding>ISO-8859-1</encoding>
166 </configuration>
167 </plugin>
168 <plugin>
169 <groupId>org.apache.maven.plugins</groupId>
170 <artifactId>maven-antrun-plugin</artifactId>
171 <version>1.3</version>
172 </plugin>
173 <plugin>
174 <groupId>org.codehaus.mojo</groupId>
175 <artifactId>findbugs-maven-plugin</artifactId>
176 <version>2.3.2</version>
177 <configuration>
178 <findbugsXmlOutput>true</findbugsXmlOutput>
179 <failOnError>false</failOnError>
180 </configuration>
181 <executions>
182 <execution>
183 <goals>
184 <goal>check</goal>
185 </goals>
186 </execution>
187 </executions>
188 </plugin>
189 <plugin>
190 <groupId>org.apache.maven.plugins</groupId>
191 <artifactId>maven-pmd-plugin</artifactId>
192 <version>2.5</version>
193 <configuration>
194 <sourceEncoding>utf-8</sourceEncoding>
195 <minimumTokens>100</minimumTokens>
196 <targetJdk>1.5</targetJdk>
197 <format>xml</format>
198 <failOnViolation>false</failOnViolation>
199 </configuration>
200 <executions>
201 <execution>
202 <goals>
203 <goal>cpd-check</goal>
204 </goals>
205 </execution>
206 </executions>
207 </plugin>
208 </plugins>
209 </pluginManagement>
210 </build>
211
212 <profiles>
213 <profile>
214 <id>checkstyle</id>
215 <activation>
216 <activeByDefault>false</activeByDefault>
217 </activation>
218 <build>
219 <plugins>
220 <plugin>
221 <groupId>org.apache.maven.plugins</groupId>
222 <artifactId>maven-checkstyle-plugin</artifactId>
223 <version>2.6</version>
224 <executions>
225 <execution>
226 <id>check my sources</id>
227 <goals>
228 <goal>checkstyle</goal>
229 </goals>
230 <phase>verify</phase>
231 <configuration>
232 <failOnErrors>false</failOnErrors>
233 <consoleOutput>true</consoleOutput>
234 </configuration>
235 </execution>
236 </executions>
237 </plugin>
238 </plugins>
239 </build>
240 </profile>
241
242 <profile>
243 <id>coverage</id>
244 <activation>
245 <activeByDefault>false</activeByDefault>
246 </activation>
247 <modules>
248 <module>org.eclemma.runtime.equinox</module>
249 </modules>
250 </profile>
251 <profile>
252 <id>static-checks</id>
253 <build>
254 <plugins>
255 <plugin>
256 <groupId>org.codehaus.mojo</groupId>
257 <artifactId>findbugs-maven-plugin</artifactId>
258 </plugin>
259 <plugin>
260 <groupId>org.apache.maven.plugins</groupId>
261 <artifactId>maven-pmd-plugin</artifactId>
262 </plugin>
263 </plugins>
264 </build>
265 </profile>
alagardec7052b62012-03-16 09:59:13 +0100266 <profile>
alagarded3906e32012-04-13 14:09:51 +0200267 <id>quality</id>
268 <activation>
269 <activeByDefault>true</activeByDefault>
270 </activation>
271 <properties>
272 <!-- Sonar properties -->
273 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
274 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
275 <!-- Points to the target folder of the global parent project -->
276 <sonar.jacoco.reportPath>../../target/jacoco.exec</sonar.jacoco.reportPath>
277 </properties>
278 <build>
279 <plugins>
280 <plugin>
281 <groupId>org.jacoco</groupId>
282 <artifactId>jacoco-maven-plugin</artifactId>
283 <version>0.5.6.201201232323</version>
284 <executions>
285 <execution>
286 <goals>
287 <goal>prepare-agent</goal>
288 </goals>
289 <configuration>
290 <append>true</append>
291 <destFile>${sonar.jacoco.reportPath}</destFile>
292 </configuration>
293 </execution>
294 </executions>
295 </plugin>
296 </plugins>
297 </build>
298 </profile>
299 <profile>
alagardec7052b62012-03-16 09:59:13 +0100300 <id>juno</id>
301 <activation>
302 <activeByDefault>true</activeByDefault>
303 </activation>
304 <repositories>
alagarde91bd5f42012-04-19 11:59:40 +0200305 <repository><id>acceleo</id><layout>p2</layout>
306 <url>https://hudson.eclipse.org/hudson/job/m2t-acceleo-master/lastSuccessfulBuild/artifact/Acceleo.p2.repository/</url>
307 </repository>
308 <repository><id>emfcompare</id><layout>p2</layout>
309 <url>http://download.eclipse.org/modeling/emf/compare/updates/milestones/1.3/</url>
310 </repository>
alagardec7052b62012-03-16 09:59:13 +0100311 <repository><id>juno</id><layout>p2</layout>
312 <url>http://download.eclipse.org/releases/juno</url>
alagarde0e7f6552012-03-21 09:46:40 +0100313 </repository>
alagardebc6ab372012-03-16 13:05:12 +0100314 <repository><id>platform</id><layout>p2</layout>
315 <url>http://download.eclipse.org/eclipse/updates/4.2milestones</url>
alagardec7052b62012-03-16 09:59:13 +0100316 </repository>
alagarde74fae292012-03-21 10:36:11 +0100317 <repository><id>orbit</id><layout>p2</layout>
alagarde09e1abd2012-05-29 16:07:36 +0200318 <url>http://download.eclipse.org/tools/orbit/downloads/drops/R20120526062928/repository/</url>
alagarde74fae292012-03-21 10:36:11 +0100319 </repository>
alagarde91bd5f42012-04-19 11:59:40 +0200320
alagardec7052b62012-03-16 09:59:13 +0100321 </repositories>
322 </profile>
323 </profiles>
alagarde7fe7e5e2011-09-30 17:32:05 +0200324</project>