Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Problem after executing Maven Task "eclipse:eclipse" - Unsupported IClasspathEntry kind=4

Hey guys!

I've already found one workaround for this problem but I'd like to understand more about the plugin and maven tasks and try to implement a definitive solution.

I have a maven project in Eclipse Juno SR2 and every time that I run the task "eclipse:eclipse"on this project, maven re-generate .classpath.

No problem, right? After all, this was the purpose of this task... however the problem is HOW the .classpath file is generated.
Usually, this task include many "var" referencing the jars from my "~/.m2" repository.

Here is an example of one line containing the use of var:

<classpathentry kind="var" path="M2_REPO/javax/javaee-web-api/6.0/javaee-web-api-6.0.jar"/>

The problem is when I try to use this option after:

Inline image 1

I got the following problem:

Inline image 2

This is very common problem and a little but annoying (usually other programmers commit .classpath after generating with eclipse:eclipse)

What do you guys can suggest me?

Thanks,

Artur Drummond




Back to the top