Parsing project and description tags
See original GitHub issueHi,
I have just recently start using your plugin. I like it a lot, but there are two things that keep me from using it automatically. First, it also parses the project tag. Second, it parses the description tag. I feel both makes the pom file harder to read.
I know that it is possible to add ignore-sections, but I feel this clutters up the pom file.
Thanks for looking in to this. Alex
P.S. As an example: Project tag Given
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
When the parser is run Then it should not turn the snippet into
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Tags with long lines. Given:
<description>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
vehicula magna in lorem vestibulum lacinia. Nullam quis lobortis purus.
Etiam ut finibus velit. Donec tempor egestas nisl volutpat pharetra.
</description>
When the parser is run Then it should not turn the snippet into
<description>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
vehicula magna in lorem vestibulum lacinia. Nullam quis lobortis purus.
Etiam ut finibus velit. Donec tempor egestas nisl volutpat pharetra.</description>
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
meta-tags-parser - PyPI
Fast and modern meta tags parser (og, twitter, title, description, etc) with snippet support.
Read more >POS-Tagging and Syntactic Parsing with R
This tutorial introduces part-of-speech tagging and syntactic parsing using R. This tutorial is aimed at beginners and intermediate users of ...
Read more >tag-parsing · GitHub Topics
Add a description, image, and links to the tag-parsing topic page so that developers can more easily learn about it. Curate this topic....
Read more >From summarizing projects to setting tags, uses of parsing R ...
I'll walk through a few potential uses of parsing out the functions and packages in projects.Creating a reference table: With so many ...
Read more >Part-of-Speech(POS) Tag | Dependency Parsing
In Dependency parsing, various tags represent the relationship between two words in a sentence. These tags are the dependency tags. For example, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Second problem: line breaks for project tag
I had a look into the XML parser and unfortunately the methods that print the attributes for an element are private, so I cannot add any custom behaviour to that tag. All output from the Sortpom plugin is built by the XML parser.
It’s a pity since I also get annoyed by the long first line.
The plugin does not modify the original file. The whole original file is input to the XML parser that creates a new file, so there is nothing left of the original data.