You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by se...@apache.org on 2015/11/24 20:11:46 UTC

svn commit: r1716235 - /ctakes/trunk/pom.xml

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>
 



RE: svn commit: r1716235 - /ctakes/trunk/pom.xml

Posted by "Finan, Sean" <Se...@childrens.harvard.edu>.
Thanks.   It is like that in my sandbox.  It is annoying juggling local and remote versions of trunk pom ...
Checking in ...

-----Original Message-----
From: Pei Chen [mailto:chenpei@apache.org] 
Sent: Tuesday, November 24, 2015 3:26 PM
To: dev@ctakes.apache.org
Subject: Re: svn commit: r1716235 - /ctakes/trunk/pom.xml

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,  <se...@apache.org> wrote:
> Author: seanfinan
> Date: Tue Nov 24 19:11:45 2015
> New Revision: 1716235
>
> URL: 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__svn.apache.org_vie
> wvc-3Frev-3D1716235-26view-3Drev&d=BQIBaQ&c=qS4goWBT7poplM69zy_3xhKwEW
> 14JZMSdioCoppxeFU&r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=xmhi
> Vm96_mbNedL8fonRyesPE-_hGBBdI_a29qh01_s&s=mPwsZF5zn_WLuSp60ue3PUndJ2TT
> MfUul-5fjTb6DSk&e=
> Log:
> CTAKES-377 Switching to Java 8 in main pom
>
> Modified:
>     ctakes/trunk/pom.xml
>
> Modified: ctakes/trunk/pom.xml
> URL: 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__svn.apache.org_vie
> wvc_ctakes_trunk_pom.xml-3Frev-3D1716235-26r1-3D1716234-26r2-3D1716235
> -26view-3Ddiff&d=BQIBaQ&c=qS4goWBT7poplM69zy_3xhKwEW14JZMSdioCoppxeFU&
> r=fs67GvlGZstTpyIisCYNYmQCP6r0bcpKGd4f7d4gTao&m=xmhiVm96_mbNedL8fonRye
> sPE-_hGBBdI_a29qh01_s&s=45tMdg5ZIYHhCfXUMKgLbt7cE--N3jshlbY7zN4k8m4&e=
> ======================================================================
> ========
> --- 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>
>
>
>

Re: svn commit: r1716235 - /ctakes/trunk/pom.xml

Posted by Pei Chen <ch...@apache.org>.
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,  <se...@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>
>
>
>