blob: eed9504dc220dc90b56fdb89f740a6bad9036294 [file] [log] [blame]
Cedric Brunba61f5e2011-07-20 16:04:40 +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
20 <groupId>org.eclipse.mylyn.docs.intent</groupId>
21 <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>
40 <tycho-version>0.12.0</tycho-version>
Cedric Brunba61f5e2011-07-20 16:04:40 +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>
48 <module>plugins/org.eclipse.mylyn.docs.intent.client.compiler</module>
49 <module>plugins/org.eclipse.mylyn.docs.intent.client.indexer</module>
50 <module>plugins/org.eclipse.mylyn.docs.intent.client.synchronizer</module>
51 <module>plugins/org.eclipse.mylyn.docs.intent.client.ui</module>
52 <module>plugins/org.eclipse.mylyn.docs.intent.client.ui.cdo</module>
53 <module>plugins/org.eclipse.mylyn.docs.intent.client.ui.ide</module>
54 <module>plugins/org.eclipse.mylyn.docs.intent.collab</module>
55 <module>plugins/org.eclipse.mylyn.docs.intent.collab.cdo</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>
61
62 <module>features/org.eclipse.mylyn.docs.intent.update</module>
63 <module>features/org.eclipse.mylyn.docs.intent.markup-feature</module>
64 <module>features/org.eclipse.mylyn.docs.intent-feature</module>
65
66 <module>tests/org.eclipse.mylyn.docs.intent.parser.test</module>
67 <module>tests/org.eclipse.mylyn.docs.intent.collab.test</module>
wpiers96e76da2011-08-31 15:30:39 +020068 <module>tests/org.eclipse.mylyn.docs.intent.client.ui.test</module>
wpiersc6bd0822011-09-08 17:53:34 +020069
70 <module>examples/org.eclipse.mylyn.docs.intent.retro</module>
Cedric Brunba61f5e2011-07-20 16:04:40 +020071 </modules>
Cedric Brun642d9ea2011-07-21 10:39:36 +020072<!--
Cedric Brunba61f5e2011-07-20 16:04:40 +020073 <repositories>
74 <repository>
Cedric Brunba61f5e2011-07-20 16:04:40 +020075 <id>acceleo</id>
76 <layout>p2</layout>
Cedric Brune27c1072011-07-20 17:26:12 +020077 <url>http://download.eclipse.org/releases/indigo</url>
Cedric Brunba61f5e2011-07-20 16:04:40 +020078 </repository>
79 <repository>
Cedric Brune27c1072011-07-20 17:26:12 +020080 <id>platform</id>
Cedric Brunba61f5e2011-07-20 16:04:40 +020081 <layout>p2</layout>
Cedric Brune27c1072011-07-20 17:26:12 +020082 <url>http://download.eclipse.org/eclipse/updates/3.7</url>
Cedric Brunba61f5e2011-07-20 16:04:40 +020083 </repository>
84 <repository>
85 <id>orbit</id>
86 <layout>p2</layout>
Cedric Brune27c1072011-07-20 17:26:12 +020087 <url>http://download.eclipse.org/tools/orbit/downloads/drops/updateSite</url>
Cedric Brunba61f5e2011-07-20 16:04:40 +020088 </repository>
89 </repositories>
Cedric Brun642d9ea2011-07-21 10:39:36 +020090-->
Cedric Brunba61f5e2011-07-20 16:04:40 +020091
92 <build>
93 <sourceDirectory>src</sourceDirectory>
94 <plugins>
95 <plugin>
96 <groupId>org.eclipse.tycho</groupId>
97 <artifactId>tycho-maven-plugin</artifactId>
98 <version>${tycho-version}</version>
99 <extensions>true</extensions>
100 </plugin>
101 <plugin>
102 <groupId>org.eclipse.tycho</groupId>
103 <artifactId>target-platform-configuration</artifactId>
104 <version>${tycho-version}</version>
105 <configuration>
Cedric Brun642d9ea2011-07-21 10:39:36 +0200106 <resolver>p2</resolver>
107 <ignoreTychoRepositories>true</ignoreTychoRepositories>
108 <target>
109 <artifact>
110 <groupId>org.eclipse.mylyn.docs.intent</groupId>
111 <artifactId>org.eclipse.mylyn.docs.intent</artifactId>
112 <version>0.7.0-SNAPSHOT</version>
113 <classifier>dev/target platform/indigo-sdk</classifier>
114 </artifact>
115 </target>
116<environments>
117<environment>
118<os>linux</os>
119<ws>gtk</ws>
wpiers591c4ea2011-09-01 14:10:54 +0200120<arch>x86_64</arch>
Cedric Brun642d9ea2011-07-21 10:39:36 +0200121</environment>
122<environment>
123<os>win32</os>
124<ws>win32</ws>
125<arch>x86</arch>
126</environment>
127</environments>
Cedric Brunba61f5e2011-07-20 16:04:40 +0200128 </configuration>
129 </plugin>
130 </plugins>
131 <pluginManagement>
132 <plugins>
133 <plugin>
134 <groupId>org.eclipse.tycho</groupId>
135 <artifactId>tycho-compiler-plugin</artifactId>
136 <version>${tycho-version}</version>
137 <configuration>
138 <encoding>UTF-8</encoding>
139 </configuration>
140 </plugin>
141 <!-- enable source bundle generation -->
142 <plugin>
143 <groupId>org.eclipse.tycho</groupId>
144 <artifactId>tycho-source-plugin</artifactId>
145 <version>${tycho-version}</version>
146 <executions>
147 <execution>
148 <id>plugin-source</id>
149 <goals>
150 <goal>plugin-source</goal>
151 </goals>
152 </execution>
153 </executions>
154 </plugin>
155 <plugin>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-resources-plugin</artifactId>
158 <version>2.4.1</version>
159 <configuration>
160 <encoding>ISO-8859-1</encoding>
161 </configuration>
162 </plugin>
163 <plugin>
164 <groupId>org.apache.maven.plugins</groupId>
165 <artifactId>maven-antrun-plugin</artifactId>
166 <version>1.3</version>
167 </plugin>
168 <plugin>
169 <groupId>org.codehaus.mojo</groupId>
170 <artifactId>findbugs-maven-plugin</artifactId>
171 <version>2.3.2</version>
172 <configuration>
173 <findbugsXmlOutput>true</findbugsXmlOutput>
174 <failOnError>false</failOnError>
175 </configuration>
176 <executions>
177 <execution>
178 <goals>
179 <goal>check</goal>
180 </goals>
181 </execution>
182 </executions>
183 </plugin>
184 <plugin>
185 <groupId>org.apache.maven.plugins</groupId>
186 <artifactId>maven-pmd-plugin</artifactId>
187 <version>2.5</version>
188 <configuration>
189 <sourceEncoding>utf-8</sourceEncoding>
190 <minimumTokens>100</minimumTokens>
191 <targetJdk>1.5</targetJdk>
192 <format>xml</format>
193 <failOnViolation>false</failOnViolation>
194 </configuration>
195 <executions>
196 <execution>
197 <goals>
198 <goal>cpd-check</goal>
199 </goals>
200 </execution>
201 </executions>
202 </plugin>
203 </plugins>
204 </pluginManagement>
205 </build>
206
207 <profiles>
Cedric Brunba61f5e2011-07-20 16:04:40 +0200208 <profile>
209 <id>checkstyle</id>
210 <activation>
211 <activeByDefault>false</activeByDefault>
212 </activation>
213 <build>
214 <plugins>
215 <plugin>
216 <groupId>org.apache.maven.plugins</groupId>
217 <artifactId>maven-checkstyle-plugin</artifactId>
218 <version>2.6</version>
219 <executions>
220 <execution>
221 <id>check my sources</id>
222 <goals>
223 <goal>checkstyle</goal>
224 </goals>
225 <phase>verify</phase>
226 <configuration>
227 <failOnErrors>false</failOnErrors>
228 <consoleOutput>true</consoleOutput>
229 </configuration>
230 </execution>
231 </executions>
232 </plugin>
233 </plugins>
234 </build>
235 </profile>
236
237 <profile>
238 <id>coverage</id>
239 <activation>
240 <activeByDefault>false</activeByDefault>
241 </activation>
242 <modules>
243 <module>org.eclemma.runtime.equinox</module>
244 </modules>
245 </profile>
246 <profile>
247 <id>static-checks</id>
248 <build>
249 <plugins>
250 <plugin>
251 <groupId>org.codehaus.mojo</groupId>
252 <artifactId>findbugs-maven-plugin</artifactId>
253 </plugin>
254 <plugin>
255 <groupId>org.apache.maven.plugins</groupId>
256 <artifactId>maven-pmd-plugin</artifactId>
257 </plugin>
258 </plugins>
259 </build>
260 </profile>
261 </profiles>
262
263</project>