Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352416 - Multiline artifactId not correctly displayed in Dependencies tab
Summary: Multiline artifactId not correctly displayed in Dependencies tab
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Milos Kleint CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-19 04:43 EDT by Konrad Windszus CLA
Modified: 2021-04-19 13:25 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 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/