maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Prins <mc.pr...@gmail.com>
Subject Re: Package failed
Date Tue, 31 Oct 2017 17:40:50 GMT
2017-10-31 10:27 GMT+01:00 Oleg Lempert <OLEG.LEMPERT@emc.com>:

> Hi
> I running project with option / -Dmaven.test.skip=true
>

this hint is just for the compiler/surefire/failsafe plugin, but does not
mean that dependency resolution will not happen for this artifact because
in fact it will (and fail)
perhaps you could change the scope to optional instead
-m


> I have dependency : project *Auth *depend on *persistence*
>
> from auth pom.xml:
>
>       <dependency>
>             <groupId>${groupId}</groupId>
>             <artifactId>persistence</artifactId>
>             <version>${project.version}</version>
>         </dependency>
>         <dependency>
>             <groupId>${groupId}</groupId>
>             <artifactId>persistence</artifactId>
>             <version>${project.version}</version>
>             <type>test-jar</type>
>             <scope>test</scope>
>         </dependency>
> the package task failed  :
> [ERROR] Failed to execute goal on project auth: Could not resolve
> dependencies for project com.emc.cloud_dr:auth:jar:1.0-SNAPSHOT: Failure
> to
> find com.emc.cloud_dr:persistence:jar:tests:1.0-SNAPSHOT in
>
> but I suppose that /persistence-tests:jar /would not in use cause  *
> <scope>test</scope>*
> Please help me to understand why is it failed ?
>
>
>
>
> --
> Sent from: http://maven.40175.n5.nabble.com/Maven-Users-f40176.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Disclaimer;
This message is just a reflection of what I thought at the time of sending.
The message may contain information that is not intended for you or that
you don't understand.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message