You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/02/24 07:06:28 UTC

[camel-spring-boot] 10/12: Fixed camel-spring-cloud-* starters

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git

commit 55cf89a6a5ae9c8741e4aa18463fa62b588a9058
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Feb 22 09:42:34 2020 +0100

    Fixed camel-spring-cloud-* starters
---
 components-starter/camel-spring-cloud-starter/pom.xml    | 16 ++--------------
 .../springboot/maven/AbstractSpringBootGenerator.java    |  4 ++--
 2 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/components-starter/camel-spring-cloud-starter/pom.xml b/components-starter/camel-spring-cloud-starter/pom.xml
index 01e27a4..bb1ecd3 100644
--- a/components-starter/camel-spring-cloud-starter/pom.xml
+++ b/components-starter/camel-spring-cloud-starter/pom.xml
@@ -35,21 +35,9 @@
       <version>${spring-boot-version}</version>
     </dependency>
     <dependency>
-      <groupId>org.apache.camel</groupId>
+      <groupId>org.apache.camel.springboot</groupId>
       <artifactId>camel-spring-cloud</artifactId>
-      <version>${camel-version}</version>
-      <!--START OF GENERATED CODE-->
-      <exclusions>
-        <exclusion>
-          <groupId>ch.qos.logback</groupId>
-          <artifactId>logback-classic</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>ch.qos.logback</groupId>
-          <artifactId>logback-core</artifactId>
-        </exclusion>
-      </exclusions>
-      <!--END OF GENERATED CODE-->
+      <version>${project.version}</version>
     </dependency>
     <!--START OF GENERATED CODE-->
     <dependency>
diff --git a/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/AbstractSpringBootGenerator.java b/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/AbstractSpringBootGenerator.java
index 3297eb2..aee711e 100644
--- a/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/AbstractSpringBootGenerator.java
+++ b/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/AbstractSpringBootGenerator.java
@@ -83,8 +83,8 @@ public abstract class AbstractSpringBootGenerator extends AbstractMojo {
     protected String getMainDepGroupId() {
         if ("camel-spring-boot-starter".equals(project.getArtifactId())) {
             return "org.apache.camel.springboot";
-        } else if (project.getArtifactId().startsWith("camel-spring-cloud-")) {
-            // any of the -cloud-xxx are from camel-spring-boot
+        } else if (project.getArtifactId().startsWith("camel-spring-cloud")) {
+            // any of the camel-spring-cloud are from camel-spring-boot
             return "org.apache.camel.springboot";
         } else {
             // others are from camel