[MAGNOLIA-1165] Maven bundle: reorganizing bundling Created: 26/Oct/06  Updated: 23/Jan/13  Resolved: 04/Dec/07

Status: Closed
Project: Magnolia
Component/s: build
Affects Version/s: 3.0 RC3
Fix Version/s: 3.5 RC1, 3.5 RC2, 3.5 RC3

Type: Improvement Priority: Major
Reporter: Philipp Bärfuss Assignee: Magnolia International
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
dependency
depends upon MPBUN-5 A simple mojo to download an arbitrar... Resolved
depends upon MPBUN-4 Allow keeping original directory name... Resolved
is depended upon by MAGNOLIA-1895 Fix pom.xml files to include proper d... Closed
is depended upon by MGNLEE-59 Review / update bundling Closed
is depended upon by MAGNOLIA-1915 Re-merge magnolia-build-tools in a si... Closed
relation
is related to MAGNOLIA-2007 Deploy maven generated site to dev.ma... Closed
is related to MAGNOLIA-1833 Bundle with Tomcat 5.5 instead of 5.0 Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MAGNOLIA-1866 Review / cleanup / update .txt files Sub-task Closed Magnolia International  
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)
Date of First Response:

 Description   

Since we now a install/update mechanism built in Magnolia, we're not going to deliver pre-bootstrapped wars anymore (future versions will allow selecting of options when installing)

However, we still need to reorganize the bundle mechanism so that:

  • the webapp does not contain dms, samples and workflow, by default. Makes it easier to 3rd projects to depend on magnolia, and use magnolia-webapp as a "base" war on which they can overlay their stuff.
  • the webapp is called magnolia-empty-webapp and not just "magnolia". Makes the artifact easier to identify.
  • this webapp can go back to the default reactor build.

We'll create a new svn location where:

  • we'll have a secondary webapp, which is magnolia-empty-webapp+magnolia-module-samples+magnolia-module-dms (no more ugly assembly hacks)
  • the bundle will be called "magnolia-tomcat-bundle"

This helps keeping the main project clean, and makes them releasable independently.

Still subject to discussion:

  • the bundle will either have the workflow module (with its dependencies) in a separate jar, or just a note pointing to a webpage listing the existing modules.
  • the secondary webapp could be called "magnolia-sample-module" (our first idea) or "magnolia-bundled-webapp" (just an idea now)
  • do we ship bundles for jdk14 and jdk15, given that the only difference is the inclusion of the tomcat-5.5-compat package, for 1.4, or do we let people deal with this on their own ?


 Comments   
Comment by Magnolia International [ 09/Nov/07 ]

Requires version 2.2-beta-2 of the maven-assembly-plugin for:
http://jira.codehaus.org/browse/MASSEMBLY-73
http://jira.codehaus.org/browse/MASSEMBLY-221

Comment by Magnolia International [ 09/Nov/07 ]

Done on svn.
Also replaced tomcat's default ROOT webapp with a simple page with links to the author and public instances
Still todo:

  • review release notes, readme, install, license and license.3rdparty txt files
  • style and images for the ROOT webapp
    Test
Comment by Magnolia International [ 09/Nov/07 ]

Yay, uploaded a first snapshot of the bundle :
http://svn.magnolia.info/maven/snapshots/info/magnolia/magnolia-bundle/3.1-SNAPSHOT/

Comment by Magnolia International [ 10/Nov/07 ]

Added bundling to all modules

Comment by Magnolia International [ 15/Nov/07 ]

Added ugly hacks to get dms and samples into the webapps pre-deployed in the bundle

Comment by Magnolia International [ 20/Nov/07 ]

Edited description with some more changes.

Comment by Magnolia International [ 26/Nov/07 ]

Needed to deploy a new internal version of maven-assembly-plugin ( 2.2-beta-2-magnolia-20071126 ) to fix http://jira.codehaus.org/browse/MASSEMBLY-250

Generated at Mon Feb 12 03:24:17 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.