Try cleaning out your Maven cache and then build it all again.  I've seen
Maven do weird things like this on occasion.

rm -rf ~/.m2/repository/org/apache/metron



On Tue, Nov 5, 2019, 4:02 AM Gonçalo Pedras <[email protected]> wrote:

> Hi,
>
> Thanks in advance.
>
> Yes, in fact I did build Metron with “mvn clean install –DskipTests” before,
> and it was successful, with no errors. I’ve also installed Metron as a
> service in Ambari using the mpack tar.gz file.
>
> So, the problem still remains.
>
>
>
> Pedras.
>
>
>
> *De:* Michael Miklavcic <[email protected]>
> *Enviada:* 4 de novembro de 2019 19:14
> *Para:* [email protected]
> *Assunto:* Re: Could not resolve dependencies
>
>
>
> Hi, if you haven't built Metron itself, you should also do that from the
> root project first.
>
> mvn clean install -DskipTests
>
>
>
> Build-rpms will ONLY build the rpms using the existing build artifacts, so
> if the main build has not been run, those artifacts will not exist.
>
>
>
> On Mon, Nov 4, 2019 at 10:42 AM Gonçalo Pedras <[email protected]>
> wrote:
>
> Hi,
>
>
>
> I’m building Metron alongside the newest Ambari version with the HDP-3.1
> support provided by the GitHub project (
> https://github.com/apache/metron/tree/feature/METRON-2088-support-hdp-3.1).
>
>
> When i’m building Metron with:
>
>
>
> mvn clean package -DskipTests -Pbuild-rpms
>
>
>
> it gives me the following error:
>
>
>
> [ERROR] Failed to execute goal on project metron-performance: Could not
> resolve dependencies for project
> org.apache.metron:metron-performance:jar:0.7.2: The following artifacts
> could not be resolved: org.apache.metron:metron-common:jar:0.7.2,
> org.apache.metron:stellar-common:jar:0.7.2: Could not find artifact
> org.apache.metron:metron-common:jar:0.7.2 in clojars.org (
> https://clojars.org/repo)
>
>
>
> How should I proceed?
>
>
>
> Thanks,
>
>
>
> Pedras.
>
>
>
>

Reply via email to