[ 
http://jira.codehaus.org/browse/MFINDBUGS-71?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Garvin LeClaire closed MFINDBUGS-71.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0

You should see output like this on POM objects and modules without java class 
files:

OUT: [INFO] 
------------------------------------------------------------------------
OUT: [INFO] Building modules
OUT: [INFO]    task-segment: [clean, compile, findbugs:check]
OUT: [INFO] 
------------------------------------------------------------------------
OUT: [INFO] [clean:clean]
OUT: [INFO] No goals needed for project - skipping
OUT: [INFO] [findbugs:check]
OUT: [INFO] Excecuting findbugs:check
OUT: [INFO] Nothing for FindBugs to do here.


> 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
>            Assignee: Garvin LeClaire
>             Fix For: 2.0
>
>
> 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