Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-13636

Missing org.restlet artifacts on maven.repository.redhat.com/ga

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Explained
    • Affects Version/s: fuse-7.6-GA
    • Fix Version/s: fuse-7.7-GA
    • Component/s: Build, Fuse Standalone, Prod
    • Labels:
      None
    • Steps to Reproduce:
      Hide
      • create a SpringBoot standalone project in Eclipse Fuse Tooling
      • add a restlet component from menu
        --> 2 artifacts are not found

      to ease reproduction without access to Eclipse Fuse Tooling, here is a simplified pom reproducing the problem:

      <?xml version="1.0" encoding="UTF-8"?>
      <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://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>org.mycompany</groupId>
        <artifactId>camel-ose-springboot-xml</artifactId>
        <version>1.0.0-SNAPSHOT</version>
        <name>Fabric8 :: Quickstarts :: Spring-Boot :: Camel XML</name>
        <description>Spring Boot example running a Camel route defined in XML</description>
        <properties>
          <maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version>
          <fuse.version>7.6.0.fuse-760027-redhat-00001</fuse.version>
          <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
          <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
        </properties>
        <dependencyManagement>
          <dependencies>
            <dependency>
              <groupId>org.jboss.redhat-fuse</groupId>
              <artifactId>fuse-springboot-bom</artifactId>
              <version>7.6.0.fuse-760027-redhat-00001</version>
              <type>pom</type>
              <scope>import</scope>
            </dependency>
          </dependencies>
        </dependencyManagement>
        <dependencies>
          <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-actuator</artifactId>
          </dependency>
          <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
          </dependency>
          <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-spring-boot-starter</artifactId>
          </dependency>
          <dependency>
            <groupId>org.apache.camel</groupId>
            <artifactId>camel-restlet</artifactId>
          </dependency>
        </dependencies>
        <repositories>
          <repository>
            <id>red-hat-ga-repository</id>
            <url>https://maven.repository.redhat.com/ga</url>
          </repository>
        </repositories>
        <pluginRepositories>
          <pluginRepository>
            <id>red-hat-ga-repository</id>
            <url>https://maven.repository.redhat.com/ga</url>
          </pluginRepository>
        </pluginRepositories>
        <build>
          <defaultGoal>spring-boot:run</defaultGoal>
          <plugins>
            <plugin>
              <artifactId>maven-compiler-plugin</artifactId>
              <version>${maven-compiler-plugin.version}</version>
              <configuration>
                <source>1.8</source>
                <target>1.8</target>
              </configuration>
            </plugin>
            <plugin>
              <groupId>org.jboss.redhat-fuse</groupId>
              <artifactId>spring-boot-maven-plugin</artifactId>
              <version>${fuse.version}</version>
              <executions>
                <execution>
                  <goals>
                    <goal>repackage</goal>
                  </goals>
                </execution>
              </executions>
            </plugin>
            <plugin>
              <groupId>org.jboss.redhat-fuse</groupId>
              <artifactId>fabric8-maven-plugin</artifactId>
              <version>${fuse.version}</version>
              <executions>
                <execution>
                  <goals>
                    <goal>resource</goal>
                    <goal>build</goal>
                  </goals>
                </execution>
              </executions>
            </plugin>
          </plugins>
        </build>
      </project>
      
      Show
      create a SpringBoot standalone project in Eclipse Fuse Tooling add a restlet component from menu --> 2 artifacts are not found to ease reproduction without access to Eclipse Fuse Tooling, here is a simplified pom reproducing the problem: <?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://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>org.mycompany</groupId> <artifactId>camel-ose-springboot-xml</artifactId> <version>1.0.0-SNAPSHOT</version> <name>Fabric8 :: Quickstarts :: Spring-Boot :: Camel XML</name> <description>Spring Boot example running a Camel route defined in XML</description> <properties> <maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version> <fuse.version>7.6.0.fuse-760027-redhat-00001</fuse.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>org.jboss.redhat-fuse</groupId> <artifactId>fuse-springboot-bom</artifactId> <version>7.6.0.fuse-760027-redhat-00001</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-spring-boot-starter</artifactId> </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-restlet</artifactId> </dependency> </dependencies> <repositories> <repository> <id>red-hat-ga-repository</id> <url>https://maven.repository.redhat.com/ga</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>red-hat-ga-repository</id> <url>https://maven.repository.redhat.com/ga</url> </pluginRepository> </pluginRepositories> <build> <defaultGoal>spring-boot:run</defaultGoal> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> <plugin> <groupId>org.jboss.redhat-fuse</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>${fuse.version}</version> <executions> <execution> <goals> <goal>repackage</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.jboss.redhat-fuse</groupId> <artifactId>fabric8-maven-plugin</artifactId> <version>${fuse.version}</version> <executions> <execution> <goals> <goal>resource</goal> <goal>build</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>
    • Workaround Description:
      Hide

      add specific external repository:

      <repository>
      <id>spring-plugin-repository</id>
      <url>https://repo.spring.io/plugins-release</url>
      </repository>
      
      Show
      add specific external repository: <repository> <id>spring-plugin-repository</id> <url>https://repo.spring.io/plugins-release</url> </repository>

      Description

      org.restlet artifacts are referenced from camel-restlet artifact but they are not available on the maven.repository.redhat.com/ga

      see for identified missing ones which contains only md5 and sha1 files:

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  djcoleman Darren Coleman
                  Reporter:
                  aurelien.pupier Aurélien Pupier
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: