Uploaded image for project: 'Cactus'
  1. Cactus
  2. CACTUS-156

javac settings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7
    • Other
    • None

    Description

      I think the maven plugin should use the same compile flags then the java task.
      In the plugin.jelly is missing the option for the souzrce compatibility. So i patched this.

      Regards,
      Henner Kollmann
      ======================================================================================================

      — plugin.jelly.orig 2004-11-09 22:38:44.000000000 +0100
      +++ plugin.jelly 2004-11-14 09:45:19.921875000 +0100
      @@ -183,6 +183,7 @@
      debug="${pom.getPluginContext('maven-java-plugin').getVariable('maven.compile.debug')}"
      deprecation="${pom.getPluginContext('maven-java-plugin').getVariable('maven.compile.deprecation')}"
      target="${pom.getPluginContext('maven-java-plugin').getVariable('maven.compile.target')}"
      + source="${pom.getPluginContext('maven-java-plugin').getVariable('maven.compile.source')}"
      optimize="${pom.getPluginContext('maven-java-plugin').getVariable('maven.compile.optimize')}">

      <ant:src path="${cactus.src.dir}"/>

      Attachments

        Activity

          People

            vmassol Vincent Massol
            hkollmann Henner Kollmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: