Hi there,

I am new to Maven, currently I am trying to build a Eclipse-plugin using tycho and Maven 3 on a Jenkins-CI-Server.

However, everything works so far but I am having trouble getting the checkstyle-plugin of maven to work.

For testing purposes i have also a maven-setup on my local machine.
As suggested, I added the lines described by "Generate Checkstyle Report As Standalone", so that my project's POM reads as follows:

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

  <parent>
        <groupId>org.eclipse</groupId>
        <artifactId>org.eclipse.equinox.p2-parent</artifactId>
        <version>0.0.1-SNAPSHOT</version>
  </parent>

  <modelVersion>4.0.0</modelVersion>
  <groupId>org.eclipse-thing.first.my</groupId>
  <artifactId>org.eclipse-thing.first.my</artifactId>
  <version>1.0.0-SNAPSHOT</version>
  <packaging>eclipse-plugin</packaging>
  <properties>
    <project.build.sourceEncoding>Cp1252</project.build.sourceEncoding>
  </properties>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <version>2.6</version>
        <configuration>
          <enableRulesSummary>false</enableRulesSummary>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>



When I execute "mvn clean install checkstyle:checkstyle", the only checkstyle-related output is:

[INFO] --- maven-checkstyle-plugin:2.6:checkstyle (default-cli) @ org.eclipse-thing.first.my ---

What am I doing wrong?

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to