XMLWordPrintable

Details

    • CR1
    • CR1
    • Workaround Exists
    • Hide

      1. In a directory with errors.log file open your Terminal
      2. Run following command: grep Path: errors.log | sed -n -e 's/^.*Path: //p' > failed-downloads.txt
      3. Rerun offliner tool with failed-download.txt

      The above did not help with the issue described with 7.6.0.CR2.

      Show
      1. In a directory with errors.log file open your Terminal 2. Run following command: grep Path: errors.log | sed -n -e 's/^.*Path: //p' > failed-downloads.txt 3. Rerun offliner tool with failed-download.txt The above did not help with the issue described with 7.6.0.CR2.
    • Documentation (Ref Guide, User Guide, etc.), Release Notes
    • Hide
      The Offliner tool might report errors downloading artifacts such as the rhdm/rhpam installer, these can be ignored, since the installer should not be distributed in the Maven repository.

      If you encounter errors related to downloading maven-compiler-plugin, docbook related artifacts, or others, please add the JBoss.org public repository \[1] to the sources for the offliner (in addition to Central, MRRC GA repository).

      \[1] repository.jboss.org/nexus/content/groups/public/
      Show
      The Offliner tool might report errors downloading artifacts such as the rhdm/rhpam installer, these can be ignored, since the installer should not be distributed in the Maven repository. If you encounter errors related to downloading maven-compiler-plugin, docbook related artifacts, or others, please add the JBoss.org public repository \[1] to the sources for the offliner (in addition to Central, MRRC GA repository). \[1] repository.jboss.org/nexus/content/groups/public/
    • 2019 Week 41-43 (from Okt 7), 2019 Week 44-46 (from Okt 28), 2019 Week 47-49 (from Nov 18), 2019 Week 50-52 (from Dec 9), 2020 Week 04-06 (from Jan 20)

    Description

      When running the Offliner tool [1] to produce complete Maven repository for offline usage via the following command,

      java -jar offliner-1.7.jar -r https://repo1.maven.org/maven2/ -r http://download.devel.redhat.com/brewroot/repos/rhba-7.3-maven-build/latest/maven/ -r https://maven.repository.redhat.com/ga/ rhpam-7.4.0-offliner.txt
      

      Offliner produces several types of warnings, such as:

      Checksum mismatch on file: org/kie/server/kie-server-services-common/7.23.0.Final-redhat-00001/kie-server-services-common-7.23.0.Final-redhat-00001-tests.jar (calculated: 'Checksum{md5='90cc363a3c94b7772bd3944d8412330b', sha1='7dc196059f9d3bbd3063003ca8efc9451faaa013', sha256='9c35327a88e2fff96a2cd1b9018ad82a27082646aae1bf6c4170fc84db1737ca'}'; expected: 'e3aecf4a8caf360bb95715c86b1b8882')
      

      or

      Error downloading path: org/uberfire/uberfire-parent/2.20.0.Final-redhat-00001/uberfire-parent-2.20.0.Final-redhat-00001-patches.zip.sha1. The artifact was not found in any of the provided repositories.
      ...
      Error downloading path: com/redhat/ba/component/management/dependency-management-all/7.1.0.GA-redhat-00003/dependency-management-all-7.1.0.GA-redhat-00003.pom.sha1. The artifact was not found in any of the provided repositories.
      ...
      

      Regarding the dependency-management-all issue, I have found that the offliner manifest file rhpam-7.4.0-offliner.txt contains several versions, such as dependency-management-all-7.4.0.GA-redhat-00001.pom, which is even available at [2]. Is it expected that several versions of this artifact are included in the offliner manifest?

      [1] https://release-engineering.github.io/offliner/
      [2] http://download.devel.redhat.com/brewroot/repos/rhba-7.3-maven-build/latest/maven/com/redhat/ba/component/management/dependency-management-all/7.4.0.GA-redhat-00001/dependency-management-all-7.4.0.GA-redhat-00001.pom

      Attachments

        1. 7.3.1.CR2-errors.log
          9.48 MB
        2. 7.5.0.cr2-errors.log
          11 kB
        3. 7.6.0.CR2-errors.log
          114 kB
        4. errors.log
          1.81 MB
        5. errors-non-redhat-artifacts.log
          43 kB
        6. failed-downloads.txt
          209 kB

        Issue Links

          Activity

            People

              almorale Alberto Morales PĂ©rez
              mwinkler@redhat.com Marek Winkler
              Marek Winkler Marek Winkler
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: