Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352416

Summary: Multiline artifactId not correctly displayed in Dependencies tab
Product: z_Archived Reporter: Konrad Windszus <konrad_w>
Component: m2eAssignee: Milos Kleint <mkleint>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mkleint
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Konrad Windszus CLA 2011-07-19 04:43:59 EDT
Build Identifier: 20110615-0604

If I have a POM.xml containing a dependency like this

<dependency>
  <groupId>commons-io</groupId>
  <artifactId>
  commons-io
  </artifactId>
  <version>2.0.1</version>
</dependency>
The line with the artifactId is not correctly stripped before being displayed in the Dependencies tab of the pom editor. Therefore the view is distorted since it is not made for displaying multiline artifactIds. These linebreaks within the pom.xml can very often occur due to automatic formatting of the XML (if the line is much longer). Please always strip the artifactId, groupId etc. before displaying it in the dependencies view.

Reproducible: Always
Comment 2 Denis Roy CLA 2021-04-19 13:25:41 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/