blob: ff95ec644461db719e1080d3f1d74e865294773b [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>
10 <artifactId>parent</artifactId>
Stephan Wahlbrink302319b2021-02-11 11:24:50 +010011 <version>4.2.3.202102110600-r</version>
Stephan Wahlbrink439fc282019-01-30 09:51:12 +010012 <relativePath>../releng/</relativePath>
13 </parent>
14
15 <groupId>org.eclipse.statet.3rdparty</groupId>
16 <artifactId>bundle-recipes</artifactId>
Stephan Wahlbrink67dece02020-12-31 17:01:34 +010017 <version>4.2.3-SNAPSHOT</version>
Stephan Wahlbrink439fc282019-01-30 09:51:12 +010018 <packaging>pom</packaging>
19
20 <properties>
Stephan Wahlbrinkb4b9dda2020-03-02 20:54:08 +010021 <ebr.version>1.1.0</ebr.version>
22 <!-- tycho version compatible with ebr -->
23 <tycho.version>1.4.0</tycho.version>
Stephan Wahlbrink439fc282019-01-30 09:51:12 +010024
25 <tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/statet/org.eclipse.statet.git</tycho.scmUrl>
26
27 <!-- include everything from all dependencies by default -->
28 <recipe.includes>**/*</recipe.includes>
29 <!-- but filter out maven instructions, we'll generate new ones below -->
30 <recipe.excludes>META-INF/maven/**/*.*</recipe.excludes>
31
32 <!-- read BND settings from 'osgi.bnd' located next to pom.xml -->
33 <recipe.bnd.file>osgi.bnd</recipe.bnd.file>
34
35 <!-- BND specific instructions which can be overridden by recipe -->
Stephan Wahlbrink9a581262019-11-27 09:37:03 +010036 <recipe.Bundle-Name>${project.name}</recipe.Bundle-Name>
Stephan Wahlbrink439fc282019-01-30 09:51:12 +010037 <recipe.Bundle-Description />
38 <recipe.Bundle-Vendor>Eclipse StatET</recipe.Bundle-Vendor>
39
40 <!-- remove some clutter from the generated manifests -->
41 <recipe.removeheaders>Ignore-Package,Include-Resource,Private-Package,Embed-Dependency,Built-By,Build-Jdk,Bnd-*,Tool</recipe.removeheaders>
42 <!-- by default we'll also remove the Require-Bundle header; recipe poms may override if they need this header -->
43 <recipe.removeadditionalheaders>Require-Bundle</recipe.removeadditionalheaders>
44
45 <!-- set to false if you want to have dependencies embedded as full jars inside the bundle -->
46 <recipe.unpackDependencies>true</recipe.unpackDependencies>
47 <!-- 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 -->
48 <recipe.stripVersion>false</recipe.stripVersion>
49 <!-- when recipe.unpackDependencies is set to false, this one can be set to true to disable inclusion of '.' folder into the Bundle-ClassPath header -->
50 <recipe.excludeDotFolderFromClasspath>false</recipe.excludeDotFolderFromClasspath>
51
52 </properties>
53
54 <pluginRepositories>
55 <pluginRepository>
56 <id>ebr-releases</id>
57 <url>https://repo.eclipse.org/content/repositories/ebr-releases/</url>
Stephan Wahlbrink439fc282019-01-30 09:51:12 +010058 </pluginRepository>
59 </pluginRepositories>
60
61 <build>
62 <plugins>
63 <plugin>
64 <groupId>org.eclipse.ebr</groupId>
65 <artifactId>ebr-maven-plugin</artifactId>
66 <extensions>true</extensions>
67 <configuration>
68 <includes>${recipe.includes}</includes>
69 <excludes>${recipe.excludes}</excludes>
70 <unpackDependencies>${recipe.unpackDependencies}</unpackDependencies>
71 <stripVersion>${recipe.stripVersion}</stripVersion>
72 <excludeDotFolderFromBundleClasspath>${recipe.excludeDotFolderFromClasspath}</excludeDotFolderFromBundleClasspath>
73 <bndInstructions>
74 <Bundle-Name>${recipe.Bundle-Name}</Bundle-Name>
75 <Bundle-Vendor>${recipe.Bundle-Vendor}</Bundle-Vendor>
76 <Bundle-Description>${recipe.Bundle-Description}</Bundle-Description>
77 <Automatic-Module-Name>${project.artifactId}</Automatic-Module-Name>
78 <_removeheaders>${recipe.removeheaders},${recipe.removeadditionalheaders}</_removeheaders>
79 <_include>-${recipe.bnd.file}</_include>
80 </bndInstructions>
81 </configuration>
82 </plugin>
83 </plugins>
84
85 <pluginManagement>
86 <plugins>
87 <plugin>
88 <groupId>org.eclipse.ebr</groupId>
89 <artifactId>ebr-maven-plugin</artifactId>
90 <version>${ebr.version}</version>
91 </plugin>
92 <plugin>
93 <groupId>org.eclipse.ebr</groupId>
94 <artifactId>ebr-tycho-extras-plugin</artifactId>
95 <version>${ebr.version}</version>
96 </plugin>
97
98 </plugins>
99 </pluginManagement>
100 </build>
101
102 <modules>
103 <module>apache-commons</module>
104 <!-- module>apache-db</module (orbit) -->
105 <module>apache-lucene</module>
106 <module>snakeyaml</module>
107
108 </modules>
109
110
111 <profiles>
112 <profile>
113 <id>eclipse-sign</id>
114 <activation>
115 <property>
116 <name>eclipse-sign</name>
117 </property>
118 </activation>
119 <build>
120 <plugins>
121 <plugin>
122 <groupId>org.eclipse.tycho.extras</groupId>
123 <artifactId>tycho-pack200a-plugin</artifactId>
124 <configuration>
125 <supportedProjectTypes>
126 <supportedProjectType>eclipse-bundle-recipe</supportedProjectType>
127 </supportedProjectTypes>
128 </configuration>
129 </plugin>
130 <plugin>
131 <groupId>org.eclipse.cbi.maven.plugins</groupId>
132 <artifactId>eclipse-jarsigner-plugin</artifactId>
133 <configuration>
134 <resigningStrategy>OVERWRITE</resigningStrategy>
135 </configuration>
136 </plugin>
137 <plugin>
138 <groupId>org.eclipse.tycho.extras</groupId>
139 <artifactId>tycho-pack200b-plugin</artifactId>
140 <configuration>
141 <supportedProjectTypes>
142 <supportedProjectType>eclipse-bundle-recipe</supportedProjectType>
143 </supportedProjectTypes>
144 </configuration>
145 </plugin>
146 <plugin>
147 <groupId>org.eclipse.tycho</groupId>
148 <artifactId>tycho-p2-plugin</artifactId>
149 <configuration>
150 <supportedProjectTypes>
151 <supportedProjectType>eclipse-bundle-recipe</supportedProjectType>
152 <supportedProjectType>eclipse-feature</supportedProjectType>
153 </supportedProjectTypes>
154 <defaultP2Metadata>false</defaultP2Metadata>
155 </configuration>
156 </plugin>
157 </plugins>
158 </build>
159 </profile>
160 </profiles>
161
162</project>