[ https://issues.apache.org/jira/browse/KARAF-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christoph Gritschenberger updated KARAF-1571:
---------------------------------------------
Attachment: java-7.patch
Fixes the issue by removing the put-methods as they were added to felix-util in 1.2.0 and
thus included in file.install-2.3.4.
> InstallKarsMojo fails to compile with jdk-7
> -------------------------------------------
>
> Key: KARAF-1571
> URL: https://issues.apache.org/jira/browse/KARAF-1571
> Project: Karaf
> Issue Type: Bug
> 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
|