[ https://issues.apache.org/jira/browse/FELIX-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569849#action_12569849 ]
Stefano Lenzi commented on FELIX-486: ------------------------------------- Karl we ended up to an odd situation because the 1.0.1 version of the artifact is required during runtime while the 1.0.0 is enough during compile time. Because maven by default consider all the dependencies to have a compile as scope depending to 1.0.0 version is correct. So we have the following option: a) stress the difference between runtime and compile we may add twice the dependency with different scope and version (I don't know if the maven-obr-plugin uses this information for metadata generation purpose). b) leave the dependencies to 1.0.0 because it works c) consider the default dependencies scope for bundle to be runtime so add we change the version to 1.1.0-SNAPSHOT (IMHO: The decision for one of the option is more semantic rather then practical) In the mean while I'll commit the patch as is and we can later decide the best :) > Felix release conting mixed bytecode: 1.3 and 1.4, we should compile all as > 1.3 > ------------------------------------------------------------------------------- > > Key: FELIX-486 > URL: https://issues.apache.org/jira/browse/FELIX-486 > Project: Felix > Issue Type: Improvement > Affects Versions: 1.0.1, 1.0.2, 1.0.3 > Reporter: Stefano Lenzi > Assignee: Stefano Lenzi > Priority: Minor > Attachments: bytecode.jre13.r620538.patch, > bytecode.jre13.r620865.patch, bytecode.jre13.vs.SNAPSHOT.r620865.patch, > bytecode.jre13.vs.SNAPSHOT.r626008.patch > > > I found out that the following released project: > - shell-1.0.0 > - javax.servlet-1.0.0 > - org.osgi.core-1.0.0 > - shell.tui-1.0.0 > which are used by the felix-1.0.3 release are compiled for JRE 1.4, so we > ended up with a felix released which is partially compiled for JRE 1.4 and > for JRE 1.3. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.