Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2114

support/weblogic/glassfish-jsf/pom.xml contains outdated Mojarra version

    Details

      Description

      When following this guide to build a patched glassfish.jsf-horribly-long-version-number.jar, then the build fails with the following error message:

      .../liferay-faces/support((3.2.4-ga5))$ mvn -X  -P weblogic clean install
      [ERROR] The build could not read 1 project -> [Help 1]
      org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
      [FATAL] Non-resolvable parent POM: Could not find artifact com.liferay.faces.support:liferay-faces-support-weblogic:pom:3.2.4-ga5-SNAPSHOT in liferay-public (https://repository.liferay.com/nexus/content/groups/public) and 'parent.relativePath' points at wrong local POM @ line 5, column 10
      
          at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:416)
          at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:672)
          at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:663)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:253)
          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
          at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
          at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
          at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:606)
          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)
      [ERROR]   
      [ERROR]   The project com.oracle.weblogic:glassfish.jsf_1.0.0.0_2-1-21:12.1.2-0-0 (/home/tna/liferay/git/liferay-faces/support/weblogic/glassfish-jsf/pom.xml) has 1 error
      [ERROR]     Non-resolvable parent POM: Could not find artifact com.liferay.faces.support:liferay-faces-support-weblogic:pom:3.2.4-ga5-SNAPSHOT in liferay-public (https://repository.liferay.com/nexus/content/groups/public) and 'parent.relativePath' points at wrong local POM @ line 5, column 10 -> [Help 2]
      org.apache.maven.model.resolution.UnresolvableModelException: Could not find artifact com.liferay.faces.support:liferay-faces-support-weblogic:pom:3.2.4-ga5-SNAPSHOT in liferay-public (https://repository.liferay.com/nexus/content/groups/public)
          at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:195)
          at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:244)
          at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:899)
          at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:751)
          at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:309)
          at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:463)
          at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:432)
          at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:549)
          at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:432)
          at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:549)
          at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:432)
          at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:396)
          at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:672)
          at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:663)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:253)
          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
          at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
          at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
          at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:606)
          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.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact com.liferay.faces.support:liferay-faces-support-weblogic:pom:3.2.4-ga5-SNAPSHOT in liferay-public (https://repository.liferay.com/nexus/content/groups/public)
          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.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
          at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)
          at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:191)
          ... 26 more
      Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact com.liferay.faces.support:liferay-faces-support-weblogic:pom:3.2.4-ga5-SNAPSHOT in liferay-public (https://repository.liferay.com/nexus/content/groups/public)
          at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:39)
          at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
          at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
          at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)
          at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)
          at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)
          at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
          ... 30 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/ProjectBuildingException
      [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

      Attached a diff file of:
      liferay-faces/support/weblogic/glassfish-jsf/pom.xml

      with which the issue seems to be solved.

      Original: pom.xml
      Patched: pom-modified.xml
      Diff: pom-patch.xml

        Attachments

        1. pom-patch.xml
          1 kB
        2. pom-modified.xml
          6 kB
        3. pom.xml
          6 kB

          Issue Links

            Activity

              People

              Assignee:
              kyle.stiemann Kyle Stiemann (Inactive)
              Reporter:
              adam.nagy Ádám T. Nagy (Inactive)
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  liferay-faces-3.2.5-ga6
                  liferay-faces-4.2.5-ga6