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> |
Jonathan Dumont | 2e23c3e | 2015-11-23 16:42:30 +0100 | [diff] [blame] | 47 | <module>releng</module> |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 48 | </modules> |
| 49 | |
| 50 | <!-- REPOSITORIES --> |
| 51 | <repositories> |
| 52 | <repository> |
Yupanqui Munoz | e9931b3 | 2016-04-29 15:52:00 +0200 | [diff] [blame] | 53 | <id>eclipse-neon</id> |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 54 | <layout>p2</layout> |
Yupanqui Munoz | e9931b3 | 2016-04-29 15:52:00 +0200 | [diff] [blame] | 55 | <url>http://download.eclipse.org/releases/neon</url> |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 56 | </repository> |
| 57 | </repositories> |
| 58 | |
| 59 | <!-- BUILD DEFINITION --> |
| 60 | <build> |
| 61 | <plugins> |
| 62 | |
| 63 | <!-- Tycho plugin --> |
| 64 | <!-- This is the part which modify default packaging to add those specific to Eclipse RCP --> |
| 65 | <plugin> |
| 66 | <groupId>org.eclipse.tycho</groupId> |
| 67 | <artifactId>tycho-maven-plugin</artifactId> |
| 68 | <version>${tycho-version}</version> |
| 69 | <extensions>true</extensions> |
| 70 | </plugin> |
| 71 | |
| 72 | <!-- Tycho target platform configuration --> |
| 73 | <plugin> |
| 74 | <groupId>org.eclipse.tycho</groupId> |
| 75 | <artifactId>target-platform-configuration</artifactId> |
| 76 | <version>${tycho-version}</version> |
| 77 | <configuration> |
| 78 | <resolver>p2</resolver> |
| 79 | <environments> |
| 80 | <environment> |
| 81 | <os>win32</os> |
| 82 | <ws>win32</ws> |
| 83 | <arch>x86_64</arch> |
| 84 | </environment> |
| 85 | </environments> |
| 86 | </configuration> |
| 87 | </plugin> |
| 88 | |
| 89 | <!-- Plugin used to manage the versionning of tycho artifacts --> |
| 90 | <plugin> |
| 91 | <groupId>org.eclipse.tycho</groupId> |
| 92 | <artifactId>tycho-versions-plugin</artifactId> |
| 93 | <version>${tycho-version}</version> |
| 94 | </plugin> |
| 95 | |
Jonathan Dumont | 8ffd5c9 | 2015-12-03 15:49:43 +0100 | [diff] [blame] | 96 | <!-- Plugin used to check the license. --> |
| 97 | <!-- NB: It's not configured to write the licence header automatically. --> |
| 98 | <!-- Usage: mvn licence:check --> |
| 99 | <plugin> |
| 100 | <groupId>com.mycila</groupId> |
| 101 | <artifactId>license-maven-plugin</artifactId> |
| 102 | <version>2.11</version> |
| 103 | <configuration> |
| 104 | <header>${session.executionRootDirectory}/releng/licence/epl.header.txt</header> |
| 105 | <useDefaultExcludes>true</useDefaultExcludes> |
| 106 | <failIfMissing>true</failIfMissing> |
| 107 | <!-- Avoid a strict check as the header comment contains also the contributors. --> |
| 108 | <strictCheck>false</strictCheck> |
| 109 | <aggregate>true</aggregate> |
| 110 | <includes> |
| 111 | <include>**/*.java</include> |
| 112 | </includes> |
| 113 | <excludes> |
| 114 | <exclude>**/src/site/**</exclude> |
| 115 | <exclude>**/target/**</exclude> |
| 116 | </excludes> |
| 117 | <properties> |
Yupanqui Munoz | f9ef8bb | 2016-07-01 13:11:46 +0200 | [diff] [blame^] | 118 | <year>2016</year> |
Jonathan Dumont | 8ffd5c9 | 2015-12-03 15:49:43 +0100 | [diff] [blame] | 119 | </properties> |
| 120 | </configuration> |
| 121 | <executions> |
| 122 | <execution> |
| 123 | <phase>process-sources</phase> |
| 124 | <goals> |
| 125 | <goal>check</goal> |
| 126 | </goals> |
| 127 | </execution> |
| 128 | </executions> |
| 129 | </plugin> |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 130 | </plugins> |
| 131 | </build> |
| 132 | |
Jonathan Dumont | f282cf2 | 2015-12-11 15:07:49 +0100 | [diff] [blame] | 133 | <profiles> |
| 134 | <!-- Profile for tasks specific to the build on Eclipse Hudson instance --> |
| 135 | <profile> |
| 136 | <id>build-server</id> |
| 137 | <build> |
| 138 | <plugins> |
| 139 | |
| 140 | <!-- Plugins configuration to be able to sign the jars built on Eclipse servers --> |
| 141 | <plugin> |
| 142 | <groupId>org.eclipse.tycho.extras</groupId> |
| 143 | <artifactId>tycho-pack200a-plugin</artifactId> |
Jonathan Dumont | 58f71b4 | 2015-12-14 09:27:49 +0100 | [diff] [blame] | 144 | <version>${tycho-version}</version> |
Jonathan Dumont | f282cf2 | 2015-12-11 15:07:49 +0100 | [diff] [blame] | 145 | <executions> |
| 146 | <execution> |
| 147 | <id>pack200-normalize</id> |
| 148 | <goals> |
| 149 | <goal>normalize</goal> |
| 150 | </goals> |
| 151 | </execution> |
| 152 | </executions> |
| 153 | </plugin> |
| 154 | |
| 155 | <plugin> |
| 156 | <groupId>org.eclipse.cbi.maven.plugins</groupId> |
| 157 | <artifactId>eclipse-jarsigner-plugin</artifactId> |
Jonathan Dumont | 58f71b4 | 2015-12-14 09:27:49 +0100 | [diff] [blame] | 158 | <version>${tycho-version}</version> |
Jonathan Dumont | f282cf2 | 2015-12-11 15:07:49 +0100 | [diff] [blame] | 159 | <executions> |
| 160 | <execution> |
| 161 | <id>sign</id> |
| 162 | <goals> |
| 163 | <goal>sign</goal> |
| 164 | </goals> |
| 165 | </execution> |
| 166 | </executions> |
| 167 | </plugin> |
| 168 | |
| 169 | <plugin> |
| 170 | <groupId>org.eclipse.tycho.extras</groupId> |
| 171 | <artifactId>tycho-pack200b-plugin</artifactId> |
Jonathan Dumont | 58f71b4 | 2015-12-14 09:27:49 +0100 | [diff] [blame] | 172 | <version>${tycho-version}</version> |
Jonathan Dumont | f282cf2 | 2015-12-11 15:07:49 +0100 | [diff] [blame] | 173 | <executions> |
| 174 | <execution> |
| 175 | <id>pack200-pack</id> |
| 176 | <goals> |
| 177 | <goal>pack</goal> |
| 178 | </goals> |
| 179 | </execution> |
| 180 | </executions> |
| 181 | </plugin> |
| 182 | |
| 183 | <!-- Make sure that Tycho generates its p2 metadata after the JAR has been packed --> |
| 184 | <plugin> |
| 185 | <groupId>org.eclipse.tycho</groupId> |
| 186 | <artifactId>tycho-p2-plugin</artifactId> |
Jonathan Dumont | 58f71b4 | 2015-12-14 09:27:49 +0100 | [diff] [blame] | 187 | <version>${tycho-version}</version> |
Jonathan Dumont | f282cf2 | 2015-12-11 15:07:49 +0100 | [diff] [blame] | 188 | <executions> |
| 189 | <execution> |
| 190 | <id>attach-p2-metadata</id> |
| 191 | <phase>package</phase> |
| 192 | <goals> |
| 193 | <goal>p2-metadata</goal> |
| 194 | </goals> |
| 195 | </execution> |
| 196 | </executions> |
| 197 | <configuration> |
| 198 | <defaultP2Metadata>false</defaultP2Metadata> |
| 199 | </configuration> |
| 200 | </plugin> |
| 201 | |
| 202 | </plugins> |
| 203 | </build> |
| 204 | </profile> |
| 205 | |
| 206 | </profiles> |
| 207 | |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 208 | <!-- PROPERTIES --> |
| 209 | <properties> |
| 210 | <!-- Product version displayed in the title bar, etc. --> |
Jonathan Dumont | b6a777f | 2015-10-15 15:48:30 +0200 | [diff] [blame] | 211 | <product.version>0.7.0</product.version> |
| 212 | |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 213 | <!-- Tycho plugin version --> |
Jonathan Dumont | 58f71b4 | 2015-12-14 09:27:49 +0100 | [diff] [blame] | 214 | <tycho-version>0.24.0</tycho-version> |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 215 | |
| 216 | <!-- Enforce used of UTF encoding is mandatory. Otherwise, default platform encoding is used, and some issues appears with differents os constructions --> |
| 217 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
Jonathan Dumont | baf87c6 | 2015-12-02 21:32:12 +0100 | [diff] [blame] | 218 | |
| 219 | <!-- Sonar properties --> |
Jonathan Dumont | 2cf9dcf | 2015-12-02 21:45:04 +0100 | [diff] [blame] | 220 | <sonar.exclusions>**/src-gen/**/*</sonar.exclusions> |
Jonathan Dumont | baf87c6 | 2015-12-02 21:32:12 +0100 | [diff] [blame] | 221 | <sonar.language>java</sonar.language> |
Jonathan Dumont | 27b944b | 2015-11-18 11:15:36 +0100 | [diff] [blame] | 222 | </properties> |
| 223 | |
Jonathan Dumont | b6a777f | 2015-10-15 15:48:30 +0200 | [diff] [blame] | 224 | </project> |