blob: 8a6fcd881f8ed5196fb0b0a5f9767d71edef8bee [file] [log] [blame]
Stephan Wahlbrink439fc282019-01-30 09:51:12 +01001<?xml version="1.0" encoding="UTF-8"?>
2
3<project xmlns="http://maven.apache.org/POM/4.0.0"
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
6 <modelVersion>4.0.0</modelVersion>
7
8 <parent>
9 <groupId>org.eclipse.statet-releng</groupId>
Stephan Wahlbrinkd5ac0812020-12-11 12:04:47 +010010 <artifactId>tycho-1.7-parent</artifactId>
Stephan Wahlbrinkcfe8a412021-07-08 15:36:14 +020011 <version>4.5.0-SNAPSHOT</version>
Stephan Wahlbrinkd5ac0812020-12-11 12:04:47 +010012 <relativePath>../releng/tycho-1.7</relativePath>
Stephan Wahlbrink439fc282019-01-30 09:51:12 +010013 </parent>
14
15 <groupId>org.eclipse.statet.3rdparty</groupId>
16 <artifactId>bundle-recipes</artifactId>
Stephan Wahlbrinkcfe8a412021-07-08 15:36:14 +020017 <version>4.5.0-SNAPSHOT</version>
Stephan Wahlbrink439fc282019-01-30 09:51:12 +010018 <packaging>pom</packaging>
19
20 <properties>
Stephan Wahlbrink29eb5452020-12-11 16:52:08 +010021 <ebr.version>1.2.0</ebr.version>
Stephan Wahlbrink439fc282019-01-30 09:51:12 +010022
Stephan Wahlbrink1269c3f2021-06-11 11:57:47 +020023 <tycho.scmUrl>scm:git:https://git.eclipse.org/r/statet/org.eclipse.statet.git</tycho.scmUrl>
Stephan Wahlbrink439fc282019-01-30 09:51:12 +010024
25 <!-- include everything from all dependencies by default -->
26 <recipe.includes>**/*</recipe.includes>
27 <!-- but filter out maven instructions, we'll generate new ones below -->
28 <recipe.excludes>META-INF/maven/**/*.*</recipe.excludes>
29
30 <!-- read BND settings from 'osgi.bnd' located next to pom.xml -->
31 <recipe.bnd.file>osgi.bnd</recipe.bnd.file>
32
33 <!-- BND specific instructions which can be overridden by recipe -->
Stephan Wahlbrink9a581262019-11-27 09:37:03 +010034 <recipe.Bundle-Name>${project.name}</recipe.Bundle-Name>
Stephan Wahlbrink439fc282019-01-30 09:51:12 +010035 <recipe.Bundle-Description />
36 <recipe.Bundle-Vendor>Eclipse StatET</recipe.Bundle-Vendor>
37
38 <!-- remove some clutter from the generated manifests -->
39 <recipe.removeheaders>Ignore-Package,Include-Resource,Private-Package,Embed-Dependency,Built-By,Build-Jdk,Bnd-*,Tool</recipe.removeheaders>
40 <!-- by default we'll also remove the Require-Bundle header; recipe poms may override if they need this header -->
41 <recipe.removeadditionalheaders>Require-Bundle</recipe.removeadditionalheaders>
42
43 <!-- set to false if you want to have dependencies embedded as full jars inside the bundle -->
44 <recipe.unpackDependencies>true</recipe.unpackDependencies>
45 <!-- when recipe.unpackDependencies is set to false, this one can be set to true to force removal of the version string from dependency jar names -->
46 <recipe.stripVersion>false</recipe.stripVersion>
47 <!-- when recipe.unpackDependencies is set to false, this one can be set to true to disable inclusion of '.' folder into the Bundle-ClassPath header -->
48 <recipe.excludeDotFolderFromClasspath>false</recipe.excludeDotFolderFromClasspath>
49
50 </properties>
51
52 <pluginRepositories>
53 <pluginRepository>
54 <id>ebr-releases</id>
55 <url>https://repo.eclipse.org/content/repositories/ebr-releases/</url>
Stephan Wahlbrink439fc282019-01-30 09:51:12 +010056 </pluginRepository>
57 </pluginRepositories>
58
59 <build>
60 <plugins>
61 <plugin>
62 <groupId>org.eclipse.ebr</groupId>
63 <artifactId>ebr-maven-plugin</artifactId>
64 <extensions>true</extensions>
65 <configuration>
66 <includes>${recipe.includes}</includes>
67 <excludes>${recipe.excludes}</excludes>
68 <unpackDependencies>${recipe.unpackDependencies}</unpackDependencies>
69 <stripVersion>${recipe.stripVersion}</stripVersion>
70 <excludeDotFolderFromBundleClasspath>${recipe.excludeDotFolderFromClasspath}</excludeDotFolderFromBundleClasspath>
71 <bndInstructions>
72 <Bundle-Name>${recipe.Bundle-Name}</Bundle-Name>
73 <Bundle-Vendor>${recipe.Bundle-Vendor}</Bundle-Vendor>
74 <Bundle-Description>${recipe.Bundle-Description}</Bundle-Description>
75 <Automatic-Module-Name>${project.artifactId}</Automatic-Module-Name>
76 <_removeheaders>${recipe.removeheaders},${recipe.removeadditionalheaders}</_removeheaders>
77 <_include>-${recipe.bnd.file}</_include>
78 </bndInstructions>
79 </configuration>
80 </plugin>
81 </plugins>
82
83 <pluginManagement>
84 <plugins>
85 <plugin>
86 <groupId>org.eclipse.ebr</groupId>
87 <artifactId>ebr-maven-plugin</artifactId>
88 <version>${ebr.version}</version>
89 </plugin>
90 <plugin>
91 <groupId>org.eclipse.ebr</groupId>
92 <artifactId>ebr-tycho-extras-plugin</artifactId>
93 <version>${ebr.version}</version>
94 </plugin>
95
96 </plugins>
97 </pluginManagement>
98 </build>
99
100 <modules>
101 <module>apache-commons</module>
102 <!-- module>apache-db</module (orbit) -->
103 <module>apache-lucene</module>
104 <module>snakeyaml</module>
105
106 </modules>
107
108
109 <profiles>
110 <profile>
111 <id>eclipse-sign</id>
Stephan Wahlbrink439fc282019-01-30 09:51:12 +0100112 <build>
113 <plugins>
114 <plugin>
Stephan Wahlbrink439fc282019-01-30 09:51:12 +0100115 <groupId>org.eclipse.cbi.maven.plugins</groupId>
116 <artifactId>eclipse-jarsigner-plugin</artifactId>
117 <configuration>
118 <resigningStrategy>OVERWRITE</resigningStrategy>
119 </configuration>
120 </plugin>
121 <plugin>
Stephan Wahlbrink439fc282019-01-30 09:51:12 +0100122 <groupId>org.eclipse.tycho</groupId>
123 <artifactId>tycho-p2-plugin</artifactId>
124 <configuration>
125 <supportedProjectTypes>
126 <supportedProjectType>eclipse-bundle-recipe</supportedProjectType>
127 <supportedProjectType>eclipse-feature</supportedProjectType>
128 </supportedProjectTypes>
129 <defaultP2Metadata>false</defaultP2Metadata>
130 </configuration>
131 </plugin>
132 </plugins>
133 </build>
134 </profile>
135 </profiles>
136
137</project>