Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1571

InstallKarsMojo fails to compile with jdk-7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0.RC1
    • 3.0.0.RC1
    • None
    • None
    • java version "1.7.0_03"
      OpenJDK Runtime Environment (IcedTea7 2.1.1pre) (7~u3-2.1.1~pre1-1ubuntu3)
      OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode)

    Description

      Compiling fails with the error-message

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project karaf-maven-plugin: Compilation failure: Compilation failure:
      [ERROR] /home/christoph/cdl/karaf/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java:[580,22] error: name clash: put(String,List<String>,List<String>) in CommentProperties and put(String,List,List) in Properties have the same erasure, yet neither overrides the other
      [ERROR] /home/christoph/cdl/karaf/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java:[601,22] error: name clash: put(String,List<String>,String) in CommentProperties and put(String,List,String) in Properties have the same erasure, yet neither overrides the other
      

      Attachments

        1. java-7.patch
          2 kB
          Christoph Gritschenberger

        Activity

          People

            pieber Andreas Pieber
            christophg Christoph Gritschenberger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: