Re: Missing artifact 7.0.0
Greg Huber <[email protected]>
| Newsgroups | gmane.comp.jakarta.struts.devel |
|---|---|
| Message-ID | <[email protected]> |
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. 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 On 12/12/2024 20:40, Lukasz Lenart wrote: > czw., 12 gru 2024 o 10:57 Greg Huber <[email protected]> napisał(a): >> If I add the staging to the struts pom it builds correctly. There must >> be something in the way these new jakarta dependancies are configured. >> >> <repositories> >> <repository> >> <id>apache.staging</id> >> <name>ASF Maven 2 Staging</name> >> <url>https://repository.apache.org/content/groups/staging/</url> >> <releases> >> <enabled>true</enabled> >> <updatePolicy>always</updatePolicy> >> <checksumPolicy>warn</checksumPolicy> >> </releases> >> </repository> >> </repositories> > You are probably having a similar config for snapshot repository where > Jenkins deploys artifacts on each build, that's why it works. Test > builds are only available via the staging repository as configured > above. > > > Cheers > Łukasz > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >