Re: Missing artifact 7.0.0

Lukasz Lenart <[email protected]>
Newsgroups gmane.comp.jakarta.struts.devel
Message-ID <CAMopvkNU6r82J6pZhT_h+Uvp2jS16cbqrjEyCcU5V5O7Dgvceg@mail.gmail.com>
pt., 13 gru 2024 o 11:11 Greg Huber <[email protected]> napisał(a):
>
> I am using the standard struts git repo.
>
> Why is maven only looking for these two in
> https://repo.maven.apache.org/maven2 and ignoring staging.

That's correct. You must explicitly specify if you want to use the
staging repository

> There is the same error on other plugin projects eg struts2-velocity-plugin
>
> Caused by: org.apache.maven.lifecycle.LifecycleExecutionException:
> Failed to execute goal on project  [36mstruts2-tiles-plugin [m:
>  [1;31mCould not resolve dependencies for project
> org.apache.struts:struts2-tiles-plugin:jar:7.0.0
> dependency:
> org.apache.struts:struts2-velocity-tools-view-jakarta:jar:7.0.0 (compile?)
> org.apache.struts:struts2-velocity-tools-view-jakarta:jar:7.0.0 was not
> found in https://repo.maven.apache.org/maven2 during a previous attempt.
> This failure was cached in the local repository and resolution is not
> reattempted until the update interval of central has elapsed or updates
> are forced

This plugin wasn't officially released yet so the artifacts and
dependencies are only available in the staging repository.


Cheers
Łukasz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.