1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 Copyright (C) 2009, 2015, Matthias Sohn <matthias.sohn@sap.com> and others 4 5 This program and the accompanying materials are made available under the 6 terms of the Eclipse Distribution License v. 1.0 which is available at 7 http://www.eclipse.org/org/documents/edl-v10.php. 8 9 SPDX-License-Identifier: BSD-3-Clause 10--> 11 12<project xmlns="http://maven.apache.org/POM/4.0.0" 13 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 14 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 15 <modelVersion>4.0.0</modelVersion> 16 17 <groupId>org.eclipse.jgit</groupId> 18 <artifactId>jgit.tycho.parent</artifactId> 19 <version>5.13.0-SNAPSHOT</version> 20 <packaging>pom</packaging> 21 22 <name>JGit Tycho Parent</name> 23 24 <properties> 25 <tycho-version>1.7.0</tycho-version> 26 <tycho-extras-version>${tycho-version}</tycho-extras-version> 27 <target-platform>jgit-4.6</target-platform> 28 </properties> 29 30 <pluginRepositories> 31 <pluginRepository> 32 <id>repo.eclipse.org.cbi-releases</id> 33 <url>https://repo.eclipse.org/content/repositories/cbi-releases/</url> 34 </pluginRepository> 35 <pluginRepository> 36 <id>repo.eclipse.org.cbi-snapshots</id> 37 <url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</url> 38 </pluginRepository> 39 </pluginRepositories> 40 41 <modules> 42 <module>org.eclipse.jgit.target</module> 43 <module>org.eclipse.jgit.feature</module> 44 <module>org.eclipse.jgit.gpg.bc.feature</module> 45 <module>org.eclipse.jgit.http.apache.feature</module> 46 <module>org.eclipse.jgit.ssh.apache.feature</module> 47 <module>org.eclipse.jgit.ssh.jsch.feature</module> 48 <module>org.eclipse.jgit.lfs.feature</module> 49 <module>org.eclipse.jgit.pgm.feature</module> 50 <module>org.eclipse.jgit.source.feature</module> 51 <module>org.eclipse.jgit.junit.feature</module> 52 <module>org.eclipse.jgit.repository</module> 53 </modules> 54 55 <distributionManagement> 56 <repository> 57 <id>repo.eclipse.org</id> 58 <name>JGit Maven Repository - Releases</name> 59 <url>https://repo.eclipse.org/content/repositories/jgit-releases/</url> 60 </repository> 61 <snapshotRepository> 62 <id>repo.eclipse.org</id> 63 <name>JGit Maven Repository - Snapshots</name> 64 <url>https://repo.eclipse.org/content/repositories/jgit-snapshots/</url> 65 <uniqueVersion>true</uniqueVersion> 66 </snapshotRepository> 67 </distributionManagement> 68 69 <dependencies> 70 <!-- sources artifacts so that we can place them in the features --> 71 <dependency> 72 <groupId>org.eclipse.jgit</groupId> 73 <artifactId>org.eclipse.jgit</artifactId> 74 <version>${project.version}</version> 75 <classifier>sources</classifier> 76 </dependency> 77 <dependency> 78 <groupId>org.eclipse.jgit</groupId> 79 <artifactId>org.eclipse.jgit.ant</artifactId> 80 <version>${project.version}</version> 81 <classifier>sources</classifier> 82 </dependency> 83 <dependency> 84 <groupId>org.eclipse.jgit</groupId> 85 <artifactId>org.eclipse.jgit.archive</artifactId> 86 <version>${project.version}</version> 87 <classifier>sources</classifier> 88 </dependency> 89 <dependency> 90 <groupId>org.eclipse.jgit</groupId> 91 <artifactId>org.eclipse.jgit.gpg.bc</artifactId> 92 <version>${project.version}</version> 93 <classifier>sources</classifier> 94 </dependency> 95 <dependency> 96 <groupId>org.eclipse.jgit</groupId> 97 <artifactId>org.eclipse.jgit.http.apache</artifactId> 98 <version>${project.version}</version> 99 <classifier>sources</classifier> 100 </dependency> 101 <dependency> 102 <groupId>org.eclipse.jgit</groupId> 103 <artifactId>org.eclipse.jgit.http.server</artifactId> 104 <version>${project.version}</version> 105 <classifier>sources</classifier> 106 </dependency> 107 <dependency> 108 <groupId>org.eclipse.jgit</groupId> 109 <artifactId>org.eclipse.jgit.junit</artifactId> 110 <version>${project.version}</version> 111 <classifier>sources</classifier> 112 </dependency> 113 <dependency> 114 <groupId>org.eclipse.jgit</groupId> 115 <artifactId>org.eclipse.jgit.junit.http</artifactId> 116 <version>${project.version}</version> 117 <classifier>sources</classifier> 118 </dependency> 119 <dependency> 120 <groupId>org.eclipse.jgit</groupId> 121 <artifactId>org.eclipse.jgit.junit.ssh</artifactId> 122 <version>${project.version}</version> 123 <classifier>sources</classifier> 124 </dependency> 125 <dependency> 126 <groupId>org.eclipse.jgit</groupId> 127 <artifactId>org.eclipse.jgit.lfs</artifactId> 128 <version>${project.version}</version> 129 <classifier>sources</classifier> 130 </dependency> 131 <dependency> 132 <groupId>org.eclipse.jgit</groupId> 133 <artifactId>org.eclipse.jgit.lfs.server</artifactId> 134 <version>${project.version}</version> 135 <classifier>sources</classifier> 136 </dependency> 137 <dependency> 138 <groupId>org.eclipse.jgit</groupId> 139 <artifactId>org.eclipse.jgit.pgm</artifactId> 140 <version>${project.version}</version> 141 <classifier>sources</classifier> 142 </dependency> 143 <dependency> 144 <groupId>org.eclipse.jgit</groupId> 145 <artifactId>org.eclipse.jgit.ssh.apache</artifactId> 146 <version>${project.version}</version> 147 <classifier>sources</classifier> 148 </dependency> 149 <dependency> 150 <groupId>org.eclipse.jgit</groupId> 151 <artifactId>org.eclipse.jgit.ssh.jsch</artifactId> 152 <version>${project.version}</version> 153 <classifier>sources</classifier> 154 </dependency> 155 <dependency> 156 <groupId>org.eclipse.jgit</groupId> 157 <artifactId>org.eclipse.jgit.ui</artifactId> 158 <version>${project.version}</version> 159 <classifier>sources</classifier> 160 </dependency> 161 </dependencies> 162 163 <build> 164 <plugins> 165 <plugin> 166 <groupId>org.apache.maven.plugins</groupId> 167 <artifactId>maven-enforcer-plugin</artifactId> 168 <version>3.0.0-M3</version> 169 <executions> 170 <execution> 171 <id>enforce-maven</id> 172 <goals> 173 <goal>enforce</goal> 174 </goals> 175 <configuration> 176 <rules> 177 <requireMavenVersion> 178 <version>3.6.3</version> 179 </requireMavenVersion> 180 </rules> 181 </configuration> 182 </execution> 183 </executions> 184 </plugin> 185 <plugin> 186 <groupId>org.eclipse.tycho</groupId> 187 <artifactId>tycho-maven-plugin</artifactId> 188 <version>${tycho-version}</version> 189 <extensions>true</extensions> 190 </plugin> 191 <plugin> 192 <groupId>org.eclipse.tycho</groupId> 193 <artifactId>target-platform-configuration</artifactId> 194 <version>${tycho-version}</version> 195 <configuration> 196 <resolver>p2</resolver> 197 </configuration> 198 </plugin> 199 </plugins> 200 <pluginManagement> 201 <plugins> 202 <plugin> 203 <groupId>org.eclipse.tycho</groupId> 204 <artifactId>tycho-compiler-plugin</artifactId> 205 <version>${tycho-version}</version> 206 <configuration> 207 <encoding>UTF-8</encoding> 208 <source>1.8</source> 209 <target>1.8</target> 210 </configuration> 211 </plugin> 212 <plugin> 213 <groupId>org.apache.maven.plugins</groupId> 214 <artifactId>maven-resources-plugin</artifactId> 215 <version>3.2.0</version> 216 <configuration> 217 <encoding>ISO-8859-1</encoding> 218 </configuration> 219 </plugin> 220 <plugin> 221 <groupId>org.eclipse.tycho</groupId> 222 <artifactId>target-platform-configuration</artifactId> 223 <version>${tycho-version}</version> 224 <configuration> 225 <resolver>p2</resolver> 226 <pomDependencies>consider</pomDependencies> 227 <target> 228 <artifact> 229 <groupId>org.eclipse.jgit</groupId> 230 <artifactId>org.eclipse.jgit.target</artifactId> 231 <version>${project.version}</version> 232 <classifier>${target-platform}</classifier> 233 </artifact> 234 </target> 235 <environments> 236 <environment> 237 <os>linux</os> 238 <ws>gtk</ws> 239 <arch>x86</arch> 240 </environment> 241 <environment> 242 <os>linux</os> 243 <ws>gtk</ws> 244 <arch>x86_64</arch> 245 </environment> 246 <environment> 247 <os>win32</os> 248 <ws>win32</ws> 249 <arch>x86</arch> 250 </environment> 251 <environment> 252 <os>win32</os> 253 <ws>win32</ws> 254 <arch>x86_64</arch> 255 </environment> 256 <environment> 257 <os>macosx</os> 258 <ws>cocoa</ws> 259 <arch>x86_64</arch> 260 </environment> 261 </environments> 262 </configuration> 263 </plugin> 264 <plugin> 265 <groupId>org.eclipse.tycho</groupId> 266 <artifactId>tycho-p2-plugin</artifactId> 267 <version>${tycho-version}</version> 268 </plugin> 269 <plugin> 270 <groupId>org.eclipse.tycho</groupId> 271 <artifactId>tycho-p2-publisher-plugin</artifactId> 272 <version>${tycho-version}</version> 273 </plugin> 274 <plugin> 275 <groupId>org.eclipse.tycho</groupId> 276 <artifactId>tycho-p2-repository-plugin</artifactId> 277 <version>${tycho-version}</version> 278 </plugin> 279 <plugin> 280 <groupId>org.eclipse.tycho</groupId> 281 <artifactId>tycho-packaging-plugin</artifactId> 282 <version>${tycho-version}</version> 283 </plugin> 284 <plugin> 285 <groupId>org.eclipse.tycho.extras</groupId> 286 <artifactId>tycho-pack200a-plugin</artifactId> 287 <version>${tycho-extras-version}</version> 288 </plugin> 289 <plugin> 290 <groupId>org.eclipse.tycho.extras</groupId> 291 <artifactId>tycho-pack200b-plugin</artifactId> 292 <version>${tycho-extras-version}</version> 293 </plugin> 294 <plugin> 295 <groupId>org.eclipse.cbi.maven.plugins</groupId> 296 <artifactId>eclipse-jarsigner-plugin</artifactId> 297 <version>1.3.1</version> 298 </plugin> 299 <plugin> 300 <groupId>org.codehaus.mojo</groupId> 301 <artifactId>build-helper-maven-plugin</artifactId> 302 <version>3.2.0</version> 303 </plugin> 304 <plugin> 305 <artifactId>maven-clean-plugin</artifactId> 306 <version>3.1.0</version> 307 </plugin> 308 <plugin> 309 <groupId>org.apache.maven.plugins</groupId> 310 <artifactId>maven-deploy-plugin</artifactId> 311 <version>3.0.0-M1</version> 312 </plugin> 313 <plugin> 314 <groupId>org.apache.maven.plugins</groupId> 315 <artifactId>maven-install-plugin</artifactId> 316 <version>3.0.0-M1</version> 317 </plugin> 318 <plugin> 319 <groupId>org.apache.maven.plugins</groupId> 320 <artifactId>maven-site-plugin</artifactId> 321 <version>3.9.1</version> 322 </plugin> 323 </plugins> 324 </pluginManagement> 325 </build> 326 327 <profiles> 328 <profile> 329 <id>eclipse-sign</id> 330 <build> 331 <plugins> 332 <plugin> 333 <groupId>org.eclipse.tycho</groupId> 334 <artifactId>target-platform-configuration</artifactId> 335 <configuration> 336 <includePackedArtifacts>true</includePackedArtifacts> 337 </configuration> 338 </plugin> 339 <plugin> 340 <groupId>org.eclipse.tycho.extras</groupId> 341 <artifactId>tycho-pack200a-plugin</artifactId> 342 <executions> 343 <execution> 344 <id>pack200-normalize</id> 345 <goals> 346 <goal>normalize</goal> 347 </goals> 348 <phase>verify</phase> 349 </execution> 350 </executions> 351 </plugin> 352 <plugin> 353 <groupId>org.eclipse.cbi.maven.plugins</groupId> 354 <artifactId>eclipse-jarsigner-plugin</artifactId> 355 <executions> 356 <execution> 357 <id>sign</id> 358 <goals> 359 <goal>sign</goal> 360 </goals> 361 <phase>verify</phase> 362 </execution> 363 </executions> 364 </plugin> 365 <plugin> 366 <groupId>org.eclipse.tycho.extras</groupId> 367 <artifactId>tycho-pack200b-plugin</artifactId> 368 <executions> 369 <execution> 370 <id>pack200-pack</id> 371 <goals> 372 <goal>pack</goal> 373 </goals> 374 <phase>verify</phase> 375 </execution> 376 </executions> 377 </plugin> 378 <plugin> 379 <groupId>org.eclipse.tycho</groupId> 380 <artifactId>tycho-p2-plugin</artifactId> 381 <executions> 382 <execution> 383 <id>p2-metadata</id> 384 <goals> 385 <goal>p2-metadata</goal> 386 </goals> 387 <phase>verify</phase> 388 </execution> 389 </executions> 390 <configuration> 391 <defaultP2Metadata>false</defaultP2Metadata> 392 </configuration> 393 </plugin> 394 </plugins> 395 </build> 396 </profile> 397 <profile> 398 <id>eclipse-pack</id> 399 <build> 400 <plugins> 401 <plugin> 402 <groupId>org.eclipse.tycho</groupId> 403 <artifactId>target-platform-configuration</artifactId> 404 <configuration> 405 <includePackedArtifacts>true</includePackedArtifacts> 406 </configuration> 407 </plugin> 408 <plugin> 409 <groupId>org.eclipse.tycho.extras</groupId> 410 <artifactId>tycho-pack200a-plugin</artifactId> 411 <executions> 412 <execution> 413 <id>pack200-normalize</id> 414 <goals> 415 <goal>normalize</goal> 416 </goals> 417 </execution> 418 </executions> 419 </plugin> 420 <plugin> 421 <groupId>org.eclipse.tycho.extras</groupId> 422 <artifactId>tycho-pack200b-plugin</artifactId> 423 <executions> 424 <execution> 425 <id>pack200-pack</id> 426 <goals> 427 <goal>pack</goal> 428 </goals> 429 </execution> 430 </executions> 431 </plugin> 432 <plugin> 433 <groupId>org.eclipse.tycho</groupId> 434 <artifactId>tycho-p2-plugin</artifactId> 435 <executions> 436 <execution> 437 <id>p2-metadata</id> 438 <goals> 439 <goal>p2-metadata</goal> 440 </goals> 441 <phase>package</phase> 442 </execution> 443 </executions> 444 <configuration> 445 <defaultP2Metadata>false</defaultP2Metadata> 446 </configuration> 447 </plugin> 448 </plugins> 449 </build> 450 </profile> 451 </profiles> 452</project> 453