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

Add "fix" to workaround scope:import bug of Maven 2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 1.2.1
    • None
    • None
    • None

    Description

      When building a project with the archetype, one needs to either:

      • use Maven 3 (which is probably fine, but we're still using m2 internally), or
      • have magnolia-project:pom and magnolia-ui-project:pom in their local maven repository, or
      • add
        <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

                gjoseph Magnolia International
                gjoseph Magnolia International
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD