java - Eclipse treat a directory as a subproject -



java - Eclipse treat a directory as a subproject -

i imported maven project had several sub projects eclipse using maven plugin eclipse.

later wanted add together sub project imported project. did creating new maven project through eclipse in default eclipse workspace , moving created project desired location of original project.

my problem is, though eclipse treats previous sub projects projects, newly added project shown folder, not sub project. cannot add together classes newly added sub project through eclipse.

here project structure.

it can seen though folders shown in bluish , in yellow. yellowish ones ones not treated projects.

can help me create eclipse identify these projects projects.

thanks

you need edit pom of new project way :

<parent> <groupid>com.firm.ex</groupid> <artifactid>artifact</artifactid> <relativepath>../pom.xml</relativepath> <version>1</version> </parent>

you have edit parent pom way :

<modules> ... <module>new_project_name</module> </modules>

java eclipse maven

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -