Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-1259

Add Twitters maven repository to artifactory

    Details

    • Similar Issues:

      Description

      There is an artefact ua-parser which is only available from Twitter Incs Maven repository http://maven.twttr.com/. We need to ensure that this is available to builders of Blue Ocean if we are to merge this PR.

      Could this repository be added to the Artifactory for the Maven project please?

              <dependency>
                  <groupId>ua_parser</groupId>
                  <artifactId>ua-parser</artifactId>
                  <version>1.3.0</version>
              </dependency>
      

        Attachments

          Activity

          Show
          danielbeck Daniel Beck added a comment - James Dumay Should be automatic due to https://github.com/jenkinsci/plugin-pom/blob/e245b2e2b919ebb87c4e389c477224824dcf1c14/pom.xml#L747
          Hide
          michaelneale Michael Neale added a comment -

          nice - yes I was perhaps over zealos here. 

          Show
          michaelneale Michael Neale added a comment - nice - yes I was perhaps over zealos here. 
          Hide
          jamesdumay James Dumay added a comment - - edited

          Daniel Beck hmm, that doesn't seem to be working at all:

          bigmac:blueocean-plugin jdumay$ curl  -v https://repo.jenkins-ci.org/public/ua_parser/ua-parser/1.3.0/ua-parser-1.3.0.jar
          *   Trying 130.211.20.35...
          * TCP_NODELAY set
          * Connected to repo.jenkins-ci.org (130.211.20.35) port 443 (#0)
          * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
          * Server certificate: repo.jenkins-ci.org
          * Server certificate: Go Daddy Secure Certificate Authority - G2
          * Server certificate: Go Daddy Root Certificate Authority - G2
          > GET /public/ua_parser/ua-parser/1.3.0/ua-parser-1.3.0.jar HTTP/1.1
          > Host: repo.jenkins-ci.org
          > User-Agent: curl/7.51.0
          > Accept: */*
          > 
          < HTTP/1.1 404 Not Found
          < Date: Mon, 03 Jul 2017 04:46:14 GMT
          < Content-Type: application/json;charset=ISO-8859-1
          < Transfer-Encoding: chunked
          < Server: Artifactory/5.3.0
          < X-Artifactory-Id: aoljenkinsci1b-jenkinsci
          < X-Artifactory-Node-Id: jenkinsci-s1
          < X-Node: nginx-shared4c.gcoss-use1
          < Via: 1.1 google
          < Alt-Svc: clear
          < 
          {
            "errors" : [ {
              "status" : 404,
              "message" : "Could not find resource"
            } ]
          * Curl_http_done: called premature == 0
          * Connection #0 to host repo.jenkins-ci.org left intact
          

          Ahh, it looks like there are no sha1 or md5 files - could be it? EDIT: http://maven.twttr.com/ua_parser/ua-parser/1.3.0/

          Show
          jamesdumay James Dumay added a comment - - edited Daniel Beck hmm, that doesn't seem to be working at all: bigmac:blueocean-plugin jdumay$ curl -v https://repo.jenkins-ci.org/public/ua_parser/ua-parser/1.3.0/ua-parser-1.3.0.jar * Trying 130.211.20.35... * TCP_NODELAY set * Connected to repo.jenkins-ci.org (130.211.20.35) port 443 (#0) * TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 * Server certificate: repo.jenkins-ci.org * Server certificate: Go Daddy Secure Certificate Authority - G2 * Server certificate: Go Daddy Root Certificate Authority - G2 > GET /public/ua_parser/ua-parser/1.3.0/ua-parser-1.3.0.jar HTTP/1.1 > Host: repo.jenkins-ci.org > User-Agent: curl/7.51.0 > Accept: */* > < HTTP/1.1 404 Not Found < Date: Mon, 03 Jul 2017 04:46:14 GMT < Content-Type: application/json;charset=ISO-8859-1 < Transfer-Encoding: chunked < Server: Artifactory/5.3.0 < X-Artifactory-Id: aoljenkinsci1b-jenkinsci < X-Artifactory-Node-Id: jenkinsci-s1 < X-Node: nginx-shared4c.gcoss-use1 < Via: 1.1 google < Alt-Svc: clear < { "errors" : [ { "status" : 404, "message" : "Could not find resource" } ] * Curl_http_done: called premature == 0 * Connection #0 to host repo.jenkins-ci.org left intact Ahh, it looks like there are no sha1 or md5 files - could be it? EDIT: http://maven.twttr.com/ua_parser/ua-parser/1.3.0/
          Hide
          danielbeck Daniel Beck added a comment -

          https://repo.jenkins-ci.org/maven.twttr.com/ua_parser/ua-parser/1.3.0/ worked and I just forgot to add this remote repo to the virtual 'public' repository.

          Now it works: https://repo.jenkins-ci.org/public/ua_parser/ua-parser/1.3.0/

          Show
          danielbeck Daniel Beck added a comment - https://repo.jenkins-ci.org/maven.twttr.com/ua_parser/ua-parser/1.3.0/ worked and I just forgot to add this remote repo to the virtual 'public' repository. Now it works: https://repo.jenkins-ci.org/public/ua_parser/ua-parser/1.3.0/
          Hide
          jamesdumay James Dumay added a comment -

          Daniel Beck I was able to do a clean build and maven was able to resolve that artifact. Thanks for your help

          Show
          jamesdumay James Dumay added a comment - Daniel Beck I was able to do a clean build and maven was able to resolve that artifact. Thanks for your help

            People

            • Assignee:
              danielbeck Daniel Beck
              Reporter:
              jamesdumay James Dumay
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: