Re: Could not resolve dependencies error

2018-08-29 Thread Thomas Broyer
On Wed, Aug 29, 2018 at 8:36 AM Guido van Brakel <
guido.vanbra...@outlook.com> wrote:

> Hi,
>
> We have an issue with Maven not finding a certain dependency, anyone able
> to help this Maven. Keep in mind that I’m quite newbie to Maven, and just
> try run a build
>
> [ERROR] Failed to execute goal on project confidentialservices: Could not
> resolve dependencies for project
> com.digitaslbi.confidential:confidentialservices:war:0.1.0.12: Could not
> find artifact
> nl.confidential.web:confidentialweb-getdataapi-client:jar:1.2.14.0-SNAPSHOT
> -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal on project confidentialservices: Could not resolve dependencies for
> project com.digitaslbi.confidential:confidentialservices:war:0.1.0.12:
> Could not find artifact
> nl.confidential.web:confidentialweb-getdataapi-client:jar:1.2.14.0-SNAPSHOT.

 […]

> [DEBUG] Repositories (dependencies): [central (
> https://repo.maven.apache.org/maven2, default, releases)]
> [DEBUG] Repositories (plugins) : [central (
> https://repo.maven.apache.org/maven2, default, releases)]
>

 You don't have any snapshot repository declared, which means the
dependency must be available locally (in your
C:\Users\davanbrg\.m2\repository), which implies that it must have been
previously built locally (using "mvn install" from its own project).


RE: Could not resolve dependencies error

2018-08-29 Thread Golan, Yaron
The reason for the failure is that there is a missing artifact:
nl.confidential.web:confidentialweb-getdataapi-client:jar:1.2.14.0-SNAPSHOT

1. Are you sure you have your repositories configured as needed?
2. Is the 'getdata-client' ever built before?



-Original Message-
From: Guido van Brakel [mailto:guido.vanbra...@outlook.com] 
Sent: Tuesday, August 28, 2018 11:10
To: users@maven.apache.org
Subject: Could not resolve dependencies error

Hi,

We have an issue with Maven not finding a certain dependency, anyone able to 
help this Maven. Keep in mind that I'm quite newbie to Maven, and just try run 
a build

[ERROR] Failed to execute goal on project confidentialservices: Could not 
resolve dependencies for project 
com.digitaslbi.confidential:confidentialservices:war:0.1.0.12: Could not find 
artifact 
nl.confidential.web:confidentialweb-getdataapi-client:jar:1.2.14.0-SNAPSHOT -> 
[Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
on project confidentialservices: Could not resolve dependencies for project 
com.digitaslbi.confidential:confidentialservices:war:0.1.0.12: Could not find 
artifact 
nl.confidential.web:confidentialweb-getdataapi-client:jar:1.2.14.0-SNAPSHOT.

See below for the full stack trace:
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 
2017-04-03T21:39:06+02:00) Maven home: 
C:\Users\davanbrg\.m2\wrapper\dists\apache-maven-3.5.0-bin\6ps54u5pnnbbpr6ds9rppcc7iv\apache-maven-3.5.0
Java version: 1.8.0_181, vendor: Oracle Corporation Java home: C:\Program 
Files\Java\jdk1.8.0_181\jre Default locale: en_US, platform encoding: Cp1252 OS 
name: "windows server 2012 r2", version: "6.3", arch: "amd64", family: "windows"
[DEBUG] Created new class realm maven.api [DEBUG] Importing foreign packages 
into class realm maven.api
[DEBUG]   Imported: javax.enterprise.inject.* < plexus.core
[DEBUG]   Imported: javax.enterprise.util.* < plexus.core
[DEBUG]   Imported: javax.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < 
plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < 
plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < 
plexus.core
[DEBUG]   Imported: org.eclipse.aether.* < plexus.core
[DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG]   Imported: org.eclipse.aether.collection < plexus.core
[DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG]   Imported: org.eclipse.aether.graph < plexus.core
[DEBUG]