7 Replies Latest reply on Nov 8, 2016 9:08 AM by Gan Sanders

    quickstart: ejb-multi-server - NO mvn clean install possible

    Gan Sanders Newbie

      from quickstart/ejb-multi-server at 10.x · wildfly/quickstart · GitHub

       

      ON wildfly-10.1.0.Final

       

      After downloading this example I was following recommended descriptions strictly.

      When try to mvn -e clean install following Error occurs:

       

      [INFO] Error stacktraces are turned on.

      [INFO] Scanning for projects...

      [INFO] ------------------------------------------------------------------------

      [INFO] Reactor Build Order:

      [INFO]

      [INFO] WildFly Quickstart: ejb-multi-server

      [INFO] WildFly Quickstart: ejb-multi-server - app-one

      [INFO] WildFly Quickstart: Quickstart: ejb

      [INFO] WildFly Quickstart: Quickstart: ear

      [INFO] WildFly Quickstart: ejb-multi-server - app-two

      [INFO] WildFly Quickstart: ejb

      [INFO] WildFly Quickstart: Quickstart: ear

      [INFO] WildFly Quickstart: ejb-multi-server - app-main

      [INFO] WildFly Quickstart: ejb

      [INFO] WildFly Quickstart: web

      [INFO] WildFly Quickstart: Quickstart: ear

      [INFO] WildFly Quickstart: ejb-multi-server - app-web

      [INFO] WildFly Quickstart: ejb-multi-server - client

      [INFO]                                                                        

      [INFO] ------------------------------------------------------------------------

      [INFO] Building WildFly Quickstart: ejb-multi-server 10.0.0-SNAPSHOT

      [INFO] ------------------------------------------------------------------------

      [INFO]

      [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ wildfly-ejb-multi-server ---

      [INFO]

      [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ wildfly-ejb-multi-server ---

      [INFO] Installing ~/workspace_LAB_SANDBOX/quickstart/ejb-multi-server/pom.xml to ~/.m2/repository/org/wildfly/quickstarts/wildfly-ejb-multi-server/10.0.0-SNAPSHOT/wildfly-ejb-multi-server-10.0.0-SNAPSHOT.pom

      [INFO]                                                                        

      [INFO] ------------------------------------------------------------------------

      [INFO] Building WildFly Quickstart: ejb-multi-server - app-one 10.0.0-SNAPSHOT

      [INFO] ------------------------------------------------------------------------

      [INFO]

      [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ wildfly-ejb-multi-server-app-one ---

      [INFO]

      [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ wildfly-ejb-multi-server-app-one ---

      [INFO] Installing ~/workspace_LAB_SANDBOX/quickstart/ejb-multi-server/app-one/pom.xml to ~/.m2/repository/org/wildfly/quickstarts/wildfly-ejb-multi-server-app-one/10.0.0-SNAPSHOT/wildfly-ejb-multi-server-app-one-10.0.0-SNAPSHOT.pom

      [INFO]                                                                        

      [INFO] ------------------------------------------------------------------------

      [INFO] Building WildFly Quickstart: Quickstart: ejb 10.0.0-SNAPSHOT

      [INFO] ------------------------------------------------------------------------

      [WARNING] The POM for org.slf4j:slf4j-api:jar:1.7.7.jbossorg-1 is missing, no dependency information available

      [INFO] ------------------------------------------------------------------------

      [INFO] Reactor Summary:

      [INFO]

      [INFO] WildFly Quickstart: ejb-multi-server ............... SUCCESS [  0.365 s]

      [INFO] WildFly Quickstart: ejb-multi-server - app-one ..... SUCCESS [  0.013 s]

      [INFO] WildFly Quickstart: Quickstart: ejb ................ FAILURE [  0.214 s]

      [INFO] WildFly Quickstart: Quickstart: ear ................ SKIPPED

      [INFO] WildFly Quickstart: ejb-multi-server - app-two ..... SKIPPED

      [INFO] WildFly Quickstart: ejb ............................ SKIPPED

      [INFO] WildFly Quickstart: Quickstart: ear ................ SKIPPED

      [INFO] WildFly Quickstart: ejb-multi-server - app-main .... SKIPPED

      [INFO] WildFly Quickstart: ejb ............................ SKIPPED

      [INFO] WildFly Quickstart: web ............................ SKIPPED

      [INFO] WildFly Quickstart: Quickstart: ear ................ SKIPPED

      [INFO] WildFly Quickstart: ejb-multi-server - app-web ..... SKIPPED

      [INFO] WildFly Quickstart: ejb-multi-server - client ...... SKIPPED

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 1.960 s

      [INFO] Finished at: 2016-10-18T15:34:25+02:00

      [INFO] Final Memory: 28M/346M

      [INFO] ------------------------------------------------------------------------

      [ERROR] Failed to execute goal on project wildfly-ejb-multi-server-app-one-ejb: Could not resolve dependencies for project org.wildfly.quickstarts:wildfly-ejb-multi-server-app-one-ejb:ejb:10.0.0-SNAPSHOT: Failure to find org.slf4j:slf4j-api:jar:1.7.7.jbossorg-1 in https://repository.apache.org/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of repository-apache-org has elapsed or updates are forced -> [Help 1]

      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project wildfly-ejb-multi-server-app-one-ejb: Could not resolve dependencies for project org.wildfly.quickstarts:wildfly-ejb-multi-server-app-one-ejb:ejb:10.0.0-SNAPSHOT: Failure to find org.slf4j:slf4j-api:jar:1.7.7.jbossorg-1 in https://repository.apache.org/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of repository-apache-org has elapsed or updates are forced

          at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:221)

          at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)

          at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:245)

          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)

          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)

          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)

          at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)

          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)

          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)

          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)

          at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)

          at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)

          at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:498)

          at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

          at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

          at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

          at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

      Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.wildfly.quickstarts:wildfly-ejb-multi-server-app-one-ejb:ejb:10.0.0-SNAPSHOT: Failure to find org.slf4j:slf4j-api:jar:1.7.7.jbossorg-1 in https://repository.apache.org/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of repository-apache-org has elapsed or updates are forced

          at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:211)

          at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)

          ... 23 more

      Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Failure to find org.slf4j:slf4j-api:jar:1.7.7.jbossorg-1 in https://repository.apache.org/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of repository-apache-org has elapsed or updates are forced

          at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)

          at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:205)

          ... 24 more

      Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find org.slf4j:slf4j-api:jar:1.7.7.jbossorg-1 in https://repository.apache.org/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of repository-apache-org has elapsed or updates are forced

          at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)

          at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)

          at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)

          ... 25 more

      Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find org.slf4j:slf4j-api:jar:1.7.7.jbossorg-1 in https://repository.apache.org/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of repository-apache-org has elapsed or updates are forced

          at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:231)

          at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)

          at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:585)

          at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:503)

          at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)

          ... 27 more

      [ERROR]

      [ERROR] Re-run Maven using the -X switch to enable full debug logging.

      [ERROR]

      [ERROR] For more information about the errors and possible solutions, please read the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

      [ERROR]

      [ERROR] After correcting the problems, you can resume the build with the command

      [ERROR]   mvn <goals> -rf :wildfly-ejb-multi-server-app-one-ejb

       

      Any Idea ?

        • 1. Re: quickstart: ejb-multi-server - NO mvn clean install possible
          Tomaz Cerar Master

          you need to add jboss.org maven repository to your maven config

           

          Index of /groups/public

          • 2. Re: quickstart: ejb-multi-server - NO mvn clean install possible
            Gan Sanders Newbie

                 thank you, Tomaz !

                 but it failed again:

             

             

             

            [INFO] Building EJB wildfly-ejb-multi-server-app-two-ejb with EJB version 3.1

            [INFO] ------------------------------------------------------------------------

            [INFO] Reactor Summary:

            [INFO]

            [INFO] WildFly Quickstart: ejb-multi-server - app-one ..... SUCCESS [  0.489 s]

            [INFO] WildFly Quickstart: Quickstart: ejb ................ SUCCESS [  1.955 s]

            [INFO] WildFly Quickstart: Quickstart: ear ................ SUCCESS [  0.377 s]

            [INFO] WildFly Quickstart: ejb-multi-server - app-two ..... SUCCESS [  0.013 s]

            [INFO] WildFly Quickstart: ejb ............................ FAILURE [  0.067 s]

            [INFO] WildFly Quickstart: Quickstart: ear ................ SKIPPED

            [INFO] WildFly Quickstart: ejb-multi-server - app-main .... SKIPPED

            [INFO] WildFly Quickstart: ejb ............................ SKIPPED

            [INFO] WildFly Quickstart: web ............................ SKIPPED

            [INFO] WildFly Quickstart: Quickstart: ear ................ SKIPPED

            [INFO] WildFly Quickstart: ejb-multi-server - app-web ..... SKIPPED

            [INFO] WildFly Quickstart: ejb-multi-server - client ...... SKIPPED

            [INFO] JBoss EAP Quickstart: ejb-multi-server ............. SKIPPED

            [INFO] ------------------------------------------------------------------------

            [INFO] BUILD FAILURE

            [INFO] ------------------------------------------------------------------------

            [INFO] Total time: 5.411 s

            [INFO] Finished at: 2016-10-21T19:53:25+02:00

            [INFO] Final Memory: 40M/415M

            [INFO] ------------------------------------------------------------------------

            [ERROR] Failed to execute goal org.apache.maven.plugins:maven-ejb-plugin:2.3:ejb (default-ejb) on project wildfly-ejb-multi-server-app-two-ejb: There was a problem creating the EJB archive: ~/workspace_LAB_SANDBOX/quickstart/ejb-multi-server/app-two/ejb/target/classes isn't a directory. -> [Help 1]

            org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-ejb-plugin:2.3:ejb (default-ejb) on project wildfly-ejb-multi-server-app-two-ejb: There was a problem creating the EJB archive: ~/workspace_LAB_SANDBOX/quickstart/ejb-multi-server/app-two/ejb/target/classes isn't a directory.

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

                at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)

                at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)

                at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

                at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)

                at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)

                at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)

                at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)

                at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)

                at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)

                at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:498)

                at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

                at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

                at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

                at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

            Caused by: org.apache.maven.plugin.MojoExecutionException: There was a problem creating the EJB archive: ~/workspace_LAB_SANDBOX/quickstart/ejb-multi-server/app-two/ejb/target/classes isn't a directory.

                at org.apache.maven.plugin.ejb.EjbMojo.execute(EjbMojo.java:331)

                at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)

                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)

                ... 20 more

            Caused by: org.codehaus.plexus.archiver.ArchiverException: ~/workspace_LAB_SANDBOX/quickstart/ejb-multi-server/app-two/ejb/target/classes isn't a directory.

                at org.codehaus.plexus.archiver.AbstractArchiver.addFileSet(AbstractArchiver.java:258)

                at org.codehaus.plexus.archiver.AbstractArchiver.addDirectory(AbstractArchiver.java:244)

                at org.codehaus.plexus.archiver.AbstractArchiver.addDirectory(AbstractArchiver.java:232)

                at org.apache.maven.plugin.ejb.EjbMojo.execute(EjbMojo.java:300)

                ... 22 more

            [ERROR]

            [ERROR]

            [ERROR] For more information about the errors and possible solutions, please read the following articles:

            [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

            [ERROR]

            [ERROR] After correcting the problems, you can resume the build with the command

            [ERROR]   mvn <goals> -rf :wildfly-ejb-multi-server-app-two-ejb

            • 3. Re: quickstart: ejb-multi-server - NO mvn clean install possible
              Tomaz Cerar Master

              that is bizzare error.

              What version of maven are you using?

               

              could you try with latest 3.3.9?

              • 4. Re: quickstart: ejb-multi-server - NO mvn clean install possible
                Gan Sanders Newbie

                     I already use :

                mvn -v

                Apache Maven 3.3.9

                Maven home: /usr/share/maven

                Java version: 1.8.0_91, vendor: Oracle Corporation

                Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre

                Default locale: de_AT, platform encoding: UTF-8

                OS name: "linux", version: "4.4.0-43-generic", arch: "amd64", family: "unix"

                • 5. Re: quickstart: ejb-multi-server - NO mvn clean install possible
                  Gan Sanders Newbie

                  you are right! that's pecular indeed. I already download all wildfly10-quickstarts totally new, followed again README.MD and other instructions exactly. result: useless ! but: the errors show that parent-bom-pom configs are wrong. have a look:

                   

                  [INFO] Scanning for projects...

                  [ERROR] [ERROR] Some problems were encountered while processing the POMs:

                  [WARNING] 'parent.relativePath' of POM org.wildfly.quickstarts:wildfly-ejb-multi-server-app-one:[unknown-version] (~/workspace_LAB_SANDBOX/quickstart/ejb-multi-server/app-one/pom.xml) points at org.jboss.as.quickstarts:jboss-ejb-multi-server instead of org.wildfly.quickstarts:wildfly-ejb-multi-server, please verify your project structure @ line 21, column 13

                  [FATAL] Non-resolvable parent POM for org.wildfly.quickstarts:wildfly-ejb-multi-server-app-one:[unknown-version]: Could not find artifact org.wildfly.quickstarts:wildfly-ejb-multi-server:pom:10.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 21, column 13

                  [WARNING] 'parent.relativePath' of POM org.wildfly.quickstarts:wildfly-ejb-multi-server-app-two:[unknown-version] (~/workspace_LAB_SANDBOX/quickstart/ejb-multi-server/app-two/pom.xml) points at org.jboss.as.quickstarts:jboss-ejb-multi-server instead of org.wildfly.quickstarts:wildfly-ejb-multi-server, please verify your project structure @ line 21, column 13

                  [FATAL] Non-resolvable parent POM for org.wildfly.quickstarts:wildfly-ejb-multi-server-app-two:[unknown-version]: Could not find artifact org.wildfly.quickstarts:wildfly-ejb-multi-server:pom:10.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 21, column 13

                  [WARNING] 'parent.relativePath' of POM org.wildfly.quickstarts:wildfly-ejb-multi-server-app-main:[unknown-version] (~/workspace_LAB_SANDBOX/quickstart/ejb-multi-server/app-main/pom.xml) points at org.jboss.as.quickstarts:jboss-ejb-multi-server instead of org.wildfly.quickstarts:wildfly-ejb-multi-server, please verify your project structure @ line 21, column 13

                  [FATAL] Non-resolvable parent POM for org.wildfly.quickstarts:wildfly-ejb-multi-server-app-main:[unknown-version]: Could not find artifact org.wildfly.quickstarts:wildfly-ejb-multi-server:pom:10.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 21, column 13

                  [WARNING] 'parent.relativePath' of POM org.wildfly.quickstarts:wildfly-ejb-multi-server-app-web:[unknown-version] (~/workspace_LAB_SANDBOX/quickstart/ejb-multi-server/app-web/pom.xml) points at org.jboss.as.quickstarts:jboss-ejb-multi-server instead of org.wildfly.quickstarts:wildfly-ejb-multi-server, please verify your project structure @ line 21, column 13

                  [FATAL] Non-resolvable parent POM for org.wildfly.quickstarts:wildfly-ejb-multi-server-app-web:[unknown-version]: Could not find artifact org.wildfly.quickstarts:wildfly-ejb-multi-server:pom:10.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 21, column 13

                  [WARNING] 'parent.relativePath' of POM org.wildfly.quickstarts:wildfly-ejb-multi-server-client:[unknown-version] (~/workspace_LAB_SANDBOX/quickstart/ejb-multi-server/client/pom.xml) points at org.jboss.as.quickstarts:jboss-ejb-multi-server instead of org.wildfly.quickstarts:wildfly-ejb-multi-server, please verify your project structure @ line 21, column 13

                  [FATAL] Non-resolvable parent POM for org.wildfly.quickstarts:wildfly-ejb-multi-server-client:[unknown-version]: Could not find artifact org.wildfly.quickstarts:wildfly-ejb-multi-server:pom:10.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 21, column 13

                  [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 138, column 29

                  [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ org.wildfly.quickstarts:wildfly-wicket-ear-war:[unknown-version], ~/workspace_LAB_SANDBOX/quickstart/wicket-ear/war/pom.xml, line 100, column 21

                  [WARNING] The expression ${build.finalName} is deprecated. Please use ${project.build.finalName} instead. @

                  @

                  [ERROR] The build could not read 5 projects -> [Help 1]

                  [ERROR]  

                  [ERROR]   The project org.wildfly.quickstarts:wildfly-ejb-multi-server-app-one:[unknown-version] (~/workspace_LAB_SANDBOX/quickstart/ejb-multi-server/app-one/pom.xml) has 1 error

                  [ERROR]     Non-resolvable parent POM for org.wildfly.quickstarts:wildfly-ejb-multi-server-app-one:[unknown-version]: Could not find artifact org.wildfly.quickstarts:wildfly-ejb-multi-server:pom:10.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 21, column 13 -> [Help 2]

                  [ERROR]  

                  [ERROR]   The project org.wildfly.quickstarts:wildfly-ejb-multi-server-app-two:[unknown-version] (~/workspace_LAB_SANDBOX/quickstart/ejb-multi-server/app-two/pom.xml) has 1 error

                  [ERROR]     Non-resolvable parent POM for org.wildfly.quickstarts:wildfly-ejb-multi-server-app-two:[unknown-version]: Could not find artifact org.wildfly.quickstarts:wildfly-ejb-multi-server:pom:10.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 21, column 13 -> [Help 2]

                  [ERROR]  

                  [ERROR]   The project org.wildfly.quickstarts:wildfly-ejb-multi-server-app-main:[unknown-version] (~/workspace_LAB_SANDBOX/quickstart/ejb-multi-server/app-main/pom.xml) has 1 error

                  [ERROR]     Non-resolvable parent POM for org.wildfly.quickstarts:wildfly-ejb-multi-server-app-main:[unknown-version]: Could not find artifact org.wildfly.quickstarts:wildfly-ejb-multi-server:pom:10.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 21, column 13 -> [Help 2]

                  [ERROR]  

                  [ERROR]   The project org.wildfly.quickstarts:wildfly-ejb-multi-server-app-web:[unknown-version] (~/workspace_LAB_SANDBOX/quickstart/ejb-multi-server/app-web/pom.xml) has 1 error

                  [ERROR]     Non-resolvable parent POM for org.wildfly.quickstarts:wildfly-ejb-multi-server-app-web:[unknown-version]: Could not find artifact org.wildfly.quickstarts:wildfly-ejb-multi-server:pom:10.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 21, column 13 -> [Help 2]

                  [ERROR]  

                  [ERROR]   The project org.wildfly.quickstarts:wildfly-ejb-multi-server-client:[unknown-version] (~/workspace_LAB_SANDBOX/quickstart/ejb-multi-server/client/pom.xml) has 1 error

                  [ERROR]     Non-resolvable parent POM for org.wildfly.quickstarts:wildfly-ejb-multi-server-client:[unknown-version]: Could not find artifact org.wildfly.quickstarts:wildfly-ejb-multi-server:pom:10.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 21, column 13 -> [Help 2]

                  [ERROR]

                  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

                  [ERROR] Re-run Maven using the -X switch to enable full debug logging.

                  [ERROR]

                  [ERROR] For more information about the errors and possible solutions, please read the following articles:

                  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

                  [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

                  • 6. Re: quickstart: ejb-multi-server - NO mvn clean install possible
                    Wolfgang Mayer Master

                    Your Java version looks a bit strange as well.

                     

                    Java version: 1.8.0_91, vendor: Oracle Corporation

                    (Java HotSpot?)

                     

                    Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre

                    OpenJDK Runtime Environment (IcedTea)?

                     

                    It should work if you point your JAVA_HOME to the Java HotSpot as well.

                    • 7. Re: quickstart: ejb-multi-server - NO mvn clean install possible
                      Gan Sanders Newbie

                      NOPE ! everythings fine referenced and working.

                       

                      java-version does not matter indeed. (other layer) because it always ends up with

                       

                      Non-resolvable parent POM for org.wildfly.quickstarts:wildfly-ejb-multi-server-app-main:[unknown-version]: Could not find artifact org.wildfly.quickstarts:wildfly-ejb-multi-server:pom:10.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 21, column 13  ...

                       

                      which says there is a wrong reference INTO PARENT POM !

                       

                      the funny thing is if I take the EAP-quickstarts it work out of the box.