Reputation: 254
So there is a dependency that my project needs, and it is in our internal artifactory, however, after adding the dependency, it started throwing the following error:
Failed to read artifact descriptor for org.codehaus.fabric3.api:commonj:jar:1.1.0: Failure to find org.codehaus.fabric3.api:parent-pom:pom:1.0 in http://maven/artifactory/libs-snapshot was cached in the local repository, resolution will not be reattempted until the update interval of art_central has elapsed or updates are forced -> [Help 1]
I realized that the parent of that dependency ( org.codehaus.fabric3.api:parent-pom:pom:1.0) is not in our internal artifactory.
I know my question might not sound logical and it doesn't make much sense but; is there any way to exclude the parent or make this dependency not look for the parent? I already try with the tag. Thanks in advance!
Upvotes: 0
Views: 336
Reputation: 3506
You can exclude a specific file from being searched on a remote repository by using the include/exclude parameters of the remote repository. https://www.jfrog.com/confluence/display/RTF/Common+Settings#CommonSettings-IncludesandExcludesPattern
By adding this file, Artifactory will not search for it on the specific repository.
Upvotes: 1