[
https://issues.apache.org/jira/browse/DAFFODIL-2683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17685423#comment-17685423
]
Steve Lawrence edited comment on DAFFODIL-2683 at 2/7/23 6:42 PM:
------------------------------------------------------------------
Reopening, it looks adding "sbt osgiCheck" as part of the github action got
lost. We should enable that as part of this bug to verify we don't accidentally
violate OSGI with future changes.
was (Author: slawrence):
Reopening, it looks like the github action to run "sbt osgiCheck" as part of
the github action got lost. We should enable that as part of this bug to verify
we don't accidentally violate OSGI with future changes.
> Don't split packages across jars - OGSI packaging requirements
> --------------------------------------------------------------
>
> Key: DAFFODIL-2683
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2683
> Project: Daffodil
> Issue Type: Bug
> Components: Clean Ups, General, Infrastructure
> Affects Versions: 3.3.0
> Reporter: Mike Beckerle
> Assignee: Mike McGann
> Priority: Major
> Fix For: 3.5.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> A user wants to use daffodil inside Apache Karaf, which uses OGSi containers.
> Converting a jar to an OGSi container is feasible; however, there is an
> underlying assumption that a package is not split across such containers.
> As of daffodil 3.3.0, the package structure is not organized this way. The
> packages are orthogonal to the modules.
> For example org.apache.daffodil.processors is split across 6 modules:
> * daffodil-io
> * daffodil-lib
> * daffodil-macro-lib (which shouldn't create a jar, but still it mentions
> the package)
> * daffodil-runtime1
> * daffodil-runtime1-unparser
> * daffodil-tdml-lib (only in test code, which shouldn't impact the jar)
> The requirement is for each package to end up in exactly and only one Jar.
> This ticket possibly interacts with other refactoring tickets that are open
> such as DAFFODIL-2536.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)