You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Andreas Pieber (JIRA)" <ji...@apache.org> on 2012/06/21 15:40:42 UTC

[jira] [Resolved] (KARAF-1571) InstallKarsMojo fails to compile with jdk-7

     [ https://issues.apache.org/jira/browse/KARAF-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Pieber resolved KARAF-1571.
-----------------------------------

    Resolution: Fixed

Committed r1352532
        M       tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java
r1352532 = 3d9fefbba68e9c24795238b9d38c20b93b308d82 (refs/remotes/origin/trunk)

                
> InstallKarsMojo fails to compile with jdk-7
> -------------------------------------------
>
>                 Key: KARAF-1571
>                 URL: https://issues.apache.org/jira/browse/KARAF-1571
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 3.0.0.RC1
>         Environment: 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)
>            Reporter: Christoph Gritschenberger
>            Assignee: Andreas Pieber
>         Attachments: java-7.patch
>
>
> Compiling fails with the error-message
> {code}
> [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
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira