You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Willfin David <Wi...@gds.ey.com> on 2023/07/27 17:20:40 UTC

Maven build error

Hi,

Im using maven as part of my mulesoft anytime studio platform.
When I run the below command from command prompt I get the error below.

Let me know how to resolve this error.

Command:
maven -U clean install

Error:
[ERROR] Failed to execute goal on project mule-connectivity-parent: Could not resolve dependencies for project com.mulesoft.connectors:mule-connectivity-parent:pom:3.3.1-RUNTIME.4.2.1: Failed to collect dependencies at org.mule.tests.plugin:mule-tests-component-plugin:jar:mule-plugin:4.2.1: Failed to read artifact descriptor for org.mule.tests.plugin:mule-tests-component-plugin:jar:mule-plugin:4.2.1: The following artifacts could not be resolved: org.mule.tests:mule-tests:pom:4.2.1 (absent): Could not find artifact org.mule.tests:mule-tests:pom:4.2.1 in mule-releases (https://repository-master.mulesoft.org/nexus/content/repositories/releases/) -> [Help 1]


[cid:image001.jpg@01D9C0DC.1D8F02B0]



___________________________________
The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. EY is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.

Re: Maven build error

Posted by Benjamin Marwell <bm...@apache.org>.
If you browse their repo, you can see that 4.2.1 is indeed missing:
https://repository-master.mulesoft.org/nexus/content/repositories/releases/org/mule/tests/mule-tests/

Just use dependencyManagement to override the version or exclude it
(if it is transitive) from its parent dependency and add it back
manually.

HTH

- Ben

Am Do., 27. Juli 2023 um 19:46 Uhr schrieb Nils Breunese <ni...@breun.nl>:
>
> Maven says it can’t find org.mule.tests.plugin:mule-tests-component-plugin:jar:mule-plugin:4.2.1 at https://repository-master.mulesoft.org/nexus/content/repositories/releases/
>
> I can’t find it myself either, because there is no tests directory under https://repository-master.mulesoft.org/nexus/content/repositories/releases/org/mulesoft/
>
> You’ll either need to make sure that this artifact is present in this repository, or configure an (additional) repository which contains this artifact.
>
> Nils.
>
> > Op 27 jul. 2023 om 19:21 heeft Willfin David <Wi...@gds.ey.com> het volgende geschreven:
> >
> > 
> > Hi,
> >
> > Im using maven as part of my mulesoft anytime studio platform.
> > When I run the below command from command prompt I get the error below.
> >
> > Let me know how to resolve this error.
> >
> > Command:
> > maven -U clean install
> >
> > Error:
> > [ERROR] Failed to execute goal on project mule-connectivity-parent: Could not resolve dependencies for project com.mulesoft.connectors:mule-connectivity-parent:pom:3.3.1-RUNTIME.4.2.1: Failed to collect dependencies at org.mule.tests.plugin:mule-tests-component-plugin:jar:mule-plugin:4.2.1: Failed to read artifact descriptor for org.mule.tests.plugin:mule-tests-component-plugin:jar:mule-plugin:4.2.1: The following artifacts could not be resolved: org.mule.tests:mule-tests:pom:4.2.1 (absent): Could not find artifact org.mule.tests:mule-tests:pom:4.2.1 in mule-releases (https://repository-master.mulesoft.org/nexus/content/repositories/releases/) -> [Help 1]
> >
> >
> >
> >
> >
> >
> > ___________________________________
> > The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. EY is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven build error

Posted by Nils Breunese <ni...@breun.nl>.
Maven says it can’t find org.mule.tests.plugin:mule-tests-component-plugin:jar:mule-plugin:4.2.1 at https://repository-master.mulesoft.org/nexus/content/repositories/releases/

I can’t find it myself either, because there is no tests directory under https://repository-master.mulesoft.org/nexus/content/repositories/releases/org/mulesoft/

You’ll either need to make sure that this artifact is present in this repository, or configure an (additional) repository which contains this artifact.

Nils.

> Op 27 jul. 2023 om 19:21 heeft Willfin David <Wi...@gds.ey.com> het volgende geschreven:
> 
> 
> Hi,
>  
> Im using maven as part of my mulesoft anytime studio platform.
> When I run the below command from command prompt I get the error below.
>  
> Let me know how to resolve this error.
>  
> Command:
> maven -U clean install
>  
> Error:
> [ERROR] Failed to execute goal on project mule-connectivity-parent: Could not resolve dependencies for project com.mulesoft.connectors:mule-connectivity-parent:pom:3.3.1-RUNTIME.4.2.1: Failed to collect dependencies at org.mule.tests.plugin:mule-tests-component-plugin:jar:mule-plugin:4.2.1: Failed to read artifact descriptor for org.mule.tests.plugin:mule-tests-component-plugin:jar:mule-plugin:4.2.1: The following artifacts could not be resolved: org.mule.tests:mule-tests:pom:4.2.1 (absent): Could not find artifact org.mule.tests:mule-tests:pom:4.2.1 in mule-releases (https://repository-master.mulesoft.org/nexus/content/repositories/releases/) -> [Help 1]
>  
>  
> 
>  
>  
> 
> ___________________________________
> The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. EY is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.