You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Oliver B. Fischer (JIRA)" <ji...@codehaus.org> on 2011/09/22 16:47:17 UTC

[jira] Commented: (MCHECKSTYLE-164) Multimodule Configuration example does not show how to configure build-tools pom

    [ https://jira.codehaus.org/browse/MCHECKSTYLE-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=279647#comment-279647 ] 

Oliver B. Fischer commented on MCHECKSTYLE-164:
-----------------------------------------------

Hi sebbaz,

simply take a minimal {{pom.xml}} like this:

{noformat}
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>com.company</groupId>
        <artifactId>parent</artifactId>
        <version>5.4.5</version>
        <relativePath>..</relativePath>
    </parent>

    <groupId>com.company</groupId>
    <artifactId>checkstyle</artifactId>
    <version>5.4.5</version>
    <name>Checkstyle Configuration</name>
</project>
{noformat}

I will create a jar file containing your checkstyle configuration. But you are right, it would be helpfull to have such an example.

> Multimodule Configuration example does not show how to configure build-tools pom
> --------------------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-164
>                 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-164
>             Project: Maven 2.x Checkstyle Plugin
>          Issue Type: Bug
>         Environment: http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
>            Reporter: sebbaz+ch
>
> It would be helpful if the page documented how to configure the build-tools pom.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira