[Issue 1813] New - File not found for pure POM projects

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Issue 1813] New - File not found for pure POM projects

foal
https://hudson.dev.java.net/issues/show_bug.cgi?id=1813
                 Issue #|1813
                 Summary|File not found for pure POM projects
               Component|hudson
                 Version|current
                Platform|Sun
              OS/Version|Solaris
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|findbugs
             Assigned to|drulli
             Reported by|foal






------- Additional comments from [hidden email] Fri Jun  6 05:24:04 +0000 2008 -------
I have the pure pom module. The findbugs:findbugs generates nothing for it. But
findbugs tries to locate the report and brakes the build.

[INFO] [findbugs:findbugs {execution: findbugs}]

[INFO] Output class directory doesn't exist. Skipping findbugs.

[HUDSON] Archiving /var/data/maven/hudson/jobs/Jresearch
Flexess/workspace/umi/1.0.0/pom/pom.xml to /var/data/maven/hudson/jobs/Jresearch
Flexess/modules/com.jresearchsoft.uam$umi/builds/2008-06-06_07-09-58/archive/com.jresearchsoft.uam/umi/1.0.0/pom.xml

[INFO] ------------------------------------------------------------------------

[ERROR] FATAL ERROR

[INFO] ------------------------------------------------------------------------

[INFO] /var/data/maven/hudson/jobs/Jresearch
Flexess/workspace/umi/1.0.0/pom/target not found.

[INFO] ------------------------------------------------------------------------

[INFO] Trace

/var/data/maven/hudson/jobs/Jresearch Flexess/workspace/umi/1.0.0/pom/target not
found.

        at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:422)

        at
hudson.plugins.findbugs.parser.FindBugsCollector.findFindBugsFiles(FindBugsCollector.java:183)

        at
hudson.plugins.findbugs.parser.FindBugsCollector.invoke(FindBugsCollector.java:67)

        at
hudson.plugins.findbugs.parser.FindBugsCollector.invoke(FindBugsCollector.java:28)

        at hudson.FilePath.act(FilePath.java:317)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 1813] File not found for pure POM projects

drulli
https://hudson.dev.java.net/issues/show_bug.cgi?id=1813






------- Additional comments from [hidden email] Wed Jul  2 00:03:52 +0000 2008 -------
Are you using the m2 or freestyle option in Hudson?

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 1813] File not found for pure POM projects

foal
In reply to this post by foal
https://hudson.dev.java.net/issues/show_bug.cgi?id=1813






------- Additional comments from [hidden email] Wed Jul  2 08:13:38 +0000 2008 -------
I have m2

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 1813] File not found for pure POM projects

drulli
In reply to this post by foal
https://hudson.dev.java.net/issues/show_bug.cgi?id=1813



User drulli changed the following:

                What    |Old value                 |New value
================================================================================
                     URL|                          |http://www.nabble.com/find
                        |                          |bugs-plugin-with-M2-projec
                        |                          |t-broken--tp18401575p18448
                        |                          |147.html
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Tue Jul 15 09:21:22 +0000 2008 -------
Added link to thread in users mailing list.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 1813] File not found for pure POM projects

scm_issue_link
In reply to this post by foal
https://hudson.dev.java.net/issues/show_bug.cgi?id=1813



User scm_issue_link changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Wed Jul 23 22:44:49 +0000 2008 -------
Code changed in hudson
User: : drulli
Path:
 trunk/hudson/plugins/checkstyle/src/main/java/hudson/plugins/checkstyle/parser/CheckStyleParser.java
 trunk/hudson/plugins/checkstyle/src/main/java/hudson/plugins/checkstyle/util/AnnotationParser.java
 trunk/hudson/plugins/checkstyle/src/main/java/hudson/plugins/checkstyle/util/FilesParser.java
 trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/FindBugsPublisher.java
 trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/FindBugsReporter.java
 trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/parser/FindBugsParser.java
 trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/parser/PlainFindBugsParser.java
 trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/parser/maven/MavenFindBugsParser.java
 trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/util/AnnotationParser.java
 trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/util/FilesParser.java
 trunk/hudson/plugins/pmd/src/main/java/hudson/plugins/pmd/parser/PmdParser.java
 trunk/hudson/plugins/pmd/src/main/java/hudson/plugins/pmd/util/AnnotationParser.java
 trunk/hudson/plugins/pmd/src/main/java/hudson/plugins/pmd/util/FilesParser.java
 trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/util/AnnotationParser.java
 trunk/hudson/plugins/tasks/src/main/java/hudson/plugins/tasks/util/FilesParser.java
 trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/util/AnnotationParser.java
 trunk/hudson/plugins/warnings/src/main/java/hudson/plugins/warnings/util/FilesParser.java
http://fisheye4.cenqua.com/changelog/hudson/?cs=10972
Log:
[FIXED HUDSON-1813] Catch exceptions of ANT files scanner since there might be a build without target folder.
(Refactored FindBugs to use the FilesParser API)


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]