Then apply the artifactory plugin in a sub-project; however, because of the structure of these projects; I will have to individually configure the maven publication with an artifactId and a groupId
Now the resulting moduleInfo.json will take the project name descriptor (project-id) for module-id when publishing the build-info, and module type is GRADLE.
Because of how the projects are organized, there is no way of overriding the module-id (or even group-id) that forms the "id" when you look at moduleInfo.json that is being uploaded to Artifactory as a part of the module-id. It's directly tied to the resolved Gradle's project-id: {group}-{project-name}-{version}.
I would have to restructure how the Gradle projects works to alter this behavior. That isn't going to fly when you have lots of engineers working on a project.
Reproduction steps
No response
Expected behavior
It would be much simpler to be able to change the module/id in the .json file with a simple override; or use the basename of the publication for the module instead.
When I look in artifactory, it seems like it is unable to fully resolve the paths to the artifacts within the build itself.
No path found (externally resolved or deleted/overwritten)
Even though the "PROJECT_NAME.path.to.dependency.lib:1.00.10000" is present in the build info file.
While that may be an entirely separate / different problem to how Artifactory manages the links to the various artifacts uploaded. The ability to at least name modules according to your custom layout should still exist (e.g. I'd like to be able to override module-id= ${project.id}-${group}-${version}.
Describe the bug
Pretty much a vanilla java multi-project configuration
Apply a configuration at the root project's build.gradle file
Then apply the artifactory plugin in a sub-project; however, because of the structure of these projects; I will have to individually configure the maven publication with an artifactId and a groupId
Current behavior
Now the resulting moduleInfo.json will take the project name descriptor (project-id) for module-id when publishing the build-info, and module type is GRADLE.
Because of how the projects are organized, there is no way of overriding the module-id (or even group-id) that forms the "id" when you look at moduleInfo.json that is being uploaded to Artifactory as a part of the module-id. It's directly tied to the resolved Gradle's project-id: {group}-{project-name}-{version}.
I would have to restructure how the Gradle projects works to alter this behavior. That isn't going to fly when you have lots of engineers working on a project.
Reproduction steps
No response
Expected behavior
It would be much simpler to be able to change the module/id in the .json file with a simple override; or use the basename of the publication for the module instead.
When I look in artifactory, it seems like it is unable to fully resolve the paths to the artifacts within the build itself.
No path found (externally resolved or deleted/overwritten)
Even though the "PROJECT_NAME.path.to.dependency.lib:1.00.10000" is present in the build info file.
While that may be an entirely separate / different problem to how Artifactory manages the links to the various artifacts uploaded. The ability to at least name modules according to your custom layout should still exist (e.g. I'd like to be able to override module-id= ${project.id}-${group}-${version}.
Artifactory Gradle plugin version
5.1.10
Operating system type and version
Ubuntu 22.04
JFrog Artifactory version
7.41.14
Gradle version
N/A