Error during verify phase when project packaging=pom
----------------------------------------------------

                 Key: MFINDBUGS-71
                 URL: http://jira.codehaus.org/browse/MFINDBUGS-71
             Project: Maven 2.x FindBugs Plugin
          Issue Type: Bug
    Affects Versions: 2.0
            Reporter: Wonne Keysers


We have a generic parent pom wherein we would like to add the 
findbugs-maven-plugin 2.0-SNAPSHOT.
The parent pom has <packaging>pom</packaging>, thus no src/main and during 
build no target folder.
When performing a "mvn package", we get the following error:

[INFO] [findbugs:check {execution: default}]
[INFO] Excecuting findbugs:check
[INFO]   Using maximum effort.
[INFO]   Using FindBugs Version: 1.3.7
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] A java source file could not be added

Embedded error: C:\J\svn\rd-java-project\target\findbugsCheck.xml (The system 
cannot find the path specified)

Following plugin config is currently included in the parent pom:
<plugins>
...
<plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
        <version>2.0-SNAPSHOT</version>
        <executions>
                <execution>
                        <goals>
                                <goal>check</goal>
                        </goals>
                </execution>
        </executions>
</plugin>
...
</plugins>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to