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

Fix master build failing with not finding some artefacts for cxf code first example

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 10.2.0
    • Fix Version/s: 10.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Expecting empty but was:<[{"severity"=2, "sourceId"="JDT", "Creation time: "=1515179961236L, "classpathFileFormat"="false", "message"="The container 'Maven Dependencies' references non existing library '/home/jenkins/.m2/repository/org/apache/cxf/cxf-rt-transports-http-jetty/3.1.11.fuse-000171/cxf-rt-transports-http-jetty-3.1.11.fuse-000171.jar'", "cycleDetected"="false", "type: "="org.eclipse.jdt.core.buildpath_problem", "outputOverlappingSource"="false", "location"="Build path", "arguments"="0:", "resource affected"="/home/jenkins/workspace/jbosstools-fuse_master/sources/editor/tests/org.fusesource.ide.projecttemplates.tests.integration/target/work sp@cé/FuseIntegrationProjectCreatorRunnableForCXFCodeFirstIT-CXFCodeFirstJavaProject-2.20.1", "id"=964, "categoryId"=10},
          {"severity"=2, "sourceId"="JDT", "Creation time: "=1515179961241L, "resource affected"="/home/jenkins/workspace/jbosstools-fuse_master/sources/editor/tests/org.fusesource.ide.projecttemplates.tests.integration/target/work sp@cé/FuseIntegrationProjectCreatorRunnableForCXFCodeFirstIT-CXFCodeFirstJavaProject-2.20.1", "message"="The project cannot be built until build path errors are resolved", "categoryId"=10, "type: "="org.eclipse.jdt.core.problem"},
          {"severity"=2, "groupId"="org.apache.cxf", "Creation time: "=1515179958913L, "charEnd"=2363, "message"="Missing artifact org.apache.cxf:cxf-rt-transports-http-jetty:jar:3.1.11.fuse-000171", "version"="3.1.11.fuse-000171", "resource affected content"="<?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-java-cxf-code-first</artifactId>
        <version>1.0.0-SNAPSHOT</version>
        <packaging>bundle</packaging>
        <name>Camel Java CXF Code-first Quickstart</name>
        <description>Camel Java DSL Example with a CXF Code-first Service</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>
          <skipTests>true</skipTests>
          <version.maven-bundle-plugin>3.2.0</version.maven-bundle-plugin>
          <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
          <jboss.fuse.bom.version>7.0.0.redhat-SNAPSHOT</jboss.fuse.bom.version>
          <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
          <version.maven-surefire-plugin>2.19.1</version.maven-surefire-plugin>
        </properties>
        <dependencyManagement>
          <dependencies>
            <dependency>
              <groupId>org.jboss.fuse</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.20.1</version>
          </dependency>
          <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-blueprint</artifactId>
            <version>2.20.1</version>
          </dependency>
          <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-cxf</artifactId>
            <version>2.20.1</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.cxf</groupId>
            <artifactId>cxf-rt-transports-http-jetty</artifactId>
          </dependency>
          <dependency>
            <groupId>org.apache.cxf</groupId>
            <artifactId>cxf-rt-frontend-jaxws</artifactId>
          </dependency>
          <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-test-blueprint</artifactId>
            <version>2.20.1</version>
            <scope>test</scope>
            <exclusions>
              <exclusion>
                <artifactId>org.apache.felix.fileinstall</artifactId>
                <groupId>org.apache.felix</groupId>
              </exclusion>
              <exclusion>
                <artifactId>bndlib</artifactId>
                <groupId>biz.aQute</groupId>
              </exclusion>
            </exclusions>
          </dependency>
          <dependency>
            <groupId>org.apache.aries.proxy</groupId>
            <artifactId>org.apache.aries.proxy.api</artifactId>
            <scope>test</scope>
          </dependency>
          <dependency>
            <groupId>org.ops4j.base</groupId>
            <artifactId>ops4j-base-io</artifactId>
            <scope>test</scope>
          </dependency>
          <dependency>
            <groupId>org.ops4j.base</groupId>
            <artifactId>ops4j-base-lang</artifactId>
            <scope>test</scope>
          </dependency>
          <dependency>
            <groupId>org.ops4j.base</groupId>
            <artifactId>ops4j-base-store</artifactId>
            <scope>test</scope>
          </dependency>
          <dependency>
            <groupId>org.ops4j.pax.swissbox</groupId>
            <artifactId>pax-swissbox-bnd</artifactId>
            <scope>test</scope>
          </dependency>
          <dependency>
            <groupId>org.osgi</groupId>
            <artifactId>org.osgi.compendium</artifactId>
            <scope>test</scope>
          </dependency>
          <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
          </dependency>
          <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpcore</artifactId>
            <scope>test</scope>
          </dependency>
          <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
            <scope>test</scope>
          </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>
            <releases>
              <enabled>true</enabled>
              <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
              <enabled>false</enabled>
            </snapshots>
            <id>red-hat-ea-repository</id>
            <name>Red Hat Early Access Repository</name>
            <url>http://origin-repository.jboss.org/nexus/content/groups/ea</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>
            <releases>
              <enabled>true</enabled>
              <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
              <enabled>false</enabled>
            </snapshots>
            <id>red-hat-ea-repository</id>
            <name>Red Hat Early Access Repository</name>
            <url>http://origin-repository.jboss.org/nexus/content/groups/ea</url>
          </pluginRepository>
        </pluginRepositories>
        <build>
          <finalName>shared</finalName>
          <plugins>
            <plugin>
              <artifactId>maven-surefire-plugin</artifactId>
              <version>${version.maven-surefire-plugin}</version>
              <configuration>
                <skipTests>${skipTests}</skipTests>
              </configuration>
            </plugin>
            <plugin>
              <artifactId>maven-compiler-plugin</artifactId>
              <version>3.7.0</version>
              <configuration>
                <source>1.8</source>
                <target>1.8</target>
              </configuration>
            </plugin>
            <plugin>
              <groupId>org.apache.felix</groupId>
              <artifactId>maven-bundle-plugin</artifactId>
              <version>${version.maven-bundle-plugin}</version>
              <extensions>true</extensions>
              <configuration>
                <instructions>
                  <Bundle-SymbolicName>FuseIntegrationProjectCreatorRunnableForCXFCodeFirstIT-CXFCodeFirstJavaProject-2201</Bundle-SymbolicName>
                  <Bundle-Name>Camel Java DSL Example with a CXF Code-first Service [FuseIntegrationProjectCreatorRunnableForCXFCodeFirstIT-CXFCodeFirstJavaProject-2.20.1]</Bundle-Name></instructions></configuration>
            </plugin>
            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>exec-maven-plugin</artifactId>
              <version>1.6.0</version>
              <configuration>
                <mainClass>com.mycompany.camel.Launcher</mainClass>
                <includePluginDependencies>false</includePluginDependencies>
              </configuration>
            </plugin>
          </plugins>
        </build>
        <profiles>
          <profile>
            <id>test</id>
            <build>
              <defaultGoal>verify</defaultGoal>
            </build>
            <properties>
              <skipTests>false</skipTests>
            </properties>
          </profile>
        </profiles>
      </project>", "type: "="org.eclipse.m2e.core.maven2Problem.dependency", "columnEnd"=16, "charStart"=2351, "transient"=false, "classifier"="", "columnStart"=5, "artifactId"="cxf-rt-transports-http-jetty", "resource affected"="/home/jenkins/workspace/jbosstools-fuse_master/sources/editor/tests/org.fusesource.ide.projecttemplates.tests.integration/target/work sp@cé/FuseIntegrationProjectCreatorRunnableForCXFCodeFirstIT-CXFCodeFirstJavaProject-2.20.1/pom.xml", "lineNumber"=65}]>
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                aurelien.pupier Aurélien Pupier
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: