Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-920

Could not find artifact io.netty:netty-transport-native-kqueue:jar:4.1.16.Final-redhat-1

XMLWordPrintable

    • Hide
              <dependency>
                  <groupId>org.apache.activemq</groupId>
                  <artifactId>artemis-jms-client</artifactId>
                  <version>${artemis.jms.client.version}</version>
                  <exclusions>
                      <!--https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html-->
                      <exclusion>
                          <groupId>io.netty</groupId>
                          <artifactId>netty-transport-native-kqueue</artifactId>
                      </exclusion>
                  </exclusions>
              </dependency>
      
      Show
      <dependency> <groupId>org.apache.activemq</groupId> <artifactId>artemis-jms-client</artifactId> <version>${artemis.jms.client.version}</version> <exclusions> <!--https: //maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html--> <exclusion> <groupId>io.netty</groupId> <artifactId>netty-transport- native -kqueue</artifactId> </exclusion> </exclusions> </dependency>
    • Hide
      git clone https://github.com/rh-messaging/cli-java.git
      cd cli-java
      vim cli-artemis-jms/pom.xml
      # add the <repositories> section from the private comment
      mvn package -DskipTests=true -Dartemis.jms.client.version=2.4.0.amq-710001-redhat-1  -pl :cli-artemis-jms -am
      
      Show
      git clone https://github.com/rh-messaging/cli-java.git cd cli-java vim cli-artemis-jms/pom.xml # add the <repositories> section from the private comment mvn package -DskipTests=true -Dartemis.jms.client.version=2.4.0.amq-710001-redhat-1 -pl :cli-artemis-jms -am

      When building the acce QE cli, which depends on artemis-jms-client package, the following error is printed by Maven and the build stops. This used to work with versions prior to 7.1.0cr1.

          openstack: Downloaded: https://repo.maven.apache.org/maven2/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar (575 KB at 2384.0 KB/sec)
          openstack: [INFO] ------------------------------------------------------------------------
          openstack: [INFO] Reactor Summary:
          openstack: [INFO]
          openstack: [INFO] bom ................................................ SUCCESS [  0.278 s]
          openstack: [INFO] parent ............................................. SUCCESS [  2.474 s]
          openstack: [INFO] jmslib ............................................. SUCCESS [  3.198 s]
          openstack: [INFO] acc ................................................ FAILURE [  3.752 s]
          openstack: [INFO] java ............................................... SKIPPED
          openstack: [INFO] ------------------------------------------------------------------------
          openstack: [INFO] BUILD FAILURE
          openstack: [INFO] ------------------------------------------------------------------------
          openstack: [INFO] Total time: 9.919 s
          openstack: [INFO] Finished at: 2017-11-23T10:38:37-05:00
          openstack: [INFO] Final Memory: 24M/57M
          openstack: [INFO] ------------------------------------------------------------------------
          openstack: [ERROR] Failed to execute goal on project acc: Could not resolve dependencies for project com.redhat:acc:jar:1.2.2: Could not find artifact io.netty:netty-transport-native-kqueue:jar:4.1.16.Final-redhat-1 in extra-repo ([...]) -> [Help 1]
          openstack: [ERROR]
          openstack: [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
          openstack: [ERROR] Re-run Maven using the -X switch to enable full debug logging.
          openstack: [ERROR]
          openstack: [ERROR] For more information about the errors and possible solutions, please read the following articles:
          openstack: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
          openstack: [ERROR]
          openstack: [ERROR] After correcting the problems, you can resume the build with the command
          openstack: [ERROR]   mvn <goals> -rf :acc
      

              rh-ee-ataylor Andy Taylor
              jdanek@redhat.com Jiri Daněk
              Jiri Daněk Jiri Daněk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: