<repository>
            <id>apache.snapshots</id>
            <name>ASF Maven 2 Snapshot</name>
<url>https://repository.apache.org/content/groups/staging/</url>
            <releases>
                <enabled>*true*</enabled>
                <updatePolicy>always</updatePolicy>
                <checksumPolicy>warn</checksumPolicy>
            </releases>
            <snapshots>
                <enabled>false</enabled>
                <updatePolicy>always</updatePolicy>
                <checksumPolicy>warn</checksumPolicy>
            </snapshots>
        </repository>

Ok thanks,  for me I change <releases> to true😁.

##

Also why in my ~.m2/repository/org/apache/struts folder I have struts 1 stuff? If I remove my repo above it still downloads them.

struts-core, struts-master, struts-parent etc

Maybe a maven thing?

Cheers Greg

On 19/10/2021 10:02, Lukasz Lenart wrote:
wt., 19 paź 2021 o 10:46 Greg Huber<gregh3...@gmail.com>  napisał(a):
Has the maven url's changed, as I get

[WARNING] The POM for org.apache.struts:struts2-core:jar:2.5.27 is
missing, no dependency information available
[WARNING] The POM for org.apache.struts:struts2-tiles-plugin:jar:2.5.27
is missing, no dependency information available
[WARNING] The POM for
org.apache.struts:struts2-javatemplates-plugin:jar:2.5.27 is missing, no
dependency information available

normally all I do is change the version and it works.
This version is not officially released yet, so it's not available in
the Maven Central repository. Add the below snippet in
~/.m2/repository to be able to fetch this build from staging repo:

<settings>
     ...
     <profiles>
         <profile>
             <id>local</id>
             <activation>
                 <activeByDefault>true</activeByDefault>
             </activation>
             <repositories>
                 <repository>
                     <id>apache-pre-release</id>

<url>https://repository.apache.org/content/repositories/staging/</url>
                     <layout>default</layout>
                 </repository>
             </repositories>
         </profile>
     </profiles>
</settings>

I'm going add a note about this here
https://struts.apache.org/builds.html#test-builds


Regards

Reply via email to