1 2 Previous Next 16 Replies Latest reply on Apr 25, 2017 10:53 AM by oscarcadena-1 Go to original post
      • 15. Re: JBOSS ENRICH ELEMENT PROBLEM
        oscarcadena-1

        I'm sorry lars i forget to mention, the fuse version is jboss-fuse-karaf-6.3.0.redhat-187 downladed from the red hat page.

        • 16. Re: JBOSS ENRICH ELEMENT PROBLEM
          oscarcadena-1

          Hi lars.

           

          I have seen that in other parts of the pom.xml the camel version is different from the image i have sent to you.

           

          this is the whole pom.

           

          <?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-spring</artifactId>

            <version>1.0.0-SNAPSHOT</version>

            <packaging>bundle</packaging>

            <name>Camel Spring Quickstart</name>

            <description>Empty Camel Spring 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.3.0.redhat-187</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-630187</version>

              </dependency>

              <dependency>

                <groupId>org.apache.camel</groupId>

                <artifactId>camel-spring</artifactId>

                <version>2.17.0.redhat-630187</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-spring</artifactId>

                <version>2.17.0.redhat-630187</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>

              <repository>

                <releases>

                  <enabled>true</enabled>

                  <updatePolicy>never</updatePolicy>

                </releases>

                <snapshots>

                  <enabled>false</enabled>

                </snapshots>

                <id>red-hat-ga-repository</id>

                <name>Red Hat GA Repository</name>

                <url>https://maven.repository.redhat.com/ga</url>

              </repository>

              <repository>

                <id>redhat-early-access-repository</id>

                <url>https://maven.repository.redhat.com/earlyaccess/all</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>

              <pluginRepository>

                <releases>

                  <enabled>true</enabled>

                  <updatePolicy>never</updatePolicy>

                </releases>

                <snapshots>

                  <enabled>false</enabled>

                </snapshots>

                <id>red-hat-ga-repository</id>

                <name>Red Hat GA Repository</name>

                <url>https://maven.repository.redhat.com/ga</url>

              </pluginRepository>

              <pluginRepository>

                <id>redhat-early-access-repository</id>

                <url>https://maven.repository.redhat.com/earlyaccess/all</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>

                  <configuration>

                    <instructions>

                      <Bundle-SymbolicName>CompositeV1</Bundle-SymbolicName>

                      <Bundle-Name>Empty Camel Spring Example [CompositeV1]</Bundle-Name></instructions></configuration>

                </plugin>

                <plugin>

                  <artifactId>maven-compiler-plugin</artifactId>

                  <version>3.5.1</version>

                  <configuration>

                    <source>1.8</source>

                    <target>1.8</target>

                  </configuration>

                </plugin>

                <plugin>

                  <artifactId>maven-resources-plugin</artifactId>

                  <version>3.0.1</version>

                  <configuration>

                    <encoding>UTF-8</encoding>

                  </configuration>

                </plugin>

                <plugin>

                  <groupId>org.apache.camel</groupId>

                  <artifactId>camel-maven-plugin</artifactId>

                  <version>2.17.0.redhat-630187</version>

                  <configuration>

                    <fileApplicationContextUri>src/main/resources/META-INF/spring/camel-context.xml</fileApplicationContextUri>

                  </configuration>

                </plugin>

              </plugins>

            </build>

          </project>

          1 2 Previous Next