You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2020/12/03 21:45:03 UTC

[GitHub] [maven-archetypes] elharo commented on a change in pull request #3: Enabled generating Java 9+ projects as well as using JUnit 5.x

elharo commented on a change in pull request #3:
URL: https://github.com/apache/maven-archetypes/pull/3#discussion_r535655913



##########
File path: maven-archetype-quickstart/src/main/resources-filtered/archetype-resources/pom.xml
##########
@@ -14,17 +44,19 @@
 
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <maven.compiler.source>1.7</maven.compiler.source>
-    <maven.compiler.target>1.7</maven.compiler.target>
+#if ( ${javaCompilerVersion} == $null )
+#compilerProperties( "1.7" )
+#else
+#compilerProperties( ${javaCompilerVersion} )
+#end
   </properties>
 
   <dependencies>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>4.11</version>
-      <scope>test</scope>
-    </dependency>
+#if ( ${junitVersion} == $null )
+#junit( "4.12" )

Review comment:
       now 4.13.1 or github will spam projects with security warnings :-(




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org