Several options here, i.e., or combinations of the below:

1. We could decide to exclude Hibernate completely from NetBeans.

2. We could ask the Hibernate team if they're able to relicense their DTDs
to Apache or at least to move away from GPL.

3. Jan Lahoda from Oracle tells me: "I wonder if we could download the DTDs
in some form during the build, and let the build use that. It seems that at
least the configuration and mapping DTDs are in the
org.hibernate:hibernate:3.0 in Maven repository, so presumably we could
download directly from there."

4. We could ask Apache for a legal decision on whether these DTDs could be
included, since we're not distributing them -- we're only using them to
build NetBeans.

Gj


On Tue, May 30, 2017 at 9:01 AM, Emilian Bold <[email protected]>
wrote:

> Actually, no, we cannot use them. In the Git repo the DTD license seems to
> be LGPL 2.1:
>
> https://github.com/hibernate/hibernate-orm/blob/master/
> hibernate-core/src/main/resources/org/hibernate/
> hibernate-mapping-3.0.dtd#L4
>
>
> --emi
>
> On Tue, May 30, 2017 at 9:41 AM, Emilian Bold <[email protected]>
> wrote:
>
> > This seems to be minor. We are not including Hibernate binaries, just the
> > 3 DTDs which have no explicit license on them.
> >
> > We should ask the Hibernate devs for clarification on the DTD licensing.
> >
> > Until then I believe we might even be able to grab the DTDs from the
> > canonical URL instead of including the resources in the JAR? Of course,
> > this will require network access...
> >
> >
> >
> > --emi
> >
> > On Tue, May 30, 2017 at 9:26 AM, Geertjan Wielenga <
> > [email protected]> wrote:
> >
> >> Hi all,
> >>
> >> Does anyone have insight into the status of Hibernate in Apache.
> >>
> >> The reason I am asking this is because Oracle is unable to donate these
> >> files to Apache, since these files do not belong to Oracle:
> >>
> >> hibernate/src/org/netbeans/modules/hibernate/resources/hiber
> >> nate-configuration-3.0.dtd
> >> hibernate/src/org/netbeans/modules/hibernate/resources/hiber
> >> nate-mapping-3.0.dtd
> >> hibernate/src/org/netbeans/modules/hibernate/resources/hiber
> >> nate-reverse-engineering-3.0.dtd
> >>
> >> Hence, we are deleting the above files from the Apache NetBeans
> donation.
> >>
> >> But, as a result, the Apache NetBeans build will fail, since the above
> >> three files are used to generate a number of files, e.g.,
> >> "org.netbeans.modules.hibernate.cfg.model.Event" is generated from the
> >> above files, during the build process.
> >>
> >> My suggestion would be that as soon as the NetBeans code has been
> donated
> >> to Apache and that code is physically in an Apache Git repo, we add the
> >> above three files in the above three location, i.e.,
> >> "hibernate/src/org/netbeans/modules/hibernate/resources" and then the
> >> build
> >> will succeed again.
> >>
> >> On the other hand, is Hibernate licensed such that Apache has no problem
> >> distributing the above files? If Apache has a problem with Hibernate,
> this
> >> means we'll need to remove the Hibernate functionality from NetBeans, at
> >> some point, and we may as well do that now, rather than later in Apache,
> >> which would have as a benefit that we'd be able to provide a buildable
> >> Apache NetBeans, rather than one that is initially broken.
> >>
> >> Thanks,
> >>
> >> Geertjan
> >>
> >
> >
>

Reply via email to