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

  • Home
  • SEARCH
  • 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 3341760
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:45:35+00:00 2026-05-18T00:45:35+00:00

I am using the Maven assembly plugin to prepare some configuration artifacts for different

  • 0

I am using the Maven assembly plugin to prepare some configuration artifacts for different environments, and I am using resource filtering to substitute parameter values.

I came across a weird behaviour where I had a property file with the contents as follows:


###########################

# author.name@company.com #

############################

env.name=${replacement.value}


The presence of the ‘@’ symbol for the author’s e-mail was causing all property references to be ignored.

I have tried looking for documentation as to why this happens – but cannot find anything that answers this behaviour. Any helpful pointers to documention or an explanation would be much appreciated.

For reference:

  1. Maven version: 2.2.1
  2. Maven Assembly Plugin version: 2.2
  • 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-05-18T00:45:36+00:00Added an answer on May 18, 2026 at 12:45 am

    I have tried looking for documentation as to why this happens – but cannot find anything that answers this behaviour. Any helpful pointers to documentation or an explanation would be much appreciated.

    This is not documented in the filtering section of the Maven Assembly Plugin but it looks like it uses the same default delimiters as the Maven Resources Plugin which are:

    <build>
      ...
      <plugin>
        ...
        <configuration>
          ...
          <delimiters>
            <delimiter>${*}</delimiter>
            <delimiter>@</delimiter>
          </delimiters>
    

    So the following would be filtered as well:

    env.name=@replacement.value@
    

    And this also explains why a single @ in the email address is causing troubles (the plugin never finds the end delimiter).

    It is possible to configure the delimiters and an escape string, just as it is when using the Maven Resources Plugin. The Maven Assembly Plugin documentation for the single goal provides the details.

    A cheap workaround, for this particular email address situation, would be to avoid using a single @ in the file to filter:

    ##############################
    # author.name aT company.com #
    ##############################
    
    env.name=${replacement.value}
    

    And as a benefit, you’ll avoid spam 🙂

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

Sidebar

Related Questions

i would like to release a snapshot project 'foo-1.0-SNAPSHOT' using the maven release plugin.
I'm using the build-helper-maven-plugin to add it to my build, but I'd like to
I'm using the m2Eclipse plugin ( http://m2eclipse.sonatype.org/ ) to handle maven modules in eclipse.
We recently started using maven for dependency management. Our team uses eclipse as it's
I am considering using Maven for a Java open source project I manage. In
We are using Maven for a large build process (> 100 modules). We have
I've got a project using Maven 2 as the build tool. Now I am
I have a small command line utility project that I'm using Maven to manage.
I am using the Maven (2) Cobertura plug-in to create reports on code coverage,
I'm using Hudson and Maven 2 for my automated build/CI. I can build fine

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.