[
https://issues.apache.org/jira/browse/FELIX-6106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16836885#comment-16836885
]
Martin Grigorov commented on FELIX-6106:
----------------------------------------
Thank you, [[email protected]]!
I've just tested with 4.2.1-SNAPSHOT and everything looks fine!
Why the "Fix version" says 4.2.2 ? I expect the release of 4.2.1-SNAPSHOT will
be 4.2.1.
P.S. I've used
{code}
<pluginRepositories>
<pluginRepository>
<id>Apache Nexus</id>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
{code}
> Regression after a change in maven-bundle-plugin:4.2.0 related to
> non-existing files
> ------------------------------------------------------------------------------------
>
> Key: FELIX-6106
> URL: https://issues.apache.org/jira/browse/FELIX-6106
> Project: Felix
> Issue Type: Bug
> Components: Maven Bundle Plugin
> Affects Versions: maven-bundle-plugin-4.2.0
> Reporter: Martin Grigorov
> Assignee: Stefan Seifert
> Priority: Major
> Fix For: maven-bundle-plugin-4.2.2
>
>
> Commit
> https://github.com/apache/felix/commit/9487647dc2fa8734a0ab4a113b0b93ec281a2594
> introduced with FELIX-6074 leads to an error in one of our projects:
> {code}
> INFO] --- maven-bundle-plugin:4.2.0:bundle (default-bundle) @
> wicketstuff-bundle ---
> [ERROR] An internal error occurred
> java.lang.IllegalArgumentException: A Jar can only accept a file or
> directory that exists:
> /home/solomax/work/wicketstuff-core/wicket-bundle-parent/wicket-bundle/target/classes
> at aQute.bnd.osgi.Jar.<init> (Jar.java:124)
> at aQute.bnd.osgi.Jar.<init> (Jar.java:172)
> at org.apache.felix.bundleplugin.BundlePlugin.getOSGiBuilder
> (BundlePlugin.java:603)
> {code}
> The code of the module can be found at
> https://github.com/wicketstuff/core/tree/master/wicket-bundle-parent/wicket-bundle.
> It is mostly Maven code (pom.xml and assembly.xml) that generates an OSGi
> compatible bundle.
> After upgrading to maven-bundle-plugin:4.2.0 it started failing with the
> above error.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)