ctakes-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pei Chen <chen...@apache.org>
Subject Re: svn commit: r1716235 - /ctakes/trunk/pom.xml
Date Tue, 24 Nov 2015 20:26:04 GMT
Sean,
If switching over to Java 8, the compiler plugin needs to be updated
as well to 1.8 in the pom.
Otherwise, the properties is never used.

<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.4</version>
<configuration>
<source>1.7</source> //-->  ${maven.compiler.source}
<target>1.7</target> //--> ${maven.compiler.target}
<compilerArgument>-Xlint</compilerArgument>
</configuration>
</plugin>

On Tue, Nov 24, 2015 at 2:11 PM,  <seanfinan@apache.org> wrote:
> Author: seanfinan
> Date: Tue Nov 24 19:11:45 2015
> New Revision: 1716235
>
> URL: http://svn.apache.org/viewvc?rev=1716235&view=rev
> Log:
> CTAKES-377 Switching to Java 8 in main pom
>
> Modified:
>     ctakes/trunk/pom.xml
>
> Modified: ctakes/trunk/pom.xml
> URL: http://svn.apache.org/viewvc/ctakes/trunk/pom.xml?rev=1716235&r1=1716234&r2=1716235&view=diff
> ==============================================================================
> --- ctakes/trunk/pom.xml (original)
> +++ ctakes/trunk/pom.xml Tue Nov 24 19:11:45 2015
> @@ -77,8 +77,8 @@
>         </mailingLists>
>         <properties>
>                 <ctakes.version>3.2.3-SNAPSHOT</ctakes.version>
> -               <maven.compiler.source>1.7</maven.compiler.source>
> -               <maven.compiler.target>1.7</maven.compiler.target>
> +               <maven.compiler.source>1.8</maven.compiler.source>
> +               <maven.compiler.target>1.8</maven.compiler.target>
>                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
>         </properties>
>
>
>

Mime
View raw message