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

Stuart McCulloch updated FELIX-495:
-----------------------------------

    Attachment: pom.xml

Example pom which uses features in the latest 1.3.0-SNAPSHOT bundleplugin to 
produce the two bundles.

Basic idea is to have a single combined classpath during compilation, but then 
use the "excludeDependencies" configuration option to remove the selected 
upnp-stack from the classpath seen by BND. The second bundle is produced with a 
classifier so it's attached alongside the main bundle. A macro definition 
(additionalPrivatePkgs) is used to adjust the private packages in the second 
bundle to include the kxml classes.

FYI, the same effect could also be achieved using Embed-Dependency (I'll attach 
this as another example pom)

> release classified version of the basedriver
> --------------------------------------------
>
>                 Key: FELIX-495
>                 URL: https://issues.apache.org/jira/browse/FELIX-495
>             Project: Felix
>          Issue Type: Improvement
>          Components: UPnP Subproject
>            Reporter: Stefano Lenzi
>            Assignee: Stefano Lenzi
>            Priority: Critical
>         Attachments: pom.xml
>
>
> We should modify the POM in order to be able to release:
>  - basedriver-<version>.jar for JDK 1.4 or above 
>  - basedriver-<version>-jdk13.jar for JDK 1.3

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

Reply via email to