Uploaded image for project: 'TeamCity Artifactory Plug-in'
  1. TeamCity Artifactory Plug-in
  2. TCAP-214

Error while reading maven-build-info.xml

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.1.10
    • Fix Version/s: 2.1.13
    • Environment:

      Artifactory version 3.2.0
      Plugin version 2.1.10
      TeamCity version 8.1.5
      Maven version 3.0.5

      Description

      The artifactory deploy plugin expects a file instead of a directory and fails with the following exception:

      [16:37:09][Step 1/1] Cannot read checksums of a folder: D:\BuildAgents\BuildAgent2\work\d18f1c76bf32b21f\mdi_app\target\classes
      [16:37:09][Step 1/1] java.lang.IllegalArgumentException: Cannot read checksums of a folder: D:\BuildAgents\BuildAgent2\work\d18f1c76bf32b21f\mdi_app\target\classes at org.jfrog.build.api.util.FileChecksumCalculator.calculateChecksums(FileChecksumCalculator.java:61)

      All of the reactor module project's artifact paths lead to a directory instead of a file (s. line 166 in attached file).

        Attachments

          Activity

            People

            Assignee:
            eyalbe Eyal Ben Moshe (Inactive)
            Reporter:
            fbien@initag.com Florian Bien
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: