Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] updating dependency in pom.xml gives "No such file or directory" on it

Hi,

 

We have a problem that have been bothering us for a long time ( from time to time). We are using Eclipse Kepler and 1.4.0 of m2e.

We have two projects, we can call them project A and B.  B is depending on A.

Sometimes ( yes not always ) when we change the dependency for A in project B:s pom.xml to use a delivered version ( not SNAPSHOT that we have in our project A pom) in nexus repository we get the following error message of project B:s pom saying “No such file or directory”. Then we do some magical “refresh”/”remove files”/”clean .m2e” and after a while ( sometimes very long) this message disappears. When we have the message we cannot build so it is really stopping us.

 

I could not find a bug report for this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=458031 so I added one.

 

Do you know why this happens?

 

 

I tried to install a higher version of m2e on Kepler but found out that I need Luna to install it. So my current approach is to:

 

-         Install Luna

-        Make sure we have the latest version of m2e.

-        Install the  “M2E Connector for the maven-dependency-plugin”

 

What do you think of this approach? Could this solve our problem?

 

Br,

 

//mike

 


Back to the top