由于无法识别的字段,无法将工件上传到 JFrog Artifactory
Unable to upload artifacts into JFrog Artifactory because of unrecognized field
突然无法将工件上传到 JFrog Artifactory 云中。注意:gradle和maven插件都失败了
id 'com.jfrog.artifactory' version '4.21.0'
<plugin>
<groupId>org.jfrog.buildinfo</groupId>
<artifactId>artifactory-maven-plugin</artifactId>
<version>3.2.1</version>
....
</plugin>
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "slf" (class org.jfrog.build.client.ArtifactoryUploadResponse), not marked as ignorable (12 known properties: "checksums", "size", "repo", "downloadUri", "path", "statusLine", "created", "errors", "uri", "mimeType", "createdBy", "originalChecksums"])
Maven Artifactory 插件 3.2.3 最近发布。此版本包含针对此问题的修复程序。
根本原因是 Artifactory 在上传 REST 的响应中返回了一个新字段 API。
解决方法是忽略新的未知字段而不是抛出 UnrecognizedPropertyException
.
有关详细信息,请参阅 https://github.com/jfrog/build-info/pull/502。
突然无法将工件上传到 JFrog Artifactory 云中。注意:gradle和maven插件都失败了
id 'com.jfrog.artifactory' version '4.21.0'
<plugin>
<groupId>org.jfrog.buildinfo</groupId>
<artifactId>artifactory-maven-plugin</artifactId>
<version>3.2.1</version>
....
</plugin>
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "slf" (class org.jfrog.build.client.ArtifactoryUploadResponse), not marked as ignorable (12 known properties: "checksums", "size", "repo", "downloadUri", "path", "statusLine", "created", "errors", "uri", "mimeType", "createdBy", "originalChecksums"])
Maven Artifactory 插件 3.2.3 最近发布。此版本包含针对此问题的修复程序。
根本原因是 Artifactory 在上传 REST 的响应中返回了一个新字段 API。
解决方法是忽略新的未知字段而不是抛出 UnrecognizedPropertyException
.
有关详细信息,请参阅 https://github.com/jfrog/build-info/pull/502。