Skip to main content

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

This does not provide enough information to tell you anything useful.
Like I said in bugzilla, we need small standalone example and steps to
reproduce the problem. If I were to guess though, I'd blame “M2E
Connector for the maven-dependency-plugin”. There is really no good way
to integrate dependency plugin in eclipse build and intermittent
failures are consistent with the kind of problems I expect to see.

Also, in the future please avoid asking the same question both in
bugzilla and on the mailing list.

--
Regards,
Igor



On 2015-01-21 8:12, Mikael Petterson wrote:
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



_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users



Back to the top