Where did the EclipseLink/Maven repository go to?

前端 未结 6 1849
予麋鹿
予麋鹿 2021-01-04 07:55

The link quoted on the EclipseLink/Maven wiki ends on an Error 403 page on switch.ch. If you are redirected to a better mirror then that would already be the answer.

6条回答
  •  南方客
    南方客 (楼主)
    2021-01-04 08:47

    Just faced the same problem today. It appears that the URL provided on their Maven wiki page http://wiki.eclipse.org/EclipseLink/Maven works. But it works in a weird way: their repository is not indexed so if you try just to add this into pom.xml:

    
        
            EclipseLink Repo
            http://download.eclipse.org/rt/eclipselink/maven.repo
            
                true
            
        
    
    

    and then try to index the repository it will tell you Unable to update index for EclipseLink Repo|http://download.eclipse.org/rt/eclipselink/maven.repo.

    But if you also include into the pom.xml this:

    
        
            org.eclipse.persistence
            eclipselink
            2.0.0
            compile
        
    
    

    it will do the work and add the dependency. Not ideal but works.

提交回复
热议问题