eclipse - Maven Dependencies references non existing library -


as stated above have problem regarding maven. in current eclipse project used maven dependecy management , worked fine until now.

the project not working anymore , states that:

maven dependencies references non existing library:    c:\.m2\repository\org\eclipse\lyo\oslc4j\core\oslc4j-core\1.1\oslc4j-core-1.1.jar' 

if check folder there files have same name jar end on jar.lastupdated.

i tried maven clean , maven update did not work. line in pom.xml marked red , states:

missing artifact org.eclipse.lyo.oslc4j.core:oslc4j-core:jar:1.1 

this content of pom.xml:

<project xmlns="http://maven.apache.org/pom/4.0.0" xmlns:xsi="http:/www.w3.org2001xmlschema-instance" xsi:schemalocation="http://maven.apache.org/pom/4.0.0 http://maven.apache.or/xsd/maven-4.0.0.xsd"> <modelversion>4.0.0</modelversion> <groupid>rtc_oslc_common</groupid> <artifactid>rtc_oslc_common</artifactid> <version>0.0.1-snapshot</version> <build>   <sourcedirectory>src</sourcedirectory>   <plugins>     <plugin>       <artifactid>maven-compiler-plugin</artifactid>       <version>2.3.2</version>       <configuration>         <source>1.6</source>         <target>1.6</target>       </configuration>     </plugin>   </plugins> </build> 

this block 1 marker states artifact missing.

<dependencies>   <dependency>     <groupid>org.eclipse.lyo.oslc4j.core</groupid>     <artifactid>oslc4j-core</artifactid>     <version>1.1</version>   </dependency> </dependencies> </project> 

i don't know why not reloading jars , instead stays in weird state. appriaciated.

basically maven telling cannot find dependency declared in pom.xml. fact there file called *.jar.lastupdated means maven tried download dependency wasn't able fetch it.

first try delete folder containing *.jar.lastupdated , run build again. maven try download dependency again. perhaps temporary error.

but dependency not available in maven central, may have add corresponding repository pom.xml.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -