How does this relate our use of OSGi "Fragment-Host" in jar files?

IOW, and for example, do I still to need to declare "Fragment-Host" in
log4j-cassandra like we do now:

      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <configuration>
          <instructions>
            <Fragment-Host>org.apache.logging.log4j.core</Fragment-Host>
            <Export-Package>*</Export-Package>
          </instructions>
        </configuration>
      </plugin>

Or can that go away since that code lives in
"org.apache.logging.log4j.cassandra"?

Gary


On Sun, Jan 28, 2018 at 2:25 PM, Ralph Goers <ralph.go...@dslextreme.com>
wrote:

> I should add that each module must have a unique package hierarchy so, in
> general, the package names should be org.apache.logging.log4j.modulename.
> In this case it would be org.apache.logging.log4j.jeromq.apppender.  The
> mom package probably has no value.
>
> Ralph
>
> > On Jan 28, 2018, at 2:23 PM, Ralph Goers <ralph.go...@dslextreme.com>
> wrote:
> >
> > Any component that is not in the core module MUST NOT use the core
> package. That would make it impossible to package them as Java 9 modules.
> >
> > Ralph
> >
> >> On Jan 28, 2018, at 11:31 AM, Gary Gregory <garydgreg...@gmail.com>
> wrote:
> >>
> >> Hi All,
> >>
> >> Now that the ZeroMQ via JeroMQ support is in its own module
> log4j-jeromq, I
> >> wonder if the Java package should change from
> >>
> >> org.apache.logging.log4j.core.appender.mom.jeromq
> >>
> >> to
> >>
> >> org.apache.logging.log4j.appender.mom.jeromq
> >>
> >> ?
> >>
> >> Same for the recently moved JPA appender.
> >>
> >> Same for impending move of the Kafka appender.
> >>
> >> This would break BC for Core for apps that directly reference these
> >> classes. As opposed to referencing the appenders from an XML/JSON/YAML
> >> config file.
> >>
> >> Gary
> >
>
>
>

Reply via email to