cancel
Showing results for 
Search instead for 
Did you mean: 

Eclipse project not recognized as Maven project

adrianneagu
Champ in-the-making
Champ in-the-making
I create a New Activiti Project the usual way and I get an Eclipse project with a pom.xml file.
I can create diagrams, I can generate JUnit test cases, I can create the .bar file.
My problem is I cannot compile and run any of these JUnit tests.
No Activiti class is recognized (not even JUnit) despite having all these classes
in the .m2 local repository.
In fact, I see that my Activiti project is not recognized as a Maven project by Eclipse:
– there is no Maven entry in the Project contextual menu
– there no "Maven Dependencies" section on the Libraries tab of the Java Build Path dialog

Anyone any idea of how to make the Activiti projects recognized as Maven project by Eclipse?

Some details of my setup:
I'm using Activiti 5.14 (brought into Eclipse through the Eclipse update site as usual)
and I'm using Eclipse Kepler SR2, more precisely the Eclipse DSL distribution
And that has the M2E 1.4.0 Maven plugin included.
Don't know exactly which details are relevant and which ones not. I hope is something trivial
related to my Eclipse setup.

I see others having similar complains http://stackoverflow.com/questions/6308661/eclipse-project-not-importing-the-jar-packages-in-local-m... but none of the suggestions there applies to my new Activiti project, since it's not understood as a Maven project.


3 REPLIES 3

adrianneagu
Champ in-the-making
Champ in-the-making
Issues solved.
“Convert to Maven project” fixed my issue in the end
(after throwing a few errors to me, "Invalid IDClassPath…")
Adrian.

abreums
Champ in-the-making
Champ in-the-making
When the same happend to me, I solved it installing m2eclipse AND subclipse (the lack of this last one was the problem in my case).

julio_sampaio
Champ in-the-making
Champ in-the-making
Thank you guys!