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

Support maven plugin for liferay portal 7

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Reorganized
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: Plugins
    • Labels:
      None
    • Environment:
      Liferay Portal 7.0 ce m6

      Description

      As portal changed to osgi way in 7.x and make some components to osgi Bundles(like theme etc), some of plugins commands have been invalid

      1.create the theme by maven way and make the properties liferay.auto.deploy.dir/liferay.app.server.deploy.dir/liferay.app.server.lib.global.dir/liferay.app.server.portal.dir to a Liferay Portal 7.0 ce m6
      2.run mvn clean verify

      It would be failure and said:
      [ERROR] Failed to execute goal com.liferay.maven.plugins:liferay-maven-plugin:7.0.0-m2:theme-merge (default) on project teattheme: Source 'D:\liferay-bundle\liferay-portal-7.0-ce-m6\tomcat-7.0.62\webapps\ROOT\html\themes_unstyled\templates' does not exist -> [Help 1]
      [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/MojoExecutionException

        Attachments

          Activity

            People

            • Votes:
              4 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 33 weeks, 3 days ago

                Packages

                Version Package