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 9254193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:24:21+00:00 2026-06-18T11:24:21+00:00

Since last summer Eclipse supports a feature where you can suppress the non-important code

  • 0

Since last summer Eclipse supports a feature where you can suppress the non-important code issues per build path (described here).

When you set this option from the GUI I see that this is reflected as follows in the .classpath file of the project.

    <classpathentry including="**/*.java" kind="src" path="src/main/java"/>
    <classpathentry including="**/*.java" kind="src" path="target/generated-sources/proto">
            <attributes>
                    <attribute name="ignore_optional_problems" value="true"/>
            </attributes>
    </classpathentry>

I have an existing Maven based project and I would like to configure it so that when I run
mvn eclipse:eclipse the .classpath file that is generated contains above option for the buildpaths with the generated source code.

I’ve examined all of the options of the eclipse mojo and I’ve not been able to figure out how to do this.

How do I accomplish this?

  • 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-18T11:24:23+00:00Added an answer on June 18, 2026 at 11:24 am

    At the moment, neither the Maven2 Eclipse plugin (mvn eclipse:eclipse) nor the Eclipse M2E plugin support this feature.

    Both projects have open issues/bugs related to this :

    • A bug has been filed for it in the Eclipse Bugzilla that includes a patch.
    • The Maven2 Eclipse plugin also has an open issue on it.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ever since British Summer Time ended in the UK last week my application has
I am writing code in embedded linux since last couple of years, I use
I've been working with the precompiled OpenCV libraries available at eosgarden since last summer.
i am trying this code since last night but i cant understand what this
I have a price of js code, which has been troubling me since last
Since last night, Eclipse hasn't been letting me run any of my projects and
I have been looking at this since last night and just can't figure out
I am newbie to jQuery , just trying to learn it since last couple
In some measure of progress since my last question I have got the following
It's been a while since I last did Ruby programming -- looking at somebody

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.