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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T18:53:06+00:00 2026-06-09T18:53:06+00:00

We have project with following layout parent app core instrumentation There is cobertura plugin

  • 0

We have project with following layout

  1. parent
    • app
    • core
    • instrumentation

There is cobertura plugin in core module. I’m able to generate reports from command line no problem at all (XML and HTML) I’m even able to see them in workspace on Jenkins. However I’m not able to link these reports with Jenkins Cobertura plugin.
The default as per Jenkins documentation is

**/target/site/cobertura/coverage.xml

This doesn’t work due to reports generated in sub-module. I tried following

core/target/site/cobertura/coverage.xml
/core/target/site/cobertura/coverage.xml
**/core/target/site/cobertura/coverage.xml
  • 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-09T18:53:07+00:00Added an answer on June 9, 2026 at 6:53 pm

    OK, the problem is that I used cobertura plugin as

    <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>cobertura-maven-plugin</artifactId>
              <version>2.5.1</version>
              <configuration>
                <formats>
                  <format>xml</format>
                  <format>html</format>
                </formats>
              </configuration>
            </plugin>
          </plugins>
        </pluginManagement>
    

    Instead it should be as

    <build>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>cobertura-maven-plugin</artifactId>
            <version>2.5.1</version>
            <configuration>
              <formats>
                <format>xml</format>
                <format>html</format>
              </formats>
              <check/>
            </configuration>
            <executions>
              <execution>
                <phase>clean</phase>
                <goals>
                  <goal>cobertura</goal>
                </goals>
              </execution>
            </executions>
          </plugin> 
      </build>
    
      <reporting>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>cobertura-maven-plugin</artifactId>
            <version>2.5.1</version>
          </plugin>
        </plugins> 
      </reporting>
    

    After this I point Jenkins Cobertura plugin to core/target/site/cobertura/coverage.xml

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

Sidebar

Related Questions

We have a multi module maven project with the following layout project - common
I am using maven-release-plugin on a multi-module project with the following layout: ROOT/ +
I have the following layout in my project (quite simplified): Assembles App.WinClient <--- client
I have the following layout for my mvc project: /Controllers /Demo /Demo/DemoArea1Controller /Demo/DemoArea2Controller etc...
For my project I have added following line of code in applicaiton.ini resources.layout.layoutPath =
I have project with the following layout (Python 2.4.3) root +--- src +--- xyz
I have the following project layout: MVC UI |...CustomerController (ICustomerRepository - how do I
Subversion 1.6 Ubuntu 10.4 I have a project with the following repository layout. proj/trunk
I have the following project layout: WAR Project A Upstream Projects Dependency B Dependency
I have the following svn layout: org.example -- trunk ---- org.example.core ---- org.example.test ----

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.