Hi @sean-mck ,
If they don't have a Nexus repo, you can take the following approach.
- Make the project as a submodule of this parent project either by adding the whole module or using the git submodule, this way the dependencies will be built and shipped with the deployment.
- As a workaround, You can commit that package in a separate folder of your project and then include that into your container project by referencing the path, something like this
First embed into the section of the container POM
<embedded>
<groupId>groupID</groupId>
<artifactId>artifactId</artifactId>
<type>zip</type>
<target>/apps/vendorpackage/application/install</target>
</embedded>
and then add it to the dependency section of the same container POM
<dependency>
<groupId>groupID</groupId>
<artifactId>artifactId</artifactId>
<type>type</type>
<scope>system</scope>
<systemPath>/${basedir}/../packages/project-${version}.zip</systemPath>
</dependency>
This would ensure the deployment of these packages to the instances. So you won't get the validation error.
Also, include this as a dependency in parent POM and the modules where you need it so that compilation works as well.
Note: This is not a future-proof solution and might give you some errors in the future if something changes on the cloud manager, the recommended approach would be to either work through gitsubmodules or maven repo. (private maven repos are also supported on cloud manager).
Hope this helps!
Regards,
Nitesh