felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart McCulloch (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FELIX-1240) BundlePlugin fails in combination with apt-plugin
Date Wed, 02 Sep 2009 23:25:33 GMT

     [ https://issues.apache.org/jira/browse/FELIX-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Stuart McCulloch resolved FELIX-1240.

    Resolution: Duplicate

Duplicate of FELIX-1262, applied similar patch except used a LinkedHashSet to preserve the
resource ordering.

> BundlePlugin fails in combination with apt-plugin
> -------------------------------------------------
>                 Key: FELIX-1240
>                 URL: https://issues.apache.org/jira/browse/FELIX-1240
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.0.0
>            Reporter: Kristian Koehler
>            Assignee: Stuart McCulloch
>             Fix For: maven-bundle-plugin-2.0.1
>         Attachments: FELIX-1240_150609.txt
> Hi 
> in our maven build we use the apt-maven-plugin to generate some resources. These resources
should be included in the resulting bundle jar file. 
> Running maven with 'clean install' works great, but running 'mvn compile install' fails
with a exception like:
> --- 8< ---
> [INFO] [bundle:bundle]
> [ERROR] Error building bundle A:B:bundle:1.3.0-SNAPSHOT : Input file does not exist:
> [ERROR] Error(s) found in bundle configuration
> --- 8< ---
> The file name is 'myfile' and not 'myfile~'!
> The '~' gets appended within the BND implementation if there are duplicate haeder entries
for the bundle file (in this case Include-Resource) to make them unique.
> These duplicate entries are generated within the bundle-plugin.
> Apt will generate the file. This will be copied to the build dest dir and then included
in the Include-Resource header...
> I will attach a patch for this.
> Kristian

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message