izogfif commented on issue #5322:
URL: https://github.com/apache/jmeter/issues/5322#issuecomment-1464175254

   > I thought we've disabled metadata publishing
   
   Check it yourself. I created a new project with build.gradle.kts in Intellij 
IDEA, added
   
   ```
       implementation("org.apache.jmeter:ApacheJMeter_http:5.5")
   ```
   in dependencies block, tried to build, and got error:
   ```
   Execution failed for task ':compileKotlin'.
   > Error while evaluating property 'filteredArgumentsMap' of task 
':compileKotlin'
      > Could not resolve all files for configuration ':compileClasspath'.
         > Could not find org.apache.jmeter:bom:5.5.
           Searched in the following locations:
             - 
https://repo.maven.apache.org/maven2/org/apache/jmeter/bom/5.5/bom-5.5.pom
           If the artifact you are trying to retrieve can be found in the 
repository but without metadata in 'Maven POM' format, you need to adjust the 
'metadataSources { ... }' of the repository declaration.
           Required by:
               project : > org.apache.jmeter:ApacheJMeter_http:5.5
               project : > org.apache.jmeter:ApacheJMeter_http:5.5 > 
org.apache.jmeter:ApacheJMeter_core:5.5
               project : > org.apache.jmeter:ApacheJMeter_http:5.5 > 
org.apache.jmeter:ApacheJMeter_components:5.5
               project : > org.apache.jmeter:ApacheJMeter_http:5.5 > 
org.apache.jmeter:ApacheJMeter_core:5.5 > org.apache.jmeter:ApacheJMeter:5.5
               project : > org.apache.jmeter:ApacheJMeter_http:5.5 > 
org.apache.jmeter:ApacheJMeter_core:5.5 > org.apache.jmeter:jorphan:5.5
   
   Possible solution:
    - Declare repository providing the artifact, see the documentation at 
https://docs.gradle.org/current/userguide/declaring_repositories.html
   ```
   
   Adding exclude as stated in my previous comment fixes the build. If there is 
a version with a fix, it doesn't seem to be published in public Maven 
repository since the latest available version 5.5 has the bug.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to