You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Robert Scholte <rf...@apache.org> on 2015/02/21 11:18:08 UTC

Re: svn commit: r1661054 - /maven/plugins/trunk/maven-jdeps-plugin/pom.xml

Hi Hervé,

I actually wanted to revert this, because the reason is not 100% correct,  
but I don't wonder if anyone will notice:
- the code itself can be built perfectly fine with JDK5.
- For the project using this plugin it requires at least JDK8 to *run the  
maven-jdeps-plugin*, the project code itself can and probably will be  
compiled with a lower version (I haven't checked it with JDK5, but you  
might wonder if that's interesting enough). That's the main reason why I  
added extra toolchain support, so can use different toolchains per plugin.
- 3.0-SNAPSHOT means first of all Maven-3.x compatible, and not JDK6  
compatible. In fact: Maven-3.0.x and Maven 3.1.x are JDK5 versions, which  
would actually mean that the plugin should still be built with JDK5.

Regarding the last bullet: we would make our life easier if we in say that  
3.x Maven Plugins require both Maven 3.x AND JDK6.

For that reason I'll keep it like this.

thanks,
Robert

Op Fri, 20 Feb 2015 04:35:27 +0100 schreef <hb...@apache.org>:

> Author: hboutemy
> Date: Fri Feb 20 03:35:27 2015
> New Revision: 1661054
>
> URL: http://svn.apache.org/r1661054
> Log:
> source=target=1.6 since that's the minimum supported by JDK 9 (and  
> consistent with version 3.0-SNAPSHOT choice)
>
> Modified:
>     maven/plugins/trunk/maven-jdeps-plugin/pom.xml
>
> Modified: maven/plugins/trunk/maven-jdeps-plugin/pom.xml
> URL:  
> http://svn.apache.org/viewvc/maven/plugins/trunk/maven-jdeps-plugin/pom.xml?rev=1661054&r1=1661053&r2=1661054&view=diff
> ==============================================================================
> --- maven/plugins/trunk/maven-jdeps-plugin/pom.xml (original)
> +++ maven/plugins/trunk/maven-jdeps-plugin/pom.xml Fri Feb 20 03:35:27  
> 2015
> @@ -44,6 +44,8 @@ under the License.
>   <properties>
>      <mavenVersion>3.0</mavenVersion>
> +    <maven.compiler.source>1.6</maven.compiler.source><!-- JDK 9:  
> Source option 1.5 is no longer supported. Use 1.6 or later. -->
> +    <maven.compiler.target>1.6</maven.compiler.target><!-- JDK 9:  
> Target option 1.5 is no longer supported. Use 1.6 or later. -->
>    </properties>
>   <dependencies>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org