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

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

XMLWordPrintable

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

      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>
        

        Acceptance criteria

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

                Created:
                Updated:
                Resolved: