Hi,
I wrote some custom cs rules working on OSGi .MF manifest files. They work fine with in Eclipse.
But I cannot get the MVN-tyho-build to work. It seems that only java-files are checked.
How can I configure non-java files to be checked as well?
At the moment I am trying the following which doesn't work:
Thanks in advance,
Mike
   <plugin>
                   <groupId>org.apache.maven.plugins</groupId>
                   <artifactId>maven-checkstyle-plugin</artifactId>
                   <version>3.1.2</version>
                   <dependencies>
                       <dependency>
                           <groupId>com.puppycrawl.tools</groupId>
                           <artifactId>checkstyle</artifactId>
                           <version>8.36.1</version>
                       </dependency>
                       <dependency>
                           <groupId>gp.osgi</groupId>
                           <artifactId>gp.osgi.checkstyle.rules</artifactId>
                           <version>0.10.32</version>
                       </dependency>
                      Â
                   </dependencies>
                   <configuration>
                       <configLocation>releng/jenkins/checkstyle/CheckStyleMaven.xml</configLocation>
                       <suppressionsLocation>releng/jenkins/checkstyle/CheckStyle-suppressions.xml</suppressionsLocation>
                       <consoleOutput>true</consoleOutput>
                       <includeResources>true</includeResources>
                       <linkXRef>false</linkXRef>
                       <resourceIncludes>**\/*.java, **\/*.MF, **\/.xml, **\/.properties</resourceIncludes>
                       <includes>**\/*.java, **\/*.MF, **\/.xml, **\/.properties</includes>
                       <sourceDirectories>
                           <sourceDirectory>${project.basedir}/META-INF</sourceDirectory>
                           <sourceDirectory>${project.basedir}/OSGI-INF</sourceDirectory>
                           <sourceDirectory>${project.basedir}/src</sourceDirectory>
                       </sourceDirectories>
                       <!-- Default value is: ${project.compileSourceRoots}. -->
                       <encoding>UTF-8</encoding>
                       <failsOnError>false</failsOnError>
                   </configuration>
               </plugin>