This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/camel-main by this push: new ae96bd7cb1 Remove Capability capability ae96bd7cb1 is described below commit ae96bd7cb1305869ffe7a53715188f4b62cc960d Author: JiriOndrusek <ondrusek.j...@gmail.com> AuthorDate: Thu Oct 3 11:18:34 2024 +0200 Remove Capability capability --- .../org/apache/camel/quarkus/maven/CqCatalog.java | 23 ---------------------- 1 file changed, 23 deletions(-) diff --git a/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/CqCatalog.java b/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/CqCatalog.java index 613c885de4..ab3b27f00b 100644 --- a/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/CqCatalog.java +++ b/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/CqCatalog.java @@ -25,9 +25,6 @@ import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; -import java.util.Map; -import java.util.Properties; -import java.util.TreeMap; import java.util.function.Function; import java.util.function.Predicate; import java.util.stream.Collectors; @@ -350,7 +347,6 @@ public class CqCatalog { private static final String TRANSFORMER_CATALOG = CQ_CATALOG_DIR + "/transformers.properties"; private static final String OTHER_CATALOG = CQ_CATALOG_DIR + "/others.properties"; private static final String BEANS_CATALOG = CQ_CATALOG_DIR + "/beans.properties"; - private static final String CAPABILITIES_CATALOG = "org/apache/camel/catalog/capabilities.properties"; private CamelCatalog camelCatalog; @@ -446,10 +442,6 @@ public class CqCatalog { return BEANS_CATALOG; } - protected String getCapabilitiesCatalog() { - return CAPABILITIES_CATALOG; - } - @Override public List<String> findComponentNames() { List<String> names = new ArrayList<>(); @@ -548,21 +540,6 @@ public class CqCatalog { return names; } - @Override - public Map<String, String> findCapabilities() { - final Properties properties = new Properties(); - - InputStream is = getCamelCatalog().getVersionManager().getResourceAsStream(getCapabilitiesCatalog()); - if (is != null) { - try { - properties.load(is); - } catch (IOException e) { - // ignore - } - } - - return new TreeMap<>((Map<String, String>) (Map) properties); - } } public static class GavCqCatalog extends CqCatalog implements AutoCloseable {