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-2819) packageinfo files in src/main/java are ignored
Date Fri, 24 Jun 2011 18:21:47 GMT

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

Stuart McCulloch resolved FELIX-2819.

       Resolution: Fixed
    Fix Version/s: maven-bundle-plugin-2.3.5
         Assignee: Stuart McCulloch

Fixed in r1139399

> packageinfo files in src/main/java are ignored
> ----------------------------------------------
>                 Key: FELIX-2819
>                 URL: https://issues.apache.org/jira/browse/FELIX-2819
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>            Reporter: Alasdair Nottingham
>            Assignee: Stuart McCulloch
>             Fix For: maven-bundle-plugin-2.3.5
> The bnd tool can pick up the package version from a packageinfo file if it is stored
next to the java files.
> The maven-bundle-plugin will only include them in the jar, and make them visible to bnd
if they are in the src/main/resources directory. I would like to use these files for specifying
versions, rather than putting it in the pom. This allows me to specify the version once in
this file even if it is repackaged in a different jar later.
> The problem is I have to put the files into src/main/resources which significantly reduces
the chance of updating them when a change is made. Could the maven-bundle-plugin be updated
to put the packageinfo files from src/main/java into the jar before calling bnd?
> Thanks
> Alasdair

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message