Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350888 - m2e cannot leave .settings/org.eclipse.wst.common.component alone
Summary: m2e cannot leave .settings/org.eclipse.wst.common.component alone
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-30 18:33 EDT by Alex Pogrebnyak CLA
Modified: 2021-04-19 13:22 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Pogrebnyak CLA 2011-06-30 18:33:07 EDT
Build Identifier: 20110615-0604

m2e should only modify this file on project import and 'Update Project Configuration'.

In reality this file gets modified by a number of outside factors.

1. On POM update
2. On Project->Clean
3. Because it rains outside

Also, it insists on adding 'archiveName' parameter to <dependent-module> element of contributing projects.  I.e.

<dependent-module archiveName="my-depnedency-0.0.1-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/my-dependency/my-dependency">
    <dependency-type>uses</dependency-type>
</dependent-module>

Moreover it keeps appending version number to the participating jars.  This is totally unnecessary.  In fact if you omit archavieName completely it will assemble the dependency jar without version number in its name and will publish it correctly to WEB-INF/lib.

Needless to say, that if this file contains version number, now there is a problem when the project's version is incremented.

Because of your own recommendations to keep various '.settings' files under source control, I don't want somebody junior to overwrite this very sensitive descriptor with his/her changes and then chase this problem for days ( believe me this happened to me before ).

I understand that you try to cater to many environments, but if you could keep your modifications of this file to some predictable points, it would help tremendously.


Reproducible: Always
Comment 1 Alex Pogrebnyak CLA 2011-06-30 18:34:40 EDT
Non-standard Eclipse components.

  Embedded Maven Runtime 3.0.3	1.0.1.201106291304	org.sonatype.m2e.maven.runtime.3.0.3.feature.group	SONATYPE
  m2e - Maven Integration for Eclipse	1.0.0.201106052308	org.eclipse.m2e.feature.feature.group	Eclipse.org - m2e
  m2e - slf4j over logback logging (Optional)	1.0.0.201106052308	org.eclipse.m2e.logback.feature.feature.group	Eclipse.org - m2e
  m2e connector for antlr	0.13.0.20110622-1538	org.sonatype.m2e.antlr.feature.feature.group	Sonatype, Inc.
  m2e connector for build-helper-maven-plugin	0.13.0.20110622-1538	org.sonatype.m2e.buildhelper.feature.feature.group	Sonatype, Inc.
  m2e connector for modello	0.13.0.20110622-1538	org.sonatype.m2e.modello.feature.feature.group	Sonatype, Inc.
  Maven Integration for WTP (Optional)	0.13.0.20110623-0455	org.maven.ide.eclipse.wtp.feature.feature.group	Sonatype, Inc.
  Plexus Metadata Generation	0.13.0.20110622-1538	org.sonatype.m2e.plexus.annotations.feature.feature.group	Sonatype, Inc.
  ProjectSet	3.0.0.200905051715	com.csc.dip.projectset.feature.group	CSC Technologies Deutschland GmbH
  Properties Editor	5.3.5	jp.gr.java_conf.ussiy.app.propedit.feature.group	Chomakichi
  Workspace Mechanic	0.0.9	com.google.eclipse.mechanic.feature.group	Google, Inc.
Comment 2 Igor Fedorenko CLA 2011-06-30 22:25:39 EDT
please use jira [1] to report m2e-wtp issues. 

[1] https://issues.sonatype.org/browse/MECLIPSEWTP
Comment 3 Alex Pogrebnyak CLA 2011-07-05 11:15:42 EDT
(In reply to comment #2)
> please use jira [1] to report m2e-wtp issues. 
> 
> [1] https://issues.sonatype.org/browse/MECLIPSEWTP

Created MECLIPSEWTP-146 https://issues.sonatype.org/browse/MECLIPSEWTP-146
Comment 4 Denis Roy CLA 2021-04-19 13:22:12 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/