Hi
How are you running Maven in Jenkins? Pipeline? Maven job type?

On Thu, 20 Apr 2023 at 07:43, Javier Ortiz Bultron
<javier.ortiz...@gmail.com> wrote:
>
> Code works perfectly on my Mac but not on Jenkins. I'm running this on the
> Maven official image: maven:3.9.1-eclipse-temurin-11
>
> I'm trying to figure out how to fix this issue:
>
> [2023-04-19 21:24:35.509] [ERROR] [main] o.a.m.c.MavenCli
> [MavenCli.java:965] Plugin
> org.apache.maven.plugins:maven-resources-plugin:3.3.0 or one of its
> dependencies could not be resolved: Failed to read artifact descriptor
> for org.apache.maven.plugins:maven-resources-plugin:jar:3.3.0: The
> following artifacts could not be resolved:
> org.apache.maven.plugins:maven-resources-plugin:pom:3.3.0 (present,
> but unavailable): Could not transfer artifact
> org.apache.maven.plugins:maven-resources-plugin:pom:3.3.0 from/to
> central (https://repo.maven.apache.org/maven2): No connector factories
> available -> [Help 1]
> [2023-04-19 21:24:35.511] [ERROR] [main] o.a.m.c.MavenCli [MavenCli.java:850]
> [2023-04-19 21:24:35.512] [ERROR] [main] o.a.m.c.MavenCli
> [MavenCli.java:853] To see the full stack trace of the errors, re-run
> Maven with the -e switch.
> [2023-04-19 21:24:35.512] [ERROR] [main] o.a.m.c.MavenCli
> [MavenCli.java:858] Re-run Maven using the -X switch to enable full
> debug logging.
> [2023-04-19 21:24:35.513] [ERROR] [main] o.a.m.c.MavenCli [MavenCli.java:863]
> [2023-04-19 21:24:35.513] [ERROR] [main] o.a.m.c.MavenCli
> [MavenCli.java:864] For more information about the errors and possible
> solutions, please read the following articles:
> [2023-04-19 21:24:35.514] [ERROR] [main] o.a.m.c.MavenCli
> [MavenCli.java:868] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

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

Reply via email to