Building with Java 11

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Building with Java 11

jgallimore
Its very much a work in progress, but I have been trying to get our build
to run on Java 11, with the full set of tests. I'm doing this in a branch
which I have been keeping up to date with master as best as I can.

My code is here: https://github.com/apache/tomee/pull/293, and broadly
speaking, adds these modules:

      <dependency>
        <groupId>javax.xml.bind</groupId>
        <artifactId>jaxb-api</artifactId>
        <version>2.3.0</version>
      </dependency>
      <dependency>
        <groupId>org.glassfish.jaxb</groupId>
        <artifactId>jaxb-runtime</artifactId>
        <version>2.4.0-b180830.0438</version>
      </dependency>
      <dependency>
        <groupId>com.sun.xml.ws</groupId>
        <artifactId>jaxws-rt</artifactId>
        <version>2.3.1</version>
        <type>pom</type>
      </dependency>
      <dependency>
        <groupId>com.sun.xml.ws</groupId>
        <artifactId>rt</artifactId>
        <version>2.3.1</version>
      </dependency>
      <dependency>
        <groupId>javax.activation</groupId>
        <artifactId>javax.activation-api</artifactId>
        <version>1.2.0</version>
      </dependency>
      <dependency>
        <groupId>com.sun.activation</groupId>
        <artifactId>javax.activation</artifactId>
        <version>1.2.0</version>
      </dependency>
      <dependency>
        <groupId>org.jacorb</groupId>
        <artifactId>jacorb</artifactId>
        <version>3.9</version>
      </dependency>
      <dependency>
        <groupId>org.jboss.spec.javax.rmi</groupId>
        <artifactId>jboss-rmi-api_1.0_spec</artifactId>
        <version>1.0.6.Final</version>
      </dependency>

There are some regressions to look at, and there are some errors in the
output that need looking at, but one milestone I have reached is getting
almost all the arquillian tests (only 1 failure) in the build to pass.
Here's my current failures:
https://gist.github.com/jgallimore/6968379060a4d4b25f2b6c888a49bbb4

In terms of the build artifacts, the additional libraries included are:

FastInfoSet-1.2.15
gmbal-api-only-3,1,0-b001
ha-api-3.1.9
istack-commons-runtime-3.0.7
jacorb-3.9
jacorb-omgapi-3.9
javax.activation-1.2.0
javax.activation-api-1.2.0
javax.annotation-api-1.3.2
javax.jws-api-1.1
javax.xml.soap-api-1.4.0
jaxb-runtime-2.4.0-b180830.0438
jaxws-api
jboss-rmi-api_1.0_spec
management-api-3.0.0-b012
mimepull-1.9.10
policy-2.7.5
rt-2.3.1
saaj-impl-1.5.0
stax-ex-1.8
stax2-api-4.1 (as opposed to 3.1.4)
streambuffer-1.5.6
txw2-2.4.0-b180830.0438
woodstox-core-5.1.0 (as opposed to 5.0.3)
xmlschema-core-2.2.4 (as opposed to 2.2.3)

These are obviously being pulled in as transitive dependencies of
dependencies I mention above, and I'm sure some of them can be removed, but
I'll need to work through them to figure out what.

If folks would like to collaborate on this here, it would be most welcome.

Thanks

Jon
Reply | Threaded
Open this post in threaded view
|

Re: Building with Java 11

Daniel Cunha-2
Hi Jon,

fantastic! I'll take a look on it.

Nice work!

Em ter, 8 de jan de 2019 às 13:26, Jonathan Gallimore <
[hidden email]> escreveu:

> Its very much a work in progress, but I have been trying to get our build
> to run on Java 11, with the full set of tests. I'm doing this in a branch
> which I have been keeping up to date with master as best as I can.
>
> My code is here: https://github.com/apache/tomee/pull/293, and broadly
> speaking, adds these modules:
>
>       <dependency>
>         <groupId>javax.xml.bind</groupId>
>         <artifactId>jaxb-api</artifactId>
>         <version>2.3.0</version>
>       </dependency>
>       <dependency>
>         <groupId>org.glassfish.jaxb</groupId>
>         <artifactId>jaxb-runtime</artifactId>
>         <version>2.4.0-b180830.0438</version>
>       </dependency>
>       <dependency>
>         <groupId>com.sun.xml.ws</groupId>
>         <artifactId>jaxws-rt</artifactId>
>         <version>2.3.1</version>
>         <type>pom</type>
>       </dependency>
>       <dependency>
>         <groupId>com.sun.xml.ws</groupId>
>         <artifactId>rt</artifactId>
>         <version>2.3.1</version>
>       </dependency>
>       <dependency>
>         <groupId>javax.activation</groupId>
>         <artifactId>javax.activation-api</artifactId>
>         <version>1.2.0</version>
>       </dependency>
>       <dependency>
>         <groupId>com.sun.activation</groupId>
>         <artifactId>javax.activation</artifactId>
>         <version>1.2.0</version>
>       </dependency>
>       <dependency>
>         <groupId>org.jacorb</groupId>
>         <artifactId>jacorb</artifactId>
>         <version>3.9</version>
>       </dependency>
>       <dependency>
>         <groupId>org.jboss.spec.javax.rmi</groupId>
>         <artifactId>jboss-rmi-api_1.0_spec</artifactId>
>         <version>1.0.6.Final</version>
>       </dependency>
>
> There are some regressions to look at, and there are some errors in the
> output that need looking at, but one milestone I have reached is getting
> almost all the arquillian tests (only 1 failure) in the build to pass.
> Here's my current failures:
> https://gist.github.com/jgallimore/6968379060a4d4b25f2b6c888a49bbb4
>
> In terms of the build artifacts, the additional libraries included are:
>
> FastInfoSet-1.2.15
> gmbal-api-only-3,1,0-b001
> ha-api-3.1.9
> istack-commons-runtime-3.0.7
> jacorb-3.9
> jacorb-omgapi-3.9
> javax.activation-1.2.0
> javax.activation-api-1.2.0
> javax.annotation-api-1.3.2
> javax.jws-api-1.1
> javax.xml.soap-api-1.4.0
> jaxb-runtime-2.4.0-b180830.0438
> jaxws-api
> jboss-rmi-api_1.0_spec
> management-api-3.0.0-b012
> mimepull-1.9.10
> policy-2.7.5
> rt-2.3.1
> saaj-impl-1.5.0
> stax-ex-1.8
> stax2-api-4.1 (as opposed to 3.1.4)
> streambuffer-1.5.6
> txw2-2.4.0-b180830.0438
> woodstox-core-5.1.0 (as opposed to 5.0.3)
> xmlschema-core-2.2.4 (as opposed to 2.2.3)
>
> These are obviously being pulled in as transitive dependencies of
> dependencies I mention above, and I'm sure some of them can be removed, but
> I'll need to work through them to figure out what.
>
> If folks would like to collaborate on this here, it would be most welcome.
>
> Thanks
>
> Jon
>


--
Daniel "soro" Cunha
https://twitter.com/dvlc_
Reply | Threaded
Open this post in threaded view
|

Re: Building with Java 11

Jean-Louis MONTEIRO
Great job Jon.
I did some tests so, so we should be able to get something green hopefully
soon
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Wed, Jan 9, 2019 at 1:17 PM Daniel Cunha <[hidden email]> wrote:

> Hi Jon,
>
> fantastic! I'll take a look on it.
>
> Nice work!
>
> Em ter, 8 de jan de 2019 às 13:26, Jonathan Gallimore <
> [hidden email]> escreveu:
>
> > Its very much a work in progress, but I have been trying to get our build
> > to run on Java 11, with the full set of tests. I'm doing this in a branch
> > which I have been keeping up to date with master as best as I can.
> >
> > My code is here: https://github.com/apache/tomee/pull/293, and broadly
> > speaking, adds these modules:
> >
> >       <dependency>
> >         <groupId>javax.xml.bind</groupId>
> >         <artifactId>jaxb-api</artifactId>
> >         <version>2.3.0</version>
> >       </dependency>
> >       <dependency>
> >         <groupId>org.glassfish.jaxb</groupId>
> >         <artifactId>jaxb-runtime</artifactId>
> >         <version>2.4.0-b180830.0438</version>
> >       </dependency>
> >       <dependency>
> >         <groupId>com.sun.xml.ws</groupId>
> >         <artifactId>jaxws-rt</artifactId>
> >         <version>2.3.1</version>
> >         <type>pom</type>
> >       </dependency>
> >       <dependency>
> >         <groupId>com.sun.xml.ws</groupId>
> >         <artifactId>rt</artifactId>
> >         <version>2.3.1</version>
> >       </dependency>
> >       <dependency>
> >         <groupId>javax.activation</groupId>
> >         <artifactId>javax.activation-api</artifactId>
> >         <version>1.2.0</version>
> >       </dependency>
> >       <dependency>
> >         <groupId>com.sun.activation</groupId>
> >         <artifactId>javax.activation</artifactId>
> >         <version>1.2.0</version>
> >       </dependency>
> >       <dependency>
> >         <groupId>org.jacorb</groupId>
> >         <artifactId>jacorb</artifactId>
> >         <version>3.9</version>
> >       </dependency>
> >       <dependency>
> >         <groupId>org.jboss.spec.javax.rmi</groupId>
> >         <artifactId>jboss-rmi-api_1.0_spec</artifactId>
> >         <version>1.0.6.Final</version>
> >       </dependency>
> >
> > There are some regressions to look at, and there are some errors in the
> > output that need looking at, but one milestone I have reached is getting
> > almost all the arquillian tests (only 1 failure) in the build to pass.
> > Here's my current failures:
> > https://gist.github.com/jgallimore/6968379060a4d4b25f2b6c888a49bbb4
> >
> > In terms of the build artifacts, the additional libraries included are:
> >
> > FastInfoSet-1.2.15
> > gmbal-api-only-3,1,0-b001
> > ha-api-3.1.9
> > istack-commons-runtime-3.0.7
> > jacorb-3.9
> > jacorb-omgapi-3.9
> > javax.activation-1.2.0
> > javax.activation-api-1.2.0
> > javax.annotation-api-1.3.2
> > javax.jws-api-1.1
> > javax.xml.soap-api-1.4.0
> > jaxb-runtime-2.4.0-b180830.0438
> > jaxws-api
> > jboss-rmi-api_1.0_spec
> > management-api-3.0.0-b012
> > mimepull-1.9.10
> > policy-2.7.5
> > rt-2.3.1
> > saaj-impl-1.5.0
> > stax-ex-1.8
> > stax2-api-4.1 (as opposed to 3.1.4)
> > streambuffer-1.5.6
> > txw2-2.4.0-b180830.0438
> > woodstox-core-5.1.0 (as opposed to 5.0.3)
> > xmlschema-core-2.2.4 (as opposed to 2.2.3)
> >
> > These are obviously being pulled in as transitive dependencies of
> > dependencies I mention above, and I'm sure some of them can be removed,
> but
> > I'll need to work through them to figure out what.
> >
> > If folks would like to collaborate on this here, it would be most
> welcome.
> >
> > Thanks
> >
> > Jon
> >
>
>
> --
> Daniel "soro" Cunha
> https://twitter.com/dvlc_
>
   --
    Jean-Louis Monteiro
    http://twitter.com/jlouismonteiro
    http://www.tomitribe.com