You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I want to publish to bintray, the publications succeed, but maven said it fails:
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ jrdsagent ---
[INFO] Skipping artifact deployment
[INFO] Artifactory Build Info Recorder: Saving Build Info to '/Users/fa4/Devl/jrdsagent/target/build-info.json'
[INFO] Deploying artifact: https://api.bintray.com/maven/fbacchella/maven/jrdsagent/fr/jrds/jrdsagent/1.0-RC1/jrdsagent-1.0-RC1.jar
[INFO] Response received:
{"message":"success"}
[ERROR] Failed while reading the response from: PUT https://api.bintray.com/maven/fbacchella/maven/jrdsagent/fr/jrds/jrdsagent/1.0-RC1/jrdsagent-1.0-RC1.jar;build.timestamp=1551009731740;build.name=jrdsagent;build.number=1551009731740 HTTP/1.1
org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "message" (Class org.jfrog.build.client.ArtifactoryUploadResponse), not marked as ignorable
at [Source: java.io.StringReader@4893a9f0; line: 1, column: 13] (through reference chain: org.jfrog.build.client.ArtifactoryUploadResponse["message"])
at org.codehaus.jackson.map.exc.UnrecognizedPropertyException.from (UnrecognizedPropertyException.java:53)
at org.codehaus.jackson.map.deser.StdDeserializationContext.unknownFieldException (StdDeserializationContext.java:267)
at org.codehaus.jackson.map.deser.std.StdDeserializer.reportUnknownProperty (StdDeserializer.java:673)
at org.codehaus.jackson.map.deser.std.StdDeserializer.handleUnknownProperty (StdDeserializer.java:659)
at org.codehaus.jackson.map.deser.BeanDeserializer.handleUnknownProperty (BeanDeserializer.java:1365)
at org.codehaus.jackson.map.deser.BeanDeserializer._handleUnknown (BeanDeserializer.java:725)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject (BeanDeserializer.java:703)
at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize (BeanDeserializer.java:580)
at org.codehaus.jackson.map.ObjectMapper._readValue (ObjectMapper.java:2704)
at org.codehaus.jackson.map.ObjectMapper.readValue (ObjectMapper.java:1286)
at org.codehaus.jackson.JsonParser.readValueAs (JsonParser.java:1337)
at org.jfrog.build.client.ArtifactoryHttpClient.execute (ArtifactoryHttpClient.java:209)
at org.jfrog.build.client.ArtifactoryHttpClient.upload (ArtifactoryHttpClient.java:195)
at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.uploadFile (ArtifactoryBuildInfoClient.java:571)
at org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient.deployArtifact (ArtifactoryBuildInfoClient.java:282)
at org.jfrog.build.extractor.maven.BuildDeploymentHelper.deployArtifacts (BuildDeploymentHelper.java:275)
at org.jfrog.build.extractor.maven.BuildDeploymentHelper.deploy (BuildDeploymentHelper.java:98)
at org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionEnded (BuildInfoRecorder.java:170)
But all the files are indeed deployed to bintray.
All the plugins of the pom are up-to-date.
The text was updated successfully, but these errors were encountered:
@mafgh the deserialization of unknown fields issue has been fixed in #502, which is reflected in the latest Maven Artifactory plugin 3.2.3.
In the above case, the user tried to upload to Bintray which is nowadays, under a sunset. Therefore only uploads to Artifactory should work using the latest plugin version.
Using latest maven:
mvn -version
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T20:41:47+02:00)
With latest artifactory-maven-plugin plugin:
When I want to publish to bintray, the publications succeed, but maven said it fails:
But all the files are indeed deployed to bintray.
All the plugins of the pom are up-to-date.
The text was updated successfully, but these errors were encountered: