Failed to read metadata file for artifact 'org.apache.tiles: tiles-core: jar'

I get the following error during maven build today.

Unable to resolve artifact: Unable to get dependency information: Unable to read the metadata file for artifact 'org.apache.tiles:tiles-core:jar': Cannot find parent: org.apache.tiles:tiles-parent for project: null:tiles-core:jar:null for project null:tiles-core:jar:null 08:52:47 org.apache.tiles:tiles-core:jar:2.0.6 08:52:47 08:52:47 from the specified remote repositories: 08:52:47 apache.snapshots (http://repository.apache.org/snapshots), 08:52:47 central (http://repo1.maven.org/maven2), 08:52:47 nexus (http://10.210.40.37:8081/nexus/content/groups/public) 08:52:47 08:52:47 Path to dependency: 08:52:47 1) org.apache.maven:super-pom:pom:2.0 08:52:47 2) com.pvalegacy:bo:jar:3.113.0-SNAPSHOT 08:52:47 3) com.pvalegacy:s2-common:jar:3.113.0-SNAPSHOT 08:52:47 4) org.apache.struts:struts2-tiles-plugin:jar:2.3.16.3 

I think this is because the site: dtddoc.sf.net shows "The web project is currently offline, waiting for the final migration of its data to our new data center."

Which maven loads as pom, and then it turns out that this is incorrect.

Can anyone suggest a solution?

Note. I am using Maven 3.0.5, JDK 7

Note. Clearing the .m2 folder does not matter. This does not allow metadata to be found.

+5
source share
3 answers

According to the official SourceForge blog, they are moving their data to the new data center. Thus, all websites (hosted on their servers) receive this message during this time:

 Project web is currently offline pending the final migration of its data to our new datacenter 

You can learn more about this service at https://sourceforge.net/blog/upcoming-sourceforge-hardware-refresh/ .

+5
source

I got the same error. It came from: http://javaxdelta.sourceforge.net/maven2/repository/ Performing some repairs, and each request replies: "The web project is currently offline, waiting for the final migration of its data to our new processing center data. " And now, when maven is sent to get pom.xml from its repo, it writes this line as pom.xml: S

My solution was to reorganize my maven repository links to get rid of the sourceforge link, because I got everything I need from the center anyway.

+3
source

Due to data migration , SourceForge has moved its data over time:

 This coming week, Feb 12th-Feb 15th, SourceForge & @Slashdot will be cutting over to a new datacenter. We will be working hard to ensure that there will be as few issues as possible, but we want to inform the community in the event any issues arise. 

Today they announced that it all started fine :

Update: Project website hosting and SFTP uploads have been restored. Thanks for your patience.

So, you will not get an error during the build of Maven.

0
source

Source: https://habr.com/ru/post/1275374/


All Articles