[ https://issues.apache.org/jira/browse/MARCHETYPES-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17799889#comment-17799889 ]
ASF GitHub Bot commented on MARCHETYPES-78: ------------------------------------------- judovana commented on PR #20: URL: https://github.com/apache/maven-archetypes/pull/20#issuecomment-1867906389 > While I have no objection to selecting Java 8 by default instead of Java 7, I feel I need to keep repeating that Java 7 is not end of life. It is supported by and available from multiple vendors. Oracle != Java. I think the pointing part is support of openjdk - last maintainer of openjdk7 was azul, and they dropped it. > Update default Java version in archetype projects to 1.8 > -------------------------------------------------------- > > Key: MARCHETYPES-78 > URL: https://issues.apache.org/jira/browse/MARCHETYPES-78 > Project: Maven Archetype Bundles > Issue Type: Improvement > Reporter: jiri vanek > Priority: Major > > namely at least > maven-archetype-plugin/src/main/resources-filtered/archetype-resources/pom.xml > maven-archetype-archetype/src/main/resources-filtered/archetype-resources/src/main/resources/archetype-resources/pom.xml > maven-archetype-archetype/src/main/resources-filtered/archetype-resources/pom.xml > maven-archetype-profiles/src/main/resources-filtered/archetype-resources/pom.xml > maven-archetype-simple/src/main/resources-filtered/archetype-resources/pom.xml > maven-archetype-portlet/src/main/resources-filtered/archetype-resources/pom.xml > maven-archetype-quickstart/src/main/resources-filtered/archetype-resources/pom.xml > still uses 1.7 as default version. > I'm happy to fix them all (see > https://github.com/apache/maven-archetypes/pull/18 and > https://issues.apache.org/jira/projects/MARCHETYPES/issues/MARCHETYPES-76), > but first I need some ack from somebody with commit permissions to > MARCHETYPES/https://github.com/apache/maven-archetypes > {code:java} > grep -ir -e maven.compiler.source -e maven.compiler.target| grep -v test > maven-archetype-plugin/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.source>1.7</maven.compiler.source> > maven-archetype-plugin/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.target>1.7</maven.compiler.target> > maven-archetype-archetype/src/main/resources-filtered/archetype-resources/src/main/resources/archetype-resources/pom.xml: > <maven.compiler.source>1.7</maven.compiler.source> > maven-archetype-archetype/src/main/resources-filtered/archetype-resources/src/main/resources/archetype-resources/pom.xml: > <maven.compiler.target>1.7</maven.compiler.target> > maven-archetype-archetype/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.source>1.7</maven.compiler.source> > maven-archetype-archetype/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.target>1.7</maven.compiler.target> > maven-archetype-profiles/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.source>1.7</maven.compiler.source> > maven-archetype-profiles/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.target>1.7</maven.compiler.target> > maven-archetype-webapp/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.source>1.8</maven.compiler.source> > maven-archetype-webapp/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.target>1.8</maven.compiler.target> > maven-archetype-simple/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.source>1.7</maven.compiler.source> > maven-archetype-simple/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.target>1.7</maven.compiler.target> > maven-archetype-portlet/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.source>1.7</maven.compiler.source> > maven-archetype-portlet/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.target>1.7</maven.compiler.target> > maven-archetype-quickstart/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.source>${jcv}</maven.compiler.source> > maven-archetype-quickstart/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.target>${jcv}</maven.compiler.target> > {code} > with tests: > {code:java} > grep -ir -e maven.compiler.source -e maven.compiler.target > maven-archetype-plugin/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.source>1.7</maven.compiler.source> > maven-archetype-plugin/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.target>1.7</maven.compiler.target> > maven-archetype-archetype/src/main/resources-filtered/archetype-resources/src/main/resources/archetype-resources/pom.xml: > <maven.compiler.source>1.7</maven.compiler.source> > maven-archetype-archetype/src/main/resources-filtered/archetype-resources/src/main/resources/archetype-resources/pom.xml: > <maven.compiler.target>1.7</maven.compiler.target> > maven-archetype-archetype/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.source>1.7</maven.compiler.source> > maven-archetype-archetype/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.target>1.7</maven.compiler.target> > maven-archetype-profiles/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.source>1.7</maven.compiler.source> > maven-archetype-profiles/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.target>1.7</maven.compiler.target> > maven-archetype-webapp/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.source>1.8</maven.compiler.source> > maven-archetype-webapp/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.target>1.8</maven.compiler.target> > maven-archetype-simple/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.source>1.7</maven.compiler.source> > maven-archetype-simple/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.target>1.7</maven.compiler.target> > maven-archetype-portlet/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.source>1.7</maven.compiler.source> > maven-archetype-portlet/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.target>1.7</maven.compiler.target> > maven-archetype-quickstart/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.source>${jcv}</maven.compiler.source> > maven-archetype-quickstart/src/main/resources-filtered/archetype-resources/pom.xml: > <maven.compiler.target>${jcv}</maven.compiler.target> > maven-archetype-quickstart/src/test/resources/projects/it-java-7/reference/pom.xml: > <maven.compiler.source>1.7</maven.compiler.source> > maven-archetype-quickstart/src/test/resources/projects/it-java-7/reference/pom.xml: > <maven.compiler.target>1.7</maven.compiler.target> > maven-archetype-quickstart/src/test/resources/projects/it-java-7-junit-4.12/reference/pom.xml: > <maven.compiler.source>1.7</maven.compiler.source> > maven-archetype-quickstart/src/test/resources/projects/it-java-7-junit-4.12/reference/pom.xml: > <maven.compiler.target>1.7</maven.compiler.target> > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)