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 struts2-tiles-plugin: Could 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 <gregh3...@gmail.com> 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: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org


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

Reply via email to