Hi,
if you are in SE, you should only need 'weld-se-shaded' artifact (as a JAR).
As it is "shaded", it brings along all the other parts of Weld you might need.
Matej
----- Original Message -----
> From: "Alex Sviridov" <
ooo_saturn7@mail.ru>
> To: "weld-dev" <
weld-dev@lists.jboss.org>
> Sent: Monday, September 18, 2017 12:17:28 PM
> Subject: Re: [weld-dev] Weld and Java 9 JPMS
>
> Hi Matej
>
> I am just trying to make Weld work in Java 9 (JavaSE + JPMS).
>
> I use the following jars as automatic modules:
>
> weld-environment-common-3.0.2-SNAPSHOT.jar
> weld-se-core-3.0.2-SNAPSHOT.jar
> weld-se-shaded-3.0.2-SNAPSHOT.jar
> weld-spi-3.0.SP1.jar
> weld-core-impl-3.0.2-SNAPSHOT.jar
>
> Is this right configuration? Or should I add/remove something.
>
> Best regards, Alex
>
>
>
> Понедельник, 18 сентября 2017, 12:41 +03:00 от Matej Novotny
> <
manovotn@redhat.com>:
>
> Uhm, is there anything blocking you from placing it where you would in Java
> 8?
> E.g. src/main/resources/META-INF?
>
> I don't think I have tried this combination (or I do not recall).
> From the top of my head I don't know any JDK 9 limitation which would forbid
> to use XML descriptors in this way.
> I might be a bit rusty though; been a while since I played with Java 9.
>
> Please do report back with how this works for you :)
> Matej
>
> ----- Original Message -----
> > From: "Alex Sviridov" <
ooo_saturn7@mail.ru >
> > To: "Matej Novotny" <
manovotn@redhat.com >
> > Sent: Monday, September 18, 2017 10:28:11 AM
> > Subject: Re[2]: [weld-dev] Weld and Java 9 JPMS
> >
> > Thank you for your answer. I will try. But where should I place beans.xml
> > to make Weld read it if I use Java SE+ JPMS?
> >
> > Best regards, Alex
> >
> >
> > >Понедельник, 18 сентября 2017, 8:10 +03:00 от Matej Novotny
> > ><
manovotn@redhat.com >:
> > >
> > >Hi Alex
> > >
> > >Back there we did some tests with earlier versions of Java 9 and
> > >eliminated
> > >some crucial problems.
> > >I think it should be possible to take *existing* app and run it on Java 9.
> > >
> > >However, creating a whole new modular project might present some
> > >additional
> > >challenges.
> > >Weld itself is not modularized (since it needs to run on Java 8),
> > >therefore
> > >you would need to list some extra "requires" in module-info.java for Weld.
> > >You also need to have reflection access allowed (we need to instantiate
> > >proxies etc) but last time I checked, it was by default enabled in JDK 9
> > >wi
> > >th just warning showing up.
> > >Other than that, it might just work.
> > >
> > >To answer your other question - no, there is no tutorial, for there is no
> > >special difference between Weld and many other projects in regard to JDK
> > >9.
> > >
> > >Matej
> > >
> > >----- Original Message -----
> > >> From: "Alex Sviridov" <
ooo_saturn7@mail.ru >
> > >> To: "weld-dev" <
weld-dev@lists.jboss.org >
> > >> Sent: Sunday, September 17, 2017 3:25:49 PM
> > >> Subject: [weld-dev] Weld and Java 9 JPMS
> > >>
> > >> Hi all
> > >>
> > >> Could anyone provide information how weld works (if works) with Java 9
> > >> JPMS?
> > >> Is there any tutorial?
> > >>
> > >> Best regards, Alex
> > >>
> > >> _______________________________________________
> > >> weld-dev mailing list
> > >>
weld-dev@lists.jboss.org
> > >>
https://lists.jboss.org/mailman/listinfo/weld-dev
> >
> >
> > --
> > Alex Sviridov
> >
>
>
> --
> Alex Sviridov
>
> _______________________________________________
> weld-dev mailing list
>
weld-dev@lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/weld-dev