I have mavenized project divided into multiple
subprojects. In one of subprojects I have non-jar
dependencies (binary files) which I've marked with bin
type as below:
<dependency>
<groupId>wrapper</groupId>
<artifactId>wrapper.exe</artifactId>
<jar>wrapper-${serviceWrapper.version}.exe</jar>
<type>bin</type>
<version>${serviceWrapper.version}</version>
<url>http://wrapper.tanukisoftware.org/</url>
</dependency>
This project contains also some RMI compiled classes.
When I run findbugs report I get following:
[echo] Running the FindBugs task...
[findbugs] Running FindBugs...
[findbugs] CLASSPATH component
/home/mwerla/.maven/repository/wrapper/bins/libwrapper-3.1.1.so:
java.util.zip.ZipException: error in opening zip file
[findbugs] CLASSPATH component
/home/mwerla/.maven/repository/wrapper/bins/wrapper-3.1.1.dll:
java.util.zip.ZipException: error in opening zip file
[findbugs] CLASSPATH component
/home/mwerla/.maven/repository/wrapper/bins/wrapper-3.1.1.exe:
java.util.zip.ZipException: error in opening zip file
[findbugs] CLASSPATH component
/home/mwerla/.maven/repository/wrapper/bins/wrapper-3.1.1:
java.util.zip.ZipException: error in opening zip file
[findbugs] Exception in thread "main"
java.lang.OutOfMemoryError
[findbugs] Output saved to
/home/mwerla/dlibra/root/../dlibra-server/target/findbugs-raw-report.xml
[echo] Converting the FindBugs report to xdoc ...
Logged In: YES
user_id=140549
Could you try this again with the latest and greatest? I am
explicitly filtering in jars only.
Logged In: YES
user_id=1037533
I've installed new plugin and I still have empty XML file
:-( (see attachement)
Work log
Logged In: YES
user_id=140549
Not quite sure what to say here.. Have you tried giving it
more memory?
Also, what is happening here:
build:start:
[echo] Gathering dependencies from associated dlibra
subprojects...
[echo] Checking project dlibra:dlibra-common
[echo] Checking project dlibra:dlibra-common-test
[echo] Adding: commons-digester:commons-digester []
Is this using reactor or somethign to pull stuff in? I
would recommend that you try and tweak around the
plugin.jelly to get it to work. Maybe hadd some
maven.findbugs.jars.includes and
maven.findbugs.jars.excludes to only load certain jar files.
also, try it on your subprojects..