2

I have to use lint4j static analyzer tool in my project. I was referring http://www.jutils.com/maven-plugin/ link to setup the same. But this does not tell me how to configure reports in lint4j. I am new to maven and have not used maven extensively. I have done below steps so far.

  1. Created a lint4j plugin jar folder in my local repository. Added below dependency in pom.xml of my project.

    <dependency>
      <groupId>lint4j</groupId>
      <artifactId>jutils-lint4j-plugin</artifactId>
      <version>1.3.1</version>
    </dependency>
    
    <reports>
      <report>jutils-lint4j-plugin</report>
    </reports>
    
  2. mvn clean install works fine for the project.

But what needs to be done to view the report now?

4

1 回答 1

0

收集分散在网络上的信息,我相信这样做mvn site就足够了(至少根据Maven Project Info Reports Plugin 文档

笔记:

  • 我找不到这个插件的工作版本;托管它的唯一地方(SoapUI SVN repo)似乎有一个损坏的.jar(“找不到插件描述符”
  • 版本1.3.1听起来很奇怪,因为官方下载页面只提到了 0.9.1 版本
  • 4.0.0 版开始,Maven POM <reports>元素已被弃用(并被忽略),应替换为<reporting>. 更多关于新配置语法的信息可以在官方文档中找到。
  • 该项目似乎自 2007 年以来就被放弃了;我确信有更好的工具来完成这项任务,如果这个插件由于 Java 或 Maven 的更改而停止工作,我不会感到惊讶
于 2013-05-06T14:13:04.950 回答