felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-5241) Files generated by a java annotationprocessor are not added to the jar
Date Wed, 18 May 2016 09:10:12 GMT

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

Carsten Ziegeler updated FELIX-5241:
    Fix Version/s:     (was: maven-bundle-plugin-3.0.2)

> Files generated by a java annotationprocessor are not added to the jar
> ----------------------------------------------------------------------
>                 Key: FELIX-5241
>                 URL: https://issues.apache.org/jira/browse/FELIX-5241
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-3.0.1
>            Reporter: Christian Schneider
>             Fix For: maven-bundle-plugin-3.1.0
> It seems that files created by java annotation processors are not included in the jar
by the maven-bundle-plugin while they are included by the standard maven jar packaging.
> In karaf-boot we use standard java annotation processors to generate files at runtime.
> Oner such processor is:
> https://github.com/jbonofre/karaf-boot/tree/master/starters/karaf-boot-starter-jpa
> It parses the @PersistentContext annotation and creates a persistence.xml file.
> This is an example project that uses it:
> https://github.com/jbonofre/karaf-boot/tree/master/samples/jpa
> To test this remove the karaf-boot-maven-plugin (which calls the maven bundle plugin)
and the META-INF/persistence.xml is added to the jar.
> Add the default maven-bundle-plugin and the persistence.xml is not added to the jar.
> I can create a simpler test project if this is too complicated.

This message was sent by Atlassian JIRA

View raw message