Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-4957

Track missing artifact problem on maven jsf project

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9.3
    • 3.9.3
    • Wizards > JSF
    • None

    Description

      There will be an error after creating a maven jsf project. Once liferay faces team fix this problem, we need to check this back to work on IDE side.

      Steps to reproduce:
      1. executable command to generate a maven jsf project
      mvn archetype:generate \
      -DarchetypeGroupId=com.liferay.faces.archetype \
      -DarchetypeArtifactId=com.liferay.faces.archetype.jsf.portlet \
      -DarchetypeVersion=5.1.0 \
      -DgroupId=com.mycompany \
      -DartifactId=com.mycompany.my.jsf.portlet

      2. mvn clean package
      3. notice error about
      Could not find artifact
      com.liferay.faces.archetype:com.liferay.faces.archetype.parent:pom:6.1.0-SNAPSHOT and 'parent.relativePath' points at
      wrong local POM

      Manually temp workaround :
      switch version from 6.1.0-SNAPSHOT to 6.1.0 and maven update to refresh the jsf project

      Attachments

        Issue Links

          Activity

            People

              ethan.sun Ethan Sun (Inactive)
              yanan.yuan Yanan Yuan(Ashley Yuan)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 3 weeks, 4 days ago

                Packages

                  Version Package
                  3.9.3