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

Liferay=maven-plugin should be able to install third party Liferay dependencies based on lib/versions.xml

    Details

    • Type: New Feature
    • Status: Contributed Solution
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.1.0 GA1
    • Fix Version/s: None
    • Component/s: Plugins
    • Liferay Contributor's Agreement:
      Accept

      Description

      I wrote a liferay-maven-plugin mojo that maveners might find useful :

      gist

      It installs lib/versions.xml libs as maven dependencies into local repo or to a custom location and generates pom file with them, so that in can be included.
      for testing etc. If you wanted to boot up liferay for infrastructure testing, you would need them

      There is an alternative to use additionalClasspathElements in surefire-maven-plugin but it has huge classloading drawbacks.

      It's just about having the right stuff on the classpath so you can boot liferay up via Init.initWithSpring(); with whatever spring xmls you need for testing from maven environment mainly

      I just haven't tested it on Windows, otherwise I think it is reliable

        Attachments

          Activity

            People

            • Assignee:
              lr_maven LR Maven
              Reporter:
              vychtrle Jakub Liska (Inactive)
              Participants of an Issue:
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                8 years, 5 weeks, 2 days ago

                Packages

                Version Package