Bug 405559 - Error in regenerate org.eclipse.wst.common.component
Summary: Error in regenerate org.eclipse.wst.common.component
Status: UNCONFIRMED
Alias: None
Product: M2E-WTP
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-12 08:22 EDT by Filippo Rossoni CLA
Modified: 2013-11-07 11:29 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filippo Rossoni CLA 2013-04-12 08:22:56 EDT
If delete .settings/org.eclipse.wst.common.component 

update maven project generate new empty file without
    
<wb-module deploy-name="deploy-name">
        <wb-resource deploy-path="/" source-path="/src/main/java"/>
        <wb-resource deploy-path="/" source-path="/src/main/resources"/>
    </wb-module>
Comment 1 Fred Bricon CLA 2013-04-12 08:27:58 EDT
The component file is generated and configured when m2e-wtp installs the project Facet(s). If the relevant facet hasn't changed, then it won't try anything.
Your solutions for now :
1 - please don't delete org.eclipse.wst.common.component ;-)
2 - delete project from workspace then delete .project, .classpath, .settings/*,  reimport as a maven project.
Comment 2 Filippo Rossoni CLA 2013-04-18 06:47:19 EDT
another workaround is edit generated .settings/org.eclipse.wst.common.component
add <wb-module> xml tag 
and update maven project