jfrog / build-info

Artifactory's open integration layer for CI build servers
https://www.buildinfo.org
Apache License 2.0
145 stars 154 forks source link

Could not set unknown property 'maven' #783

Closed awebbers closed 3 months ago

awebbers commented 5 months ago

Hi team,

I'm working on a project using Java 17, Gradle 7.6.1, and trying to upgrade the com.jfrog.artifactory plugin from 4.33.1 to the latest 5.1.14. Unfortunately when I try to build my project I get the following error: Caused by: groovy.lang.MissingPropertyException: Could not set unknown property 'maven' for object of type org.jfrog.gradle.plugin.artifactory.dsl.PublisherConfig$Repository

I'm looking to see if there is a way I can get around this or if I will need to stay on 4.33.1 for a while. My build.gradle is fairly simple with some plugins, dependencies, and the following repository declaration: repositories { mavenCentral() }

Thank you for any help you can provide!

awebbers commented 3 months ago

I upgraded my project to gradle 8.6 and used artifactory plugin 5.2.0 and the issue seems to be resolved. Closing the question.