[
https://issues.apache.org/jira/browse/KARAF-2260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré resolved KARAF-2260.
-----------------------------------------
Resolution: Fixed
> Overloaded put methord with List<String> comment parameter in
> InstallKarMojo$CommentProperties
> ----------------------------------------------------------------------------------------------
>
> Key: KARAF-2260
> URL: https://issues.apache.org/jira/browse/KARAF-2260
> Project: Karaf
> Issue Type: Bug
> Components: karaf-tooling
> Affects Versions: 3.0.0
> Reporter: ChengRen
> Assignee: Jean-Baptiste Onofré
> Fix For: 3.0.1, 4.0.0
>
>
> Caused by: java.lang.NoSuchMethodError:
> org.apache.karaf.tooling.features.InstallKarsMojo$CommentProperties.put(Ljava/lang/String;Ljava/util/List;Ljava/lang/String;)Ljava/lang/String;
> at
> org.apache.karaf.tooling.features.InstallKarsMojo$OfflineFeaturesService.installFeature(InstallKarsMojo.java:545)
> at
> org.apache.karaf.tooling.features.InstallKarsMojo$OfflineFeaturesService.addRepository(InstallKarsMojo.java:445)
> at
> org.apache.karaf.tooling.features.InstallKarsMojo.execute(InstallKarsMojo.java:224)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> ... 21 more
> ******************************
> - public String put(String key, List<String> commentLines, String
> value) {
> - commentLines = new ArrayList<String>(commentLines);
> - layout.put(key, new Layout(commentLines, null));
> - return storage.put(key, value);
> - }
> ******************************
> these code was removed from 3d9fefbba68e9c24795238b9d38c20b93b308d82
--
This message was sent by Atlassian JIRA
(v6.2#6252)