Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-2739

Compilation errors when building magnolia-ui-vaadin-common-widgets using Maven 3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Neutral Neutral
    • None
    • 5.2.x, 5.3
    • build
    • None
    • Apache Maven 3.2.1
      Java version: 1.7.0_21, vendor: Oracle Corporation
      Ubuntu 13.10
    • Yes

      magnolia-ui-vaadin-common-widgets within magnolia_ui.pub doesn't compile using Maven 3 due to the groovy rename of patched java files not being executed.

      Looking at the pom there are two groovy-maven-plugin declarations. Maven ignores the first declaration and so only then executes the second plugin. Instead of two separate declarations of the plugin there should be two separate executions within a single plugin declaration.

      Please find attached a patch to the pom which fixes the issue. Note that this issue does not occur with Maven 2, but the project will still build in Maven 2 after the patch is applied.

        Acceptance criteria

              mgeljic Mikaël Geljić
              pphillips Peter Phillips
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: