[MGNLUI-1626] Duplicate jar files in bundled webapp? Created: 11/Jun/13  Updated: 12/Jun/13  Resolved: 12/Jun/13

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0

Type: Bug Priority: Critical
Reporter: Andreas Weder Assignee: Unassigned
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

JIRA 12.1.4


Attachments: PNG File Bildschirmfoto 2013-06-11 um 17.48.11.png    
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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Sprint: RC 1

 Description   

I've discovered that the target "magnolia-bundled-webapp-5.0-SNAPSHOT" of magnolia-bundled-webapp, created by "mvn clean install -U -DskipTests" contains duplicate jar files.

I've tried to find a problem with my local set up (I've done the checkout of ce-bundle inside IDEA), but after cleaning my local git checkout and even emptying my local maven repo of all info.magnolia artifacts, I still get the same result. I thus think somebody should at least have a quick look at this.



 Comments   
Comment by Andreas Weder [ 12/Jun/13 ]

Downloaded and checked the latest Tomcat bundle (Build #2990 (12.06.2013 09:30:41)).

No duplicate jar files from info.magnolia there. There are duplicate jar files elsewhere, but I guess these are fine, as they are probably specific dependencies requested by other jars:

  • antlr: both version 2.7.7 and 3.4 exist
  • icepush: both version 0.5.3 and 3.0.1 exist

I'm lowering the priority of this issue to non-blocker, as this doesn't seem to be an urgent issue any more.

Comment by Andreas Weder [ 12/Jun/13 ]

Analyzed this with Grégory: this happens when you a) build on the command line and b) use IDEA and IDEA builds as well. IDEA somehow doesn't recognize my already available .jar files and gets them itself. Exactly how that happens and why it ends up with different versions, I don't know.

I guess it's best to either build and possibly deploy from the command line only and make sure IDEA doesn't any building itself; or configure IDEA such that it actually does all this for you.

Generated at Mon Feb 12 08:48:28 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.