Uploaded image for project: 'PUBLIC - Liferay Maven'
  1. PUBLIC - Liferay Maven
  2. MAVEN-138

As a liferay-faces portlet developer, I'd like to be able to execute liferay:deploy goal without download extra dependencies

    Details

    • Type: Story
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: Plugins
    • Labels:
      None

      Description

      Right now in AbstractLiferayMojo it will check to see if the following properties are set in plugin config

      appServerClassesPortalDir
      appServerLibGlobalDir
      appServerLibPortalDir
      appServerPortalDir
      appServerTldPortalDir

      These properties are used by most of the Mojos to call tools in portal-impl. however, the PluginDeployerMojo doesn't need those properties in order to function, it only needs these two properties

      liferayVersion
      autoDeployDir

      Also since "liferay:deploy" is probably the most commonly used mojo, I believe it makes sense for us to make this mojo able to execute without requiring all of those other dependencies. Because right now if the developer doesn't specify those the AbstractLiferayMojo will go and download a copy of dependencies (right now portal-web is 100M+) which is not a good developer experience for just trying to use "liferay:deploy" goal.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gregory.amerson Gregory Amerson
                Reporter:
                gregory.amerson Gregory Amerson
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 42 weeks, 2 days ago

                  Packages

                  Version Package
                  Master