Uploaded image for project: 'Archetypes'
  1. Archetypes
  2. ARCH-45

Please remove Maven 2 leftowers

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Obsolete
    • Neutral
    • None
    • None
    • None
    • None
    • Basel 22
    • 0

    Description

      The parent pom adds a wide variety of maven 2 default configuration that complicates build/deploy with maven 3

      Please remove:

      <!-- Due to a bug in Maven 2, we have to import info.magnolia:magnolia-project here.
      It would normally not be needed, since info.magnolia:magnolia-bundle-parent already imports it. (see below)
      The dependency to info.magnolia:magnolia-project needs to be BEFORE the dependency
      to info.magnolia:magnolia-bundle-parent, otherwise it doesn't work either.
      Also note that this is assuming magnolia-project and magnolia-ui-project have the same version number as
      magnolia-bundle-parent, which not always be true in the future.
      If you are using Maven 3, you should not need the 2 dependencies below, and all should be well.

             -->
            <dependency>
              <groupId>info.magnolia</groupId>
              <artifactId>magnolia-project</artifactId>
              <version>${magnoliaVersion}</version>
              <type>pom</type>
              <scope>import</scope>
            </dependency>
            <dependency>
              <groupId>info.magnolia.ui</groupId>
              <artifactId>magnolia-ui-project</artifactId>
              <version>${magnoliaVersion}</version>
              <type>pom</type>
              <scope>import</scope>
            </dependency>
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                cmeier Christoph Meier
                jschulte Jan Schulte
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD