You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Christoph Gritschenberger (JIRA)" <ji...@apache.org> on 2012/06/21 14:31:42 UTC
[jira] [Created] (KARAF-1571) InstallKarsMojo fails to compile with
jdk-7
Christoph Gritschenberger created KARAF-1571:
------------------------------------------------
Summary: 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
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
[jira] [Updated] (KARAF-1571) InstallKarsMojo fails to compile with
jdk-7
Posted by "Christoph Gritschenberger (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (KARAF-1571) InstallKarsMojo fails to compile with
jdk-7
Posted by "Christoph Gritschenberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christoph Gritschenberger updated KARAF-1571:
---------------------------------------------
Attachment: (was: java-7.patch)
> 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
>
> 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
[jira] [Assigned] (KARAF-1571) InstallKarsMojo fails to compile
with jdk-7
Posted by "Andreas Pieber (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Pieber reassigned KARAF-1571:
-------------------------------------
Assignee: Andreas Pieber
> 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
[jira] [Work started] (KARAF-1571) InstallKarsMojo fails to compile
with jdk-7
Posted by "Andreas Pieber (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on KARAF-1571 started by Andreas Pieber.
> 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
[jira] [Updated] (KARAF-1571) InstallKarsMojo fails to compile with
jdk-7
Posted by "Christoph Gritschenberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christoph Gritschenberger updated KARAF-1571:
---------------------------------------------
Comment: was deleted
(was: Fixes the issue by removing the put-methods as they were added to felix-util 1.2.0 (and included in fileinstall-3.2.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
>
> 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
[jira] [Updated] (KARAF-1571) InstallKarsMojo fails to compile with
jdk-7
Posted by "Christoph Gritschenberger (JIRA)" <ji...@apache.org>.
[ 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 1.2.0 (and included in fileinstall-3.2.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
> 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
[jira] [Resolved] (KARAF-1571) InstallKarsMojo fails to compile
with jdk-7
Posted by "Andreas Pieber (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (KARAF-1571) InstallKarsMojo fails to compile with
jdk-7
Posted by "Andreas Pieber (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Pieber updated KARAF-1571:
----------------------------------
Affects Version/s: 3.0.0.RC1
Fix Version/s: 3.0.0.RC1
> 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
> Fix For: 3.0.0.RC1
>
> 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