Peter Rader created FELIX-6032:
----------------------------------
Summary: Embed-Dependency for relocated dependencies
Key: FELIX-6032
URL: https://issues.apache.org/jira/browse/FELIX-6032
Project: Felix
Issue Type: Bug
Components: Maven Bundle Plugin
Reporter: Peter Rader
Attachments: image-2019-01-17-13-08-26-123.png,
image-2019-01-17-13-10-33-028.png
Using this pom:
{code:xml}
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>test</groupId>
<artifactId>springtest</artifactId>
<version>0.0.1-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>bsh</groupId>
<artifactId>bsh</artifactId>
<version>2.0b4</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.main</artifactId>
<version>6.0.1</version>
<scope>provided</scope>
</dependency>
</dependencies>
<properties>
<Bundle-Activator>test.springtest.Activator</Bundle-Activator>
<Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
</properties>
<build>
<defaultGoal>clean install
org.apache.felix:maven-bundle-plugin:bundle</defaultGoal>
</build>
</project>
{code}
A message occoure in the console:
{{[WARNING] The artifact bsh:bsh:jar:2.0b4 has been relocated to
org.beanshell:bsh:jar:2.0b4}}
The jar looks like this:
!image-2019-01-17-13-08-26-123.png!
Only if I change theĀ group-id to {{org.beanshell}} the jar is created correclty:
!image-2019-01-17-13-10-33-028.png!
The Bug is: Redirected dependencies are not bundled!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)