File tree Expand file tree Collapse file tree 4 files changed +47
-24
lines changed
Expand file tree Collapse file tree 4 files changed +47
-24
lines changed Original file line number Diff line number Diff line change 7171 </configuration >
7272 <executions >
7373 <execution >
74- <id >bundle</id >
7574 <goals >
7675 <goal >bundle</goal >
7776 </goals >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
34 <modelVersion >4.0.0</modelVersion >
45
56 <parent >
5556 <scope >test</scope >
5657 </dependency >
5758 </dependencies >
59+
5860 <build >
5961 <plugins >
62+ <!-- Define bundle plugin in order to allow for 'bundle' packaging. -->
6063 <plugin >
6164 <groupId >org.apache.felix</groupId >
6265 <artifactId >maven-bundle-plugin</artifactId >
6366 <version >${version.plugin.bundle} </version >
6467 <extensions >true</extensions >
65- <executions >
66- <execution >
67- <id >bundle</id >
68- <goals >
69- <goal >bundle</goal >
70- </goals >
71- </execution >
72- </executions >
73- </plugin >
74- </plugins >
75- </build >
68+ </plugin >
69+ </plugins >
70+ </build >
71+
72+ <profiles >
73+ <profile >
74+ <id >extras</id >
75+ <activation >
76+ <activeByDefault >false</activeByDefault >
77+ </activation >
78+ <build >
79+ <plugins >
80+ <!-- Specify OSGi packaging. -->
81+ <plugin >
82+ <groupId >org.apache.felix</groupId >
83+ <artifactId >maven-bundle-plugin</artifactId >
84+ <version >${version.plugin.bundle} </version >
85+ <extensions >true</extensions >
86+ <executions >
87+ <execution >
88+ <goals >
89+ <goal >bundle</goal >
90+ </goals >
91+ </execution >
92+ </executions >
93+ </plugin >
94+ </plugins >
95+ </build >
96+ </profile >
97+ </profiles >
7698</project >
Original file line number Diff line number Diff line change 8585 </configuration >
8686 <executions >
8787 <execution >
88- <id >bundle</id >
8988 <phase >package</phase >
9089 <goals >
9190 <goal >bundle</goal >
152151 <version >${version.plugin.build-helper} </version >
153152 <executions >
154153 <execution >
155- <id >attach-artifacts</id >
156154 <phase >package</phase >
157155 <goals >
158156 <goal >attach-artifact</goal >
Original file line number Diff line number Diff line change 273273 <version >${version.plugin.javadoc} </version >
274274 <executions >
275275 <execution >
276- <id >attach-javadocs </id >
276+ <id >attach-javadoc </id >
277277 <goals >
278278 <goal >jar</goal >
279279 </goals >
280280 </execution >
281281 <!-- Additionally to the regular jar file specified above, create an aggregated jar. -->
282- <!-- This does not seem to work when activated during deployment (Shade plugin?). -->
283- <!-- <execution>-->
284- <!-- <id>aggregate-javadoc</id>-->
285- <!-- <goals>-->
286- <!-- <goal>aggregate</goal>-->
287- <!-- </goals>-->
288- <!-- <phase>package</phase>-->
289- <!-- </execution>-->
282+ <execution >
283+ <id >aggregate-javadoc</id >
284+ <goals >
285+ <goal >aggregate</goal >
286+ </goals >
287+ <phase >package</phase >
288+ <configuration >
289+ <doctitle >Byte Buddy (full API), version ${project.version} </doctitle >
290+ <!-- Fails due to repacking of ASM by the Shade plugin. -->
291+ <failOnError >false</failOnError >
292+ </configuration >
293+ </execution >
290294 </executions >
291295 <configuration >
292296 <detectJavaApiLink >true</detectJavaApiLink >
You can’t perform that action at this time.
0 commit comments