Developer Guide - Eclispe

38 views
Skip to first unread message

Daniel Novo

unread,
Nov 2, 2022, 12:11:48 PM11/2/22
to WildFly
Hi everyone,

Is there any guide available to setup a wildfly project with eclipse ide?

I was trying to follow this guide,


but there's no information about ide setup.

Thanks

--
--------------
Daniel Novo

James Perkins

unread,
Nov 2, 2022, 12:18:49 PM11/2/22
to WildFly
I'm not an eclipse user, but it's just a Maven project so it should be the same as setting up any other Maven project in eclipse.

Darran Lofthouse

unread,
Nov 2, 2022, 12:41:35 PM11/2/22
to WildFly
Which project are you trying to import?  I don't use Windows but I do use Eclipse, most of our projects do import quite well using Import -> Maven -> Existing Maven Projects.

Daniel Novo

unread,
Nov 2, 2022, 12:58:23 PM11/2/22
to Darran Lofthouse, WildFly
Hi Darran,

I was trying to import wildfly-elytron. My eclipse version is 2021-09-R and i do that: "Import -> Maven -> Existing Maven Projects"

I have several Maven Problems:
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:checkstyle (execution: check-style, phase: compile) pom.xml /wildfly-elytron

Not sure how to fix this.

Thanks

--
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wildfly/bf24d385-46d7-42ba-b7a4-4aa2b923aed1n%40googlegroups.com.


--
--------------
Daniel Novo

Darran Lofthouse

unread,
Nov 2, 2022, 1:27:15 PM11/2/22
to WildFly
I think I generally force my way through those with options like resolve later.

I tend to use Eclipse more for the development of code but then drop back to the command line for the builds so integration with the maven lifecycle in eclipse is not so critical.

Cameron Rodriguez

unread,
Nov 2, 2022, 1:30:38 PM11/2/22
to Daniel Novo, Darran Lofthouse, WildFly
Hi Daniel,

If you look at the package explorer, do you only see one root package called wildfly-elytron-parent, or a number of different projects at the root level? If it's the latter, Eclipse will usually try to import all projects as root level, but it should only import the parent module. In that case it's similar to this thread:
  • Remove all packages from eclipse
  • Open a terminal in the root folder and run mvn eclipse:clean to make sure nothing was left by Eclipse (pulled from this answer)
  • Reimport the project, but deselect all options except the root-level folder (wildfly-elytron-parent)
Let me know if that's not the case or if it doesn't work.



--
Cameron Rodriguez (he/him)
Software Engineering Intern
WildFly Elytron

Daniel Novo

unread,
Nov 3, 2022, 6:03:48 AM11/3/22
to Cameron Rodriguez, Darran Lofthouse, WildFly
Hi Cameron,

With a new workspace to avoid confusion. I do this:

image.png

This way the source folder is not recognized on eclipse.

image.png

Am I doing something wrong?
--
--------------
Daniel Novo

Darran Lofthouse

unread,
Nov 3, 2022, 6:23:13 AM11/3/22
to Daniel Novo, Cameron Rodriguez, WildFly
When importing you do need to select all of the projects, Eclipse only recognises the source folders once they are all individually imported.
Reply all
Reply to author
Forward
0 new messages