Maven dependencies in local REPO have .lastUpdated extension

后端 未结 2 2085
不思量自难忘°
不思量自难忘° 2021-01-11 11:55

When I try to to install maven project in local repository, I notice that pom and jar files have .lastUpdated extension. Because of th

2条回答
  •  爱一瞬间的悲伤
    2021-01-11 12:13

    It also can happen when you refer to the artifact which is listed under Maven Repository but is not there physically. E.g., the following Exasol artifact is listed under Maven Repository, but there's a small side note which tells that:

    Note: this artifact i[s] located at Exasol repository (https://maven.exasol.com/artifactory/exasol-releases/)

    This means that you need to separately add another repository (in this case Exasol) as a source in your pom.xml file:

    
    
        
            com.exasol
            exasol-jdbc
            6.2.1
        
    
    
    
    
        
            maven.exasol.com
            https://maven.exasol.com/artifactory/exasol-releases
            
                false
            
        
    
    

提交回复
热议问题