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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:29:25+00:00 2026-06-10T00:29:25+00:00

I have a Java project using m2eclipse. In my Eclipse, I get several Warnings.

  • 0

I have a Java project using m2eclipse. In my Eclipse, I get several Warnings.

How can I display those warnings in my maven compilation? I want to use warnings-plugin on jenkins to keep track of the number of warnings.

I found this post on how to enable warnings in maven, but it only gives me a small subset of warnings.

E.g.

“The value of … is not used” warnings don’t show up.

How can I get the same warnings as displayed in Eclipse?
Thanks for help 🙂

Edit for clarity: I would like to display the same warnings as in eclipse, not other bugs as reported by FindBugs, PMD or checkstyle

  • 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-10T00:29:26+00:00Added an answer on June 10, 2026 at 12:29 am

    I finally found a solution for my problem, so I wanna share it 🙂
    I added this to my pom-file, and now the warnings show up during compilation with maven, and I was able to include them to jenkins using the warnings plugin.
    The important thing I missed in my first attempts was, that the plugins need to be under pluginManagement.

    The warnings are generated by a specific compiler, to prevent the error “no such compiler: eclipse” the dependency to the plexus-compiler is included.

    Hope this works for others as well 🙂

        <build>
            <pluginManagement>
                    <plugins>
                        <plugin>
                            <artifactId>maven-compiler-plugin</artifactId>
                            <configuration>
                                <compilerId>eclipse</compilerId>
                                <source>1.6</source>
                                <target>1.6</target>
                            </configuration>
                            <dependencies>
                                <dependency>
                                    <groupId>org.codehaus.plexus</groupId>
                                    <artifactId>plexus-compiler-eclipse</artifactId>
                                    <version>1.8.6</version>
                                </dependency>
                            </dependencies>
                        </plugin>
                    </plugins>
             </pluginManagement>
       </build>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Maven Java project, imported using m2eclipse . The target/ directory is
I have a java project written using eclipse ide and I want to run
I have a Maven Java EE project built using javaee5-maven-archetype and imported into Eclipse(Helios).
I have a Maven project (in Eclipse using the m2eclipse plugin) that contains code
I have recently just created Java project using Eclipse that requires 2 JAR files
I have recently created a web project in Java using eclipse. I have a
I have a Java application that is managed using Maven. The project involves the
Using eclipse 3.5, when I create a new maven project, m2eclipse automatically adds J2SE1.4
I have a large Java Web Application project using Maven and I need to
I am working on a Java project using spring2 and Maven. I have already

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.