Jonathan Dumont | b6a777f | 2015-10-15 15:48:30 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 |
| 5 | http://maven.apache.org/maven-v4_0_0.xsd"> |
| 6 | <modelVersion>4.0.0</modelVersion> |
Jonathan Dumont | b6a777f | 2015-10-15 15:48:30 +0200 | [diff] [blame] | 7 | |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 8 | <!-- PROJECT DESCRIPTION --> |
| 9 | <groupId>org.polarsys.esf</groupId> |
| 10 | <artifactId>esf-infra</artifactId> |
| 11 | <version>0.7.0-SNAPSHOT</version> |
| 12 | <packaging>pom</packaging> |
| 13 | <name>ESF</name> |
| 14 | <description>ESF description.</description> |
| 15 | |
| 16 | <!-- DEVELOPERS --> |
| 17 | <developers> |
| 18 | <developer> |
| 19 | <id>JOD</id> |
| 20 | <name>Jonathan Dumont</name> |
| 21 | <email>jonathan.dumont@all4tec.net</email> |
| 22 | <organization>ALL4TEC</organization> |
| 23 | <organizationUrl>http://www.all4tec.net/</organizationUrl> |
| 24 | <roles> |
| 25 | <role>Project leader</role> |
| 26 | </roles> |
| 27 | <timezone>+1</timezone> |
| 28 | </developer> |
| 29 | |
| 30 | <developer> |
| 31 | <id>YUM</id> |
| 32 | <name>Yupanqui Munoz Julho</name> |
| 33 | <email>yupanqui.munozjulho@cea.fr</email> |
| 34 | <organization>CEA List</organization> |
| 35 | <organizationUrl>www-list.cea.fr/</organizationUrl> |
| 36 | <roles> |
| 37 | <role>Project leader</role> |
| 38 | </roles> |
| 39 | <timezone>+1</timezone> |
| 40 | </developer> |
| 41 | </developers> |
| 42 | |
| 43 | <!-- MODULES --> |
| 44 | <modules> |
| 45 | <module>core</module> |
| 46 | <module>p2</module> |
Ansgar Radermacher | f3cdf3d | 2019-01-11 09:16:58 +0100 | [diff] [blame] | 47 | <!-- don't build RCP (not required, currently not working) --> |
| 48 | <!-- <module>releng</module> --> |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 49 | </modules> |
| 50 | |
| 51 | <!-- REPOSITORIES --> |
| 52 | <repositories> |
| 53 | <repository> |
Ansgar Radermacher | 28721f2 | 2019-01-08 10:16:29 +0100 | [diff] [blame] | 54 | <id>eclipse-2018-12</id> |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 55 | <layout>p2</layout> |
Ansgar Radermacher | 28721f2 | 2019-01-08 10:16:29 +0100 | [diff] [blame] | 56 | <url>http://download.eclipse.org/releases/2018-12</url> |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 57 | </repository> |
| 58 | </repositories> |
Yupanqui Munoz | 85904a4 | 2016-12-13 13:58:35 +0100 | [diff] [blame] | 59 | |
Yupanqui Munoz | f457f05 | 2016-12-13 16:18:25 +0100 | [diff] [blame] | 60 | <pluginRepositories> |
| 61 | <pluginRepository> |
| 62 | <id>org.eclipse.cbi.maven.plugins</id> |
| 63 | <name>Eclipse CBI</name> |
| 64 | <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url> |
| 65 | <releases> |
| 66 | <enabled>true</enabled> |
| 67 | </releases> |
| 68 | <snapshots> |
| 69 | <enabled>false</enabled> |
| 70 | </snapshots> |
| 71 | </pluginRepository> |
| 72 | </pluginRepositories> |
| 73 | |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 74 | <!-- BUILD DEFINITION --> |
| 75 | <build> |
| 76 | <plugins> |
| 77 | |
| 78 | <!-- Tycho plugin --> |
| 79 | <!-- This is the part which modify default packaging to add those specific to Eclipse RCP --> |
| 80 | <plugin> |
| 81 | <groupId>org.eclipse.tycho</groupId> |
| 82 | <artifactId>tycho-maven-plugin</artifactId> |
| 83 | <version>${tycho-version}</version> |
| 84 | <extensions>true</extensions> |
| 85 | </plugin> |
| 86 | |
| 87 | <!-- Tycho target platform configuration --> |
| 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> |
| 94 | <environments> |
| 95 | <environment> |
| 96 | <os>win32</os> |
| 97 | <ws>win32</ws> |
| 98 | <arch>x86_64</arch> |
| 99 | </environment> |
| 100 | </environments> |
| 101 | </configuration> |
| 102 | </plugin> |
| 103 | |
| 104 | <!-- Plugin used to manage the versionning of tycho artifacts --> |
| 105 | <plugin> |
| 106 | <groupId>org.eclipse.tycho</groupId> |
| 107 | <artifactId>tycho-versions-plugin</artifactId> |
| 108 | <version>${tycho-version}</version> |
| 109 | </plugin> |
| 110 | |
Jonathan Dumont | 8ffd5c9 | 2015-12-03 15:49:43 +0100 | [diff] [blame] | 111 | <!-- Plugin used to check the license. --> |
| 112 | <!-- NB: It's not configured to write the licence header automatically. --> |
| 113 | <!-- Usage: mvn licence:check --> |
| 114 | <plugin> |
| 115 | <groupId>com.mycila</groupId> |
| 116 | <artifactId>license-maven-plugin</artifactId> |
| 117 | <version>2.11</version> |
| 118 | <configuration> |
| 119 | <header>${session.executionRootDirectory}/releng/licence/epl.header.txt</header> |
| 120 | <useDefaultExcludes>true</useDefaultExcludes> |
| 121 | <failIfMissing>true</failIfMissing> |
| 122 | <!-- Avoid a strict check as the header comment contains also the contributors. --> |
| 123 | <strictCheck>false</strictCheck> |
| 124 | <aggregate>true</aggregate> |
| 125 | <includes> |
| 126 | <include>**/*.java</include> |
| 127 | </includes> |
| 128 | <excludes> |
| 129 | <exclude>**/src/site/**</exclude> |
| 130 | <exclude>**/target/**</exclude> |
| 131 | </excludes> |
| 132 | <properties> |
Yupanqui Munoz | f9ef8bb | 2016-07-01 13:11:46 +0200 | [diff] [blame] | 133 | <year>2016</year> |
Jonathan Dumont | 8ffd5c9 | 2015-12-03 15:49:43 +0100 | [diff] [blame] | 134 | </properties> |
| 135 | </configuration> |
| 136 | <executions> |
| 137 | <execution> |
| 138 | <phase>process-sources</phase> |
| 139 | <goals> |
| 140 | <goal>check</goal> |
| 141 | </goals> |
| 142 | </execution> |
| 143 | </executions> |
| 144 | </plugin> |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 145 | </plugins> |
| 146 | </build> |
| 147 | |
Jonathan Dumont | f282cf2 | 2015-12-11 15:07:49 +0100 | [diff] [blame] | 148 | <profiles> |
Yupanqui Munoz | 85904a4 | 2016-12-13 13:58:35 +0100 | [diff] [blame] | 149 | <!-- Profile for tasks specific to the build on Eclipse Hudson instance: |
| 150 | - packAndSign: produce a stable update site (Packed & signed). Used for releases (+ milestones) only. |
| 151 | --> |
Jonathan Dumont | f282cf2 | 2015-12-11 15:07:49 +0100 | [diff] [blame] | 152 | <profile> |
Yupanqui Munoz | 85904a4 | 2016-12-13 13:58:35 +0100 | [diff] [blame] | 153 | <id>packAndSign</id> |
Jonathan Dumont | f282cf2 | 2015-12-11 15:07:49 +0100 | [diff] [blame] | 154 | <build> |
Yupanqui Munoz | 85904a4 | 2016-12-13 13:58:35 +0100 | [diff] [blame] | 155 | <pluginManagement> |
| 156 | <plugins> |
| 157 | <plugin> |
| 158 | <groupId>org.eclipse.cbi.maven.plugins</groupId> |
| 159 | <artifactId>eclipse-jarsigner-plugin</artifactId> |
| 160 | <version>${jarsigner-version}</version> |
| 161 | </plugin> |
| 162 | </plugins> |
| 163 | </pluginManagement> |
Jonathan Dumont | f282cf2 | 2015-12-11 15:07:49 +0100 | [diff] [blame] | 164 | <plugins> |
| 165 | |
| 166 | <!-- Plugins configuration to be able to sign the jars built on Eclipse servers --> |
| 167 | <plugin> |
| 168 | <groupId>org.eclipse.tycho.extras</groupId> |
| 169 | <artifactId>tycho-pack200a-plugin</artifactId> |
Jonathan Dumont | 58f71b4 | 2015-12-14 09:27:49 +0100 | [diff] [blame] | 170 | <version>${tycho-version}</version> |
Jonathan Dumont | f282cf2 | 2015-12-11 15:07:49 +0100 | [diff] [blame] | 171 | <executions> |
| 172 | <execution> |
| 173 | <id>pack200-normalize</id> |
| 174 | <goals> |
| 175 | <goal>normalize</goal> |
| 176 | </goals> |
| 177 | </execution> |
| 178 | </executions> |
| 179 | </plugin> |
| 180 | |
| 181 | <plugin> |
| 182 | <groupId>org.eclipse.cbi.maven.plugins</groupId> |
| 183 | <artifactId>eclipse-jarsigner-plugin</artifactId> |
Yupanqui Munoz | 85904a4 | 2016-12-13 13:58:35 +0100 | [diff] [blame] | 184 | <version>${jarsigner-version}</version> |
Jonathan Dumont | f282cf2 | 2015-12-11 15:07:49 +0100 | [diff] [blame] | 185 | <executions> |
| 186 | <execution> |
| 187 | <id>sign</id> |
| 188 | <goals> |
| 189 | <goal>sign</goal> |
| 190 | </goals> |
| 191 | </execution> |
| 192 | </executions> |
| 193 | </plugin> |
| 194 | |
| 195 | <plugin> |
| 196 | <groupId>org.eclipse.tycho.extras</groupId> |
| 197 | <artifactId>tycho-pack200b-plugin</artifactId> |
Jonathan Dumont | 58f71b4 | 2015-12-14 09:27:49 +0100 | [diff] [blame] | 198 | <version>${tycho-version}</version> |
Jonathan Dumont | f282cf2 | 2015-12-11 15:07:49 +0100 | [diff] [blame] | 199 | <executions> |
| 200 | <execution> |
| 201 | <id>pack200-pack</id> |
| 202 | <goals> |
| 203 | <goal>pack</goal> |
| 204 | </goals> |
| 205 | </execution> |
| 206 | </executions> |
| 207 | </plugin> |
| 208 | |
| 209 | <!-- Make sure that Tycho generates its p2 metadata after the JAR has been packed --> |
| 210 | <plugin> |
| 211 | <groupId>org.eclipse.tycho</groupId> |
| 212 | <artifactId>tycho-p2-plugin</artifactId> |
Jonathan Dumont | 58f71b4 | 2015-12-14 09:27:49 +0100 | [diff] [blame] | 213 | <version>${tycho-version}</version> |
Jonathan Dumont | f282cf2 | 2015-12-11 15:07:49 +0100 | [diff] [blame] | 214 | <executions> |
| 215 | <execution> |
| 216 | <id>attach-p2-metadata</id> |
| 217 | <phase>package</phase> |
| 218 | <goals> |
| 219 | <goal>p2-metadata</goal> |
| 220 | </goals> |
| 221 | </execution> |
| 222 | </executions> |
| 223 | <configuration> |
| 224 | <defaultP2Metadata>false</defaultP2Metadata> |
| 225 | </configuration> |
| 226 | </plugin> |
| 227 | |
| 228 | </plugins> |
| 229 | </build> |
Yupanqui Munoz | 85904a4 | 2016-12-13 13:58:35 +0100 | [diff] [blame] | 230 | <activation> |
| 231 | <property> |
| 232 | <name>SIGN</name> |
| 233 | <value>true</value> |
| 234 | </property> |
| 235 | </activation> |
Jonathan Dumont | f282cf2 | 2015-12-11 15:07:49 +0100 | [diff] [blame] | 236 | </profile> |
| 237 | |
| 238 | </profiles> |
| 239 | |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 240 | <!-- PROPERTIES --> |
| 241 | <properties> |
| 242 | <!-- Product version displayed in the title bar, etc. --> |
Jonathan Dumont | b6a777f | 2015-10-15 15:48:30 +0200 | [diff] [blame] | 243 | <product.version>0.7.0</product.version> |
| 244 | |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 245 | <!-- Tycho plugin version --> |
Ansgar Radermacher | f3cdf3d | 2019-01-11 09:16:58 +0100 | [diff] [blame] | 246 | <tycho-version>1.3.0</tycho-version> |
Yupanqui Munoz | 85904a4 | 2016-12-13 13:58:35 +0100 | [diff] [blame] | 247 | |
| 248 | <!-- eclipse-jarsigner plugin version --> |
Yupanqui Munoz | f457f05 | 2016-12-13 16:18:25 +0100 | [diff] [blame] | 249 | <jarsigner-version>1.1.3</jarsigner-version> |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 250 | |
| 251 | <!-- Enforce used of UTF encoding is mandatory. Otherwise, default platform encoding is used, and some issues appears with differents os constructions --> |
| 252 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Jonathan Dumont | baf87c6 | 2015-12-02 21:32:12 +0100 | [diff] [blame] | 253 | |
| 254 | <!-- Sonar properties --> |
Jonathan Dumont | 2cf9dcf | 2015-12-02 21:45:04 +0100 | [diff] [blame] | 255 | <sonar.exclusions>**/src-gen/**/*</sonar.exclusions> |
Jonathan Dumont | baf87c6 | 2015-12-02 21:32:12 +0100 | [diff] [blame] | 256 | <sonar.language>java</sonar.language> |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 257 | </properties> |
| 258 | |
Ansgar Radermacher | 28721f2 | 2019-01-08 10:16:29 +0100 | [diff] [blame] | 259 | </project> |