Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDeveloper not importing a maven project correctly

Tyson OswaldAug 6 2024 — edited Aug 6 2024
I am working with an existing java application that I migrated manually to Maven. After I checked in the projects to our Github I cloned them to make sure they could be imported in to JDeveloper so other team members could do the same. We are using JDeveloper 12.2.1.4 or 12c. I have the source in the standard maven directory layout

src/main/java contains the java source
src/main/webapp contains the web files

When I import the maven project the only thing that is imported is the web content and the pom.xml. I am not sure why and I have tried various directory structures to get it to importing the java files and nothing has worked.

Even if I create a empty project using mvn archetype:generate JDeveloper will not import the java source.

any help would be greatly appreciated

thanks,
Tyson
Comments
Post Details
Added on Aug 6 2024
2 comments
629 views