On Tue, Jul 10, 2018 at 2:46 PM Rob Tompkins <chtom...@gmail.com> wrote:

>
>
> > On Jul 10, 2018, at 4:42 PM, Gary Gregory <garydgreg...@gmail.com>
> wrote:
> >
> > On Tue, Jul 10, 2018 at 2:40 PM Rob Tompkins <chtom...@gmail.com
> <mailto:chtom...@gmail.com>> wrote:
> >
> >>
> >>
> >>> On Jul 10, 2018, at 4:13 PM, Gilles <gil...@harfang.homelinux.org>
> >> wrote:
> >>>
> >>> On Tue, 10 Jul 2018 15:57:24 -0400, Rob Tompkins wrote:
> >>>> I’ve gotten through most of the build except that I get animal
> >>>> sniffer errors depending on what target version I choose. Below
> >>>> maven.compiler.target I’ve added:
> >>>>
> >>>> <javaTarget.majorVersion>1</javaTarget.majorVersion>
> >>>> <javaTarget.minorVersion>8</javaTarget.minorVersion>
> >>>>
> >>>> to try to get the animal sniffer to behave, but it still yields
> >>>> errors. @Gilles - thoughts?
> >>>
> >>> The component provides functionality that can be used with Java 6+.
> >>> All modules except "commons-rng-examples" are Java 6 compatible.
> >>> Some sub-modules of "commons-rng-examples" require a more recent
> >>> JDK (and the default target is Java 8).
> >>> Module "commons-rng-examples/examples-jpms" requires Java 9, as it
> >>> tests JPMS. [The "maven.compiler.target" is set accordingly in the
> >>> POM.]
> >>> By which tool are the
> >>> javaTarget.majorVersion
> >>> and
> >>> javaTarget.minorVersion
> >>> variables required?
> >>> Where are they set?
> >>
> >> Do you care if the animal-sniffer-plugin is run on this sub-project?
> >> Somehow, setting the source and target variables set up animal-sniffer
> to
> >> download the signature artifact "org.codehaus.mojo.signature:java90:1.0”
> >> which isn’t in maven central. We can either set animal-sniffer to a
> >> specific java version or avoid it all together on that subproject. What
> do
> >> you want to do?
> >>
> >
> > If you build we Java 9, you can use the "-release" option, but it seems
> we
> > are a ways from that…
>
> I am running in -Prelease mode with java 9 with all of this. My run is
> "mvn -Dcommons.release.dryRun=true -Ptest-deploy -Prelease
> -Pcommons-rng-examples clean test site deploy"
>

Sorry, I was talking about using the --release option on the Java compiler
instead of the animal-sniffer plugin.

Gary


>
> >
> > Gary
> >
> >
> >> -Rob
> >>
> >>>
> >>> Gilles
> >>>
> >>>>
> >>>> -Rob
> >>>>
> >>>>> On Jul 10, 2018, at 3:16 PM, Rob Tompkins <chtom...@gmail.com>
> wrote:
> >>>>>
> >>>>> I don’t know what we want it to be here. @GIlles - do you have any
> >> suggestions?
> >>>>>
> >>>>> -ROb
> >>>>
> >>>>
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> >>> For additional commands, e-mail: dev-h...@commons.apache.org
> >>>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org <mailto:
> dev-unsubscr...@commons.apache.org>
> >> For additional commands, e-mail: dev-h...@commons.apache.org <mailto:
> dev-h...@commons.apache.org>
>

Reply via email to