Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-1897

camel dependency versions mixed up in new Fuse project wizard (RHDS10)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • Backlog
    • 8.0.0
    • Camel Editor
    • None

      This is pom.xml generated with new Fuse project wizard in RHDS 10 Fuse tooling:

      <?xml version="1.0" encoding="UTF-8"?>
      <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <modelVersion>4.0.0</modelVersion>
        <groupId>com.mycompany</groupId>
        <artifactId>camel-blueprint-cbr</artifactId>
        <version>1.0.0-SNAPSHOT</version>
        <packaging>bundle</packaging>
        <name>Fuse CBR Quickstart</name>
        <description>Camel Content-Based Router Example</description>
        <licenses>
          <license>
            <name>Apache License, Version 2.0</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
            <distribution>repo</distribution>
          </license>
        </licenses>
        <properties>
          <camel.version>2.15.1.redhat-621084</camel.version>
          <version.maven-bundle-plugin>2.3.7</version.maven-bundle-plugin>
          <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
          <jboss.fuse.bom.version>6.2.1.redhat-084</jboss.fuse.bom.version>
          <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        </properties>
        <dependencyManagement>
          <dependencies>
            <dependency>
              <groupId>org.jboss.fuse.bom</groupId>
              <artifactId>jboss-fuse-parent</artifactId>
              <version>${jboss.fuse.bom.version}</version>
              <type>pom</type>
              <scope>import</scope>
            </dependency>
          </dependencies>
        </dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-core</artifactId>
            <version>2.17.0.redhat-630077</version>
          </dependency>
          <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-blueprint</artifactId>
            <version>2.17.0.redhat-630077</version>
          </dependency>
          <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
          </dependency>
          <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
          </dependency>
          <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
          </dependency>
          <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-test-blueprint</artifactId>
            <version>2.17.0.redhat-630077</version>
          </dependency>
          <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-mail</artifactId>
            <version>2.17.0.redhat-630077</version>
          </dependency>
        </dependencies>
        <repositories>
          <repository>
            <releases>
              <enabled>true</enabled>
              <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
              <enabled>false</enabled>
            </snapshots>
            <id>fuse-public-repository</id>
            <name>FuseSource Community Release Repository</name>
            <url>https://repo.fusesource.com/nexus/content/groups/public</url>
          </repository>
        </repositories>
        <pluginRepositories>
          <pluginRepository>
            <releases>
              <enabled>true</enabled>
              <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
              <enabled>false</enabled>
            </snapshots>
            <id>fuse-public-repository</id>
            <name>FuseSource Community Release Repository</name>
            <url>https://repo.fusesource.com/nexus/content/groups/public</url>
          </pluginRepository>
        </pluginRepositories>
        <build>
          <defaultGoal>install</defaultGoal>
          <plugins>
            <plugin>
              <groupId>org.apache.felix</groupId>
              <artifactId>maven-bundle-plugin</artifactId>
              <version>${version.maven-bundle-plugin}</version>
              <extensions>true</extensions>
            </plugin>
            <plugin>
              <artifactId>maven-compiler-plugin</artifactId>
              <version>2.5.1</version>
              <configuration>
                <source>1.7</source>
                <target>1.7</target>
              </configuration>
            </plugin>
            <plugin>
              <artifactId>maven-resources-plugin</artifactId>
              <version>2.6</version>
              <configuration>
                <encoding>UTF-8</encoding>
              </configuration>
            </plugin>
            <plugin>
              <groupId>org.apache.camel</groupId>
              <artifactId>camel-maven-plugin</artifactId>
              <version>2.17.0.redhat-630077</version>
              <configuration>
                <useBlueprint>true</useBlueprint>
              </configuration>
            </plugin>
          </plugins>
        </build>
      </project>
      

      Why are there dependency versions hardcoded, when they are not needed as there is BOM defined?

              Unassigned Unassigned
              jludvice Josef Ludvicek (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: