[ARCH-46] Update 'magnolia-project-archetype' Created: 07/Dec/15  Updated: 11/Apr/18  Resolved: 08/Dec/15

Status: Closed
Project: Archetypes
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2.3

Type: Improvement Priority: Neutral
Reporter: Jan Schulte Assignee: Christoph Meier
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 0.5d
Original Estimate: Not Specified

Issue Links:
Relates
relates to ARCH-48 Update 'magnolia-forge-module-archety... Closed
relates to ARCH-36 Add "fix" to workaround scope:import ... Closed
relation
is related to ARCH-43 Update 'magnolia-module-archetype' to... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Sprint: Basel 23
Story Points: 2

 Description   

TODOs:

  • Add commented default bundles to the webapps pom.xml to allow faster project start for newbies
  • remove docroot folder
  • Update to java 1.8
  • Remove Maven 2 leftowers

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. -->

So ... this block can be removed:

<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>

Generated at Sun Feb 11 23:23:00 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.