Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-38406

Update Analytics build to support Maven cache server

    XMLWordPrintable

Details

    • CX Sprint 191, CX Sprint 192

    Description

      We've set up an internal Maven cache at http://maven-cache.build.couchbase.com:8100/repository/internal . On a slave inside the VPN, I created ~/.m2/settings.xml to use it:

      <settings>
        <mirrors>
          <mirror>
            <id>Maven-cache</id>
            <name>Maven repository manager running on maven-cache.build.couchbase.com</name>
            <url>http://maven-cache.build.couchbase.com:8100/repository/internal</url>
            <mirrorOf>*</mirrorOf>
          </mirror>
        </mirrors>
      </settings>

      And this appears to work for the build; we see "Downloading from Maven-cache" in the logs. However, at the end of the build, we get

      02:13:10 [ERROR] Failed to execute goal org.apache.hyracks:license-automation-plugin:0.3.5-SNAPSHOT:generate (default) on project cbas-install: Execution default of goal org.apache.hyracks:license-automation-plugin:0.3.5-SNAPSHOT:generate failed: Unable to find 'central' remote repository! -> [Help 1] 

      This appears to be coming from this Hyracks code: https://github.com/apache/asterixdb/blob/master/hyracks-fullstack/hyracks/hyracks-maven-plugins/license-automation-plugin/src/main/java/org/apache/hyracks/maven/license/SourcePointerResolver.java#L65

      Attachments

        Issue Links

          Activity

            People

              michael.blow Michael Blow
              ceej Chris Hillery
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty