How run build with dependency from other build?
I have build with such settings
<groupId>my.group</groupId>
<artifactId>product</artifactId>
<version>1.0.0</version>
After build completed I want to run another build to test artifact gotten from first build.
I make another maven project and set such dependency
<dependency>
<groupId>my.group</groupId><artifactId>product</artifactId></dependency>
<version>1.0.0</version>
But error occured
Unable to find resource 'my.group.product:jar:1.0.0' in repository central
It means that build for product did not publish my.group.product-1.0.0.jar to local repository.
Why? How to fix this?
Thanks in advance.
Please sign in to leave a comment.
Hi Aleks,
Could you please try to run these builds via console on the same agent machine, not using TeamCity? Is the second build able to find needed artifacts?