[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: java: building interdependent artifacts with maven



Hi Andrius,

On Wed, 12 Dec 2018 at 10:30, Andrius Merkys <andrius.merkys@gmail.com> wrote:
> I am preparing a package for apache-opennlp [1]. Building it results in six artifacts, one of them, org.apache.opennlp:opennlp-morfologik-addon:jar:1.9.0, depends on another artifact org.apache.opennlp:opennlp-tools:jar:debian which is built before the former. However, opennlp-tools is not found by opennlp-morfologik-addon, possibly because it is not installed in local maven-repo, nor placed in CLASSPATH:
>
> [ERROR] Failed to execute goal on project opennlp-morfologik-addon: Could not resolve dependencies for project org.apache.opennlp:opennlp-morfologik-addon:jar:1.9.0: Cannot access apache.snapshots (http://repository.apache.org/snapshots) in offline mode and the artifact org.apache.opennlp:opennlp-tools:jar:debian has not been downloaded from it before. -> [Help 1]
>
> Is there a standard way to deal with such problem?

I also ran into this issue trying to update morfologik itself, and I
have so far been unable to find a solution.

-- 
Cheers,
  Andrej


Reply to: