The best place to *find* answers to programming/development questions, imo, however it's the *worst* place to *ask* questions (if your first question/comment doesn't get any up-rating/response, then u can't ask anymore questions--ridiculously unrealistic), but again, a great reference for *finding* answers.

My Music (Nickleus)

20180913

[SOLVED] jboss-javaee-multi: mvn clean install wildfly:deploy Could not find artifact sun.jdk:jconsole:jar:jdk

I was trying to deploy the wildfly quickstart app "jboss-javaee-multi: Example Using Multiple Java EE 7 Technologies Deployed as an EAR"

in Red Hat Developer Studio (version 12.0.0.GA), following the README instructions:
mvn clean install wildfly:deploy

but it would fail:
[INFO] Reactor Summary:
[INFO]
[INFO] jboss-javaee-multi 0.0.1-SNAPSHOT .................. FAILURE [  3.292 s]
[INFO] jboss-javaee-multi: EJB Module ..................... SKIPPED
[INFO] jboss-javaee-multi: WAR Module ..................... SKIPPED
[INFO] jboss-javaee-multi: EAR Module 0.0.1-SNAPSHOT ...... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.755 s
[INFO] Finished at: 2018-09-13T15:16:40+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final:deploy (default-cli) on project jboss-javaee-multi: Execution default-cli of goal org.wildfly.plugins:wildfly-ma
ven-plugin:1.0.2.Final:deploy failed: Plugin org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final or one of its dependencies could not be resolved: Could not find artifact sun.jdk:jconsole:jar:jdk
 at specified path C:\Program Files\Java\jdk-10.0.2/../lib/jconsole.jar -> [Help 1]
...
but then I found this thread jconsole not found where James Perkins wrote:
Could you try 1.2.1.Final? That version should work with Java 9.
so to fix my problem i opened the jboss-javaee-multi\pom.xml and changed the value of version.wildfly.maven.plugin from:
<version.wildfly.maven.plugin>1.0.2.Final</version.wildfly.maven.plugin>
to:
<version.wildfly.maven.plugin>1.2.1.Final</version.wildfly.maven.plugin>

then I reran the mvn command in Terminal and it worked:
mvn clean install wildfly:deploy

Thx James :)