Bug 462591 - Missing "Web Deployment Assembly" entry
Summary: Missing "Web Deployment Assembly" entry
Status: UNCONFIRMED
Alias: None
Product: M2E-WTP
Classification: Technology
Component: Core (show other bugs)
Version: 1.1.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 462590 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-19 12:33 EDT by Diego Plentz CLA
Modified: 2015-03-19 19:37 EDT (History)
3 users (show)

See Also:


Attachments
the pink markers are the projects that we had to add manually (75.20 KB, image/png)
2015-03-19 12:33 EDT, Diego Plentz CLA
no flags Details
Here's the project pom.xmls (15.61 KB, application/zip)
2015-03-19 15:36 EDT, Diego Plentz CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Plentz CLA 2015-03-19 12:33:12 EDT
Created attachment 251758 [details]
the pink markers are the projects that we had to add manually

When importing a multi-module maven project, Eclipse isn't creating all the entries for all modules inside the "Web Deployment Assembly", resulting in a ClassNotFoundException when we try to start the server. To make it work, we have to manually add the other projects as dependencies(just a few of them).
Comment 1 Diego Plentz CLA 2015-03-19 12:33:28 EDT
*** Bug 462590 has been marked as a duplicate of this bug. ***
Comment 2 Fred Bricon CLA 2015-03-19 12:51:57 EDT
This has been working pretty well for years. Please provide a set of sample projects we can use to reproduce this bug
Comment 3 Diego Plentz CLA 2015-03-19 15:36:58 EDT
Created attachment 251766 [details]
Here's the project pom.xmls
Comment 4 Fred Bricon CLA 2015-03-19 19:19:55 EDT
Import as Maven project works for me, as expected. hub.model is not included at first because no other project references it. Once added as a dependency of hub.business, for instance, it shows up in hub.view's deployment assembly.
Comment 5 Diego Plentz CLA 2015-03-19 19:37:59 EDT
Sorry, you're right about hub.model. I added as a mistake.

But if look at hub.business(correctly added in "Web Deployment Assembly"), it has a dependency on hub.hubdao and hub.usersdao, and they're not added in the "Web Deployment Assembly" entries.

Even adding hub.usersdao and hub.hubdao directly as a dependency inside hub.view, they're not added in the "Web Deployment Assembly" list.