Hi,
I am using plugin version 1.6.0. I want the plugin to create a "subproject" under a given "parent project" in DTrack.
I added the parent project manually in DTrack and also gave it a version.
I set the following variables on BOM upload.
<plugin>
<groupId>io.github.pmckeown</groupId>
<artifactId>dependency-track-maven-plugin</artifactId>
<version>1.6.0</version>
<configuration>
<dependencyTrackBaseUrl>https://dtrack.example.com</dependencyTrackBaseUrl>
<apiKey>${env.CI_DTRACK_API_KEY}</apiKey>
<projectVersion>${env.CI_COMMIT_REF_SLUG}</projectVersion>
<updateProjectInfo>true</updateProjectInfo>
<updateParent>true</updateParent>
<parentName>MY Parent</parentName>
<parentVersion>ALL</parentVersion>
<pollingConfig>
<enabled>true</enabled>
<pause>500</pause>
<attempts>40</attempts>
<timeUnit>MILLIS</timeUnit>
</pollingConfig>
</configuration>
</plugin>
My expectation is, that running the BOM upload the first time, the project gets created under the given parent project "MY Parent" "ALL".
But it does not work. The project will be created but in the "root" of DTrack, not under the parent. Is my expectation wrong and the "parentName"/"parentVersion" + updateParent setting is for something else?
Thanks for the help in advance.
Best Regards,
Sven
Hi,
I am using plugin version 1.6.0. I want the plugin to create a "subproject" under a given "parent project" in DTrack.
I added the parent project manually in DTrack and also gave it a version.
I set the following variables on BOM upload.
My expectation is, that running the BOM upload the first time, the project gets created under the given parent project "MY Parent" "ALL".
But it does not work. The project will be created but in the "root" of DTrack, not under the parent. Is my expectation wrong and the "parentName"/"parentVersion" + updateParent setting is for something else?
Thanks for the help in advance.
Best Regards,
Sven