Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7857317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T21:00:21+00:00 2026-06-02T21:00:21+00:00

I have a plugin configuration parameter named suffix . I would like the user

  • 0

I have a plugin configuration parameter named suffix. I would like the user to be able to specify a newline (a literal character produced by pressing the Return key, not some escaped variant, although I’ll get to that) as the value for that parameter.

At the same time, the parameter has a default-value setting. I would like to continue to use that.

How do I specify, in my plugin’s configuration stanza, that the suffix parameter should take a newline?

I’ve tried this:

<suffix><![CDATA[
]]></suffix>

…and this:

<suffix>${line.separator}</suffix>

…(that one actually substitutes the right character in but XML parsing stomps on it) and this:

<suffix><[!CDATA[${line.separator}]]></suffix>

…and this:

<suffix>&x0d;</suffix>

…and this:

<suffix xml:space="preserve">
</suffix>

…all to no avail. Specifically, I see the default value of the parameter instead.

Edit: Interestingly, the whitespace is eaten long before Maven’s internals ever get a chance to work on the value. mvn help:effective-pom will show that the whitespace has been removed. Leading, trailing and “only” whitespace content is removed early on in the parsing stage.

This seems to me most likely to be a bug, so I’ve filed http://jira.codehaus.org/browse/PLX-461 to track it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T21:00:28+00:00Added an answer on June 2, 2026 at 9:00 pm

    Per instructions, I am answering this question by referring people to the following JIRA: https://issues.apache.org/jira/browse/MNG-5380 (originally at http://jira.codehaus.org/browse/PLX-461 ).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using following WordPress plugin to send email. http://coffee2code.com/wp-plugins/configure-smtp/ I have done configuration,
I have this plugin advImage which I use in tinyMce. I want the user
I have an Eclipse plugin where the user can select files or folders. Currently
Someone have a proguard-maven-plugin standar maven configuration that can I use for a Enterprise
I have silverlight plugin on my page and some functionality to show panel as
I have a plugin where the original code is ... // when the DOM
I have a plugin that is loaded by this application.. This plugin calls some
We have a plugin system on a WCF service that checks libraries placed in
I have a plugin for uploading files using jquery uploadify. After calling a method
I have jNiceIT plugin for Jquery. How can i disable the select dropdown styled

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.