Skip to content

Anything wrong with maven-bundle-plugin? #422

Answered by laeubi
laeubi asked this question in Q&A
Discussion options

You must be logged in to vote

I finally go the solution, the felix bundle plugin requires to explicitly enable the incremental build feature:

<plugins>
	<plugin>
		<groupId>org.apache.felix</groupId>
		<artifactId>maven-bundle-plugin</artifactId>
		<version>5.1.2</version>
		<extensions>true</extensions>
		<configuration>
			<instructions>
				<Export-Package>*</Export-Package>
				<Import-Package>!sun.*,*</Import-Package>
			</instructions>
			<supportIncrementalBuild>true</supportIncrementalBuild>
		</configuration>
		<executions>
			<execution>
				<goals>
					<goal>manifest</goal>
				</goals>
				<phase>prepare-package</phase>
			</execution>
		</executions>
	</plugin>
</plugins>

I'll mark this as the answer bu…

Replies: 5 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@laeubi
Comment options

laeubi Dec 7, 2021
Maintainer Author

@mickaelistria
Comment options

@laeubi
Comment options

laeubi Dec 7, 2021
Maintainer Author

@laeubi
Comment options

laeubi Dec 7, 2021
Maintainer Author

@laeubi
Comment options

laeubi Dec 7, 2021
Maintainer Author

Comment options

laeubi
Dec 7, 2021
Maintainer Author

You must be logged in to vote
0 replies
Comment options

laeubi
Dec 9, 2021
Maintainer Author

You must be logged in to vote
0 replies
Comment options

laeubi
Dec 9, 2021
Maintainer Author

You must be logged in to vote
2 replies
@kwin
Comment options

kwin Jan 21, 2022
Collaborator

@laeubi
Comment options

laeubi Jan 21, 2022
Maintainer Author

Answer selected by laeubi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants