You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Kristian Koehler (JIRA)" <ji...@apache.org> on 2009/06/15 17:24:07 UTC

[jira] Updated: (FELIX-1240) BundlePlugin fails in combination with apt-plugin

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

Kristian Koehler updated FELIX-1240:
------------------------------------

    Attachment: FELIX-1240_150609.txt

the patch

> 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
>         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: target/generated-sources/apt/META-INF/myfile~
> [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.
> 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.