...@gmail.com]
Gesendet: Montag, 30. März 2015 23:50
An: Maven Users List
Betreff: Re: about source and target in maven-compiler-plugin
Hi Sebastian,
For your comments, "Merely setting the target option does not guarantee that
your code actually runs on a JRE with the specified version"
cht-
Von: Lin Ma [mailto:lin...@gmail.com]
Gesendet: Montag, 30. März 2015 23:43
An: Maven Users List
Betreff: Re: about source and target in maven-compiler-plugin
Hi Sebastian,
The sample is interesting. In your sample, you are using source 1.5 in pom.xml?
Thanks.
regards,
Lin
On Mon, Mar 30, 2015 a
--Ursprüngliche Nachricht-
Von: Lin Ma [mailto:lin...@gmail.com]
Gesendet: Montag, 30. März 2015 23:40
An: Maven Users List
Betreff: Re: about source and target in maven-compiler-plugin
Thanks Sebastian,
Where to find the super pom.xml?
regards,
Lin
On Mon, Mar 30, 2015 at 1:18 AM, Se
an
>
>
> -Ursprüngliche Nachricht-
> Von: Lin Ma [mailto:lin...@gmail.com]
> Gesendet: Montag, 30. März 2015 09:56
> An: Maven Users List
> Betreff: Re: about source and target in maven-compiler-plugin
>
> Thanks all the same Sebastian. Your reply is very helpful and
special case but using features such as
> assertions not supported does really cause a compiler error (the maven
> installation used as JDK 1.6)
>
> With regards
> Sebastian
>
> -Ursprüngliche Nachricht-
> Von: Lin Ma [mailto:lin...@gmail.com]
> Gesendet: Montag, 30.
> > Furthermore details about setting the compiler level can be found for
> > example in the Sun Certified Java Programmer Study Guide.
> >
> > With regards
> > Sebastian
> >
> > -Ursprüngliche Nachricht-
> > Von: Lin Ma [mailto:lin...@gmail.com
@gmail.com]
Gesendet: Montag, 30. März 2015 09:56
An: Maven Users List
Betreff: Re: about source and target in maven-compiler-plugin
Thanks all the same Sebastian. Your reply is very helpful and bring us further
thoughts.
regards,
Lin
On Mon, Mar 30, 2015 at 12:47 AM, Sebastian Oerding <
iffer
Maven Plugin to verify your code doesn't use unintended APIs.
With regards
Sebastian
-Ursprüngliche Nachricht-
Von: Lin Ma [mailto:lin...@gmail.com]
Gesendet: Montag, 30. März 2015 09:56
An: Maven Users List
Betreff: Re: about source and target in maven-compiler-plugin
Than
on: Lin Ma [mailto:lin...@gmail.com]
Gesendet: Montag, 30. März 2015 09:56
An: Maven Users List
Betreff: Re: about source and target in maven-compiler-plugin
Thanks all the same Sebastian. Your reply is very helpful and bring us further
thoughts.
regards,
Lin
On Mon, Mar 30, 2015 at 12:47 AM, Sebasti
t-
> Von: Lin Ma [mailto:lin...@gmail.com]
> Gesendet: Montag, 30. März 2015 09:38
> An: Maven Users List
> Betreff: Re: about source and target in maven-compiler-plugin
>
> Hi Maxim,
>
> Why compiler will not fail? Supposing StringBuilder is a class in JDK 1.6,
&g
tion
> comes
> > up
> > > > > (like 'invokedynamic') this really makes a change. Or another
> example
> > > > (I'm
> > > > > not really sure about it): As far as I think a stack map has been
> > added
> > > > > from Jav
e Nachricht-
Von: Lin Ma [mailto:lin...@gmail.com]
Gesendet: Montag, 30. März 2015 09:38
An: Maven Users List
Betreff: Re: about source and target in maven-compiler-plugin
Hi Maxim,
Why compiler will not fail? Supposing StringBuilder is a class in JDK 1.6, but
we force compiler to use 1.5 which
Sebastian
>
>
> -Ursprüngliche Nachricht-
> Von: Lin Ma [mailto:lin...@gmail.com]
> Gesendet: Montag, 30. März 2015 09:20
> An: Maven Users List
> Betreff: Re: about source and target in maven-compiler-plugin
>
> Thanks Sebastian,
>
> 1. I am using JDK 1.7/1.8
added
> > > > from Java 5 to Java 1.6. This should improve performance and makes
> > subtle
> > > > differences when ClassNotFoundException are thrown. You can use a JDK
> > to
> > > > compile code for different but lower versions. This way can benefit
> >
; > > from Java 5 to Java 1.6. This should improve performance and makes
> subtle
> > > differences when ClassNotFoundException are thrown. You can use a JDK
> to
> > > compile code for different but lower versions. This way can benefit
> from
> > > some optimi
: Lin Ma [mailto:lin...@gmail.com]
Gesendet: Montag, 30. März 2015 09:20
An: Maven Users List
Betreff: Re: about source and target in maven-compiler-plugin
Thanks Sebastian,
1. I am using JDK 1.7/1.8 for both development and deployment in runtime, shall
I change 1.5 of source and target to 1.7/1.8
gt; compile code for different but lower versions. This way can benefit from
> > some optimizations which weren't available with the old JDK and are
> > compatible.
> >
> > With regards
> > Sebastian
> >
> > -Ursprüngliche Nachricht-
> > V
optimizations which weren't available with the old JDK and are
> compatible.
>
> With regards
> Sebastian
>
> -Ursprüngliche Nachricht-
> Von: Lin Ma [mailto:lin...@gmail.com]
> Gesendet: Montag, 30. März 2015 07:46
> An: Maven Users List
> Betreff: a
eren't available with the old JDK and are compatible.
With regards
Sebastian
-Ursprüngliche Nachricht-
Von: Lin Ma [mailto:lin...@gmail.com]
Gesendet: Montag, 30. März 2015 07:46
An: Maven Users List
Betreff: about source and target in maven-compiler-plugin
Hello Maven masters,
F
Thanks Olivier,
I am using JDK 1.8 for development and shall I change source and target to
1.8? I think the most popular version of Java are 1.7 or 1.8, not sure why
Maven makes 1.5 as default?
regards,
Lin
On Sun, Mar 29, 2015 at 10:53 PM, Olivier Lamy wrote:
> On 30 March 2015 at 16:46, Lin
On 30 March 2015 at 16:46, Lin Ma wrote:
> Hello Maven masters,
>
> For maven-compiler-plugin(a sample below), have a quick question. I read
> this document (http://maven.apache.org/plugins/maven-compiler-plugin/),
> and
> confused what means source and target 1.5 here, it seems it is an internal
Hello Maven masters,
For maven-compiler-plugin(a sample below), have a quick question. I read
this document (http://maven.apache.org/plugins/maven-compiler-plugin/), and
confused what means source and target 1.5 here, it seems it is an internal
version number of Maven, independent of JDK?
ma
22 matches
Mail list logo