Uploaded image for project: 'Maven Archetype Bundles'
  1. Maven Archetype Bundles
  2. MARCHETYPES-78

Update default Java version in archetype projects to 1.8

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5
    • None
    • None

    Description

      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 use 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

      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>
      

      with tests:

      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>
      
      

      Attachments

        Issue Links

          Activity

            People

              elharo Elliotte Rusty Harold
              judovana jiri vanek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: