You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Brett Porter <br...@apache.org> on 2007/12/14 03:38:51 UTC

Re: [continuum] BUILD FAILURE: Maven PMD Plugin

is PMD JDK 5 only now?

- Brett

On 14/12/2007, at 1:35 PM, Continuum@maven.zones.apache.org wrote:

> Online report : http://maven.zones.apache.org/continuum/buildResult.action?buildId=38882&projectId=27
>
> Build statistics:
> State: Failed
> Previous State: Failed
> Started at: Fri 14 Dec 2007 02:35:26 +0000
> Finished at: Fri 14 Dec 2007 02:35:35 +0000
> Total time: 8s
> Build Trigger: Schedule
> Build Number: 100
> Exit code: 1
> Building machine hostname: maven.zones.apache.org
> Operating system : SunOS(unknown)
> Java Home version :          java version "1.4.2_09"
>         Java(TM) 2 Runtime Environment, Standard Edition (build  
> 1.4.2_09-b05)
>         Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)
>        Builder version :
>         Maven version: 2.0.7
>         Java version: 1.4.2_09
>         OS name: "sunos" version: "5.10" arch: "x86"
>    
> ****************************************************************************
> SCM Changes:
> ****************************************************************************
> No files changed
>
> ****************************************************************************
> Dependencies Changes:
> ****************************************************************************
> No dependencies changed
>
>
> ****************************************************************************
> Build Defintion:
> ****************************************************************************
> POM filename: pom.xml
> Goals: clean install   Arguments: --batch-mode --non-recursive -P  
> integration-tests
> Build Fresh: true
> Always Build: true
> Default Build Definition: false
> Schedule: Integration Test Run
> Profile Name: JDK 1.4.2
> Description:
>
> ****************************************************************************
> Test Summary:
> ****************************************************************************
> Tests: 0
> Failures: 0
> Total time: 0
>
> ****************************************************************************
> Output:
> ****************************************************************************
> [INFO] Scanning for projects...
> [INFO]  
> ----------------------------------------------------------------------------
> [INFO] Building Maven PMD Plugin
> [INFO]    task-segment: [clean, install]
> [INFO]  
> ----------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] [plugin:descriptor]
> [INFO] Using 2 extractors.
> [INFO] Applying extractor for language: java
> [INFO] Extractor for language: java found 4 mojo descriptors.
> [INFO] Applying extractor for language: bsh
> [INFO] Extractor for language: bsh found 0 mojo descriptors.
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] Copying 4 resources
> [INFO] [compiler:compile]
> [INFO] Compiling 9 source files to /export/home/build/data/continuum/ 
> checkouts/27/target/classes
> [INFO]  
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> /export/home/build/data/continuum/checkouts/27/src/main/java/org/ 
> apache/maven/plugin/pmd/CpdReportGenerator.java:[27,-1] cannot  
> access net.sourceforge.pmd.PMD
> bad class file: /export/home/build/.m2/repository/pmd/pmd/4.1/ 
> pmd-4.1.jar(net/sourceforge/pmd/PMD.class)
> class file has wrong version 49.0, should be 48.0
>
>
>
> /export/home/build/data/continuum/checkouts/27/src/main/java/org/ 
> apache/maven/plugin/pmd/CpdReportGenerator.java:[27,-1] cannot  
> access net.sourceforge.pmd.PMD
> bad class file: /export/home/build/.m2/repository/pmd/pmd/4.1/ 
> pmd-4.1.jar(net/sourceforge/pmd/PMD.class)
> class file has wrong version 49.0, should be 48.0
>
>
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Fri Dec 14 02:35:34 GMT+00:00 2007
> [INFO] Final Memory: 12M/22M
> [INFO]  
> ------------------------------------------------------------------------
>
> ****************************************************************************
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [continuum] BUILD FAILURE: Maven PMD Plugin

Posted by Daniel Kulp <dk...@apache.org>.
On Thursday 13 December 2007, Brett Porter wrote:
> Sounds familiar now... should we continue to consider this a failure
> then until it is added?

I would say yes.  You could disable it for the time being since we know 
it doesn't build with 1.4.

Dan


>
> On 14/12/2007, at 2:00 PM, Daniel Kulp wrote:
> > On Thursday 13 December 2007, Brett Porter wrote:
> >> is PMD JDK 5 only now?
> >
> > Yes.  But they are working on getting a retrotranslated version
> > submitted
> > to central the the plugin can use.
> >
> > Dan
> >
> >> - Brett
> >>
> >> On 14/12/2007, at 1:35 PM, Continuum@maven.zones.apache.org wrote:
> >>> Online report :
> >>> http://maven.zones.apache.org/continuum/buildResult.action?buildId
> >>>=3 8882&projectId=27
> >>>
> >>> Build statistics:
> >>> State: Failed
> >>> Previous State: Failed
> >>> Started at: Fri 14 Dec 2007 02:35:26 +0000
> >>> Finished at: Fri 14 Dec 2007 02:35:35 +0000
> >>> Total time: 8s
> >>> Build Trigger: Schedule
> >>> Build Number: 100
> >>> Exit code: 1
> >>> Building machine hostname: maven.zones.apache.org
> >>> Operating system : SunOS(unknown)
> >>> Java Home version :          java version "1.4.2_09"
> >>>        Java(TM) 2 Runtime Environment, Standard Edition (build
> >>> 1.4.2_09-b05)
> >>>        Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)
> >>>       Builder version :
> >>>        Maven version: 2.0.7
> >>>        Java version: 1.4.2_09
> >>>        OS name: "sunos" version: "5.10" arch: "x86"
> >>>
> >>> ******************************************************************
> >>>** ******** SCM Changes:
> >>> ******************************************************************
> >>>** ******** No files changed
> >>>
> >>> ******************************************************************
> >>>** ******** Dependencies Changes:
> >>> ******************************************************************
> >>>** ******** No dependencies changed
> >>>
> >>>
> >>> ******************************************************************
> >>>** ******** Build Defintion:
> >>> ******************************************************************
> >>>** ******** POM filename: pom.xml
> >>> Goals: clean install   Arguments: --batch-mode --non-recursive -P
> >>> integration-tests
> >>> Build Fresh: true
> >>> Always Build: true
> >>> Default Build Definition: false
> >>> Schedule: Integration Test Run
> >>> Profile Name: JDK 1.4.2
> >>> Description:
> >>>
> >>> ******************************************************************
> >>>** ******** Test Summary:
> >>> ******************************************************************
> >>>** ******** Tests: 0
> >>> Failures: 0
> >>> Total time: 0
> >>>
> >>> ******************************************************************
> >>>** ******** Output:
> >>> ******************************************************************
> >>>** ******** [INFO] Scanning for projects...
> >>> [INFO]
> >>> ------------------------------------------------------------------
> >>>-- -------- [INFO] Building Maven PMD Plugin
> >>> [INFO]    task-segment: [clean, install]
> >>> [INFO]
> >>> ------------------------------------------------------------------
> >>>-- -------- [INFO] [clean:clean]
> >>> [INFO] [plugin:descriptor]
> >>> [INFO] Using 2 extractors.
> >>> [INFO] Applying extractor for language: java
> >>> [INFO] Extractor for language: java found 4 mojo descriptors.
> >>> [INFO] Applying extractor for language: bsh
> >>> [INFO] Extractor for language: bsh found 0 mojo descriptors.
> >>> [INFO] [resources:resources]
> >>> [INFO] Using default encoding to copy filtered resources.
> >>> [INFO] Copying 4 resources
> >>> [INFO] [compiler:compile]
> >>> [INFO] Compiling 9 source files to
> >>> /export/home/build/data/continuum/ checkouts/27/target/classes
> >>> [INFO]
> >>> ------------------------------------------------------------------
> >>>-- ---- [ERROR] BUILD FAILURE
> >>> [INFO]
> >>> ------------------------------------------------------------------
> >>>-- ---- [INFO] Compilation failure
> >>> /export/home/build/data/continuum/checkouts/27/src/main/java/org/
> >>> apache/maven/plugin/pmd/CpdReportGenerator.java:[27,-1] cannot
> >>> access net.sourceforge.pmd.PMD
> >>> bad class file: /export/home/build/.m2/repository/pmd/pmd/4.1/
> >>> pmd-4.1.jar(net/sourceforge/pmd/PMD.class)
> >>> class file has wrong version 49.0, should be 48.0
> >>>
> >>>
> >>>
> >>> /export/home/build/data/continuum/checkouts/27/src/main/java/org/
> >>> apache/maven/plugin/pmd/CpdReportGenerator.java:[27,-1] cannot
> >>> access net.sourceforge.pmd.PMD
> >>> bad class file: /export/home/build/.m2/repository/pmd/pmd/4.1/
> >>> pmd-4.1.jar(net/sourceforge/pmd/PMD.class)
> >>> class file has wrong version 49.0, should be 48.0
> >>>
> >>>
> >>> [INFO]
> >>> ------------------------------------------------------------------
> >>>-- ---- [INFO] For more information, run Maven with the -e switch
> >>> [INFO]
> >>> ------------------------------------------------------------------
> >>>-- ---- [INFO] Total time: 6 seconds
> >>> [INFO] Finished at: Fri Dec 14 02:35:34 GMT+00:00 2007
> >>> [INFO] Final Memory: 12M/22M
> >>> [INFO]
> >>> ------------------------------------------------------------------
> >>>-- ----
> >>>
> >>> ******************************************************************
> >>>** ********
> >>
> >> -------------------------------------------------------------------
> >>-- To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: dev-help@maven.apache.org
> >
> > --
> > J. Daniel Kulp
> > Principal Engineer
> > IONA
> > P: 781-902-8727    C: 508-380-7194
> > daniel.kulp@iona.com
> > http://www.dankulp.com/blog



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [continuum] BUILD FAILURE: Maven PMD Plugin

Posted by Brett Porter <br...@apache.org>.
Sounds familiar now... should we continue to consider this a failure  
then until it is added?

On 14/12/2007, at 2:00 PM, Daniel Kulp wrote:

> On Thursday 13 December 2007, Brett Porter wrote:
>> is PMD JDK 5 only now?
>
> Yes.  But they are working on getting a retrotranslated version  
> submitted
> to central the the plugin can use.
>
> Dan
>
>
>
>> - Brett
>>
>> On 14/12/2007, at 1:35 PM, Continuum@maven.zones.apache.org wrote:
>>> Online report :
>>> http://maven.zones.apache.org/continuum/buildResult.action?buildId=3
>>> 8882&projectId=27
>>>
>>> Build statistics:
>>> State: Failed
>>> Previous State: Failed
>>> Started at: Fri 14 Dec 2007 02:35:26 +0000
>>> Finished at: Fri 14 Dec 2007 02:35:35 +0000
>>> Total time: 8s
>>> Build Trigger: Schedule
>>> Build Number: 100
>>> Exit code: 1
>>> Building machine hostname: maven.zones.apache.org
>>> Operating system : SunOS(unknown)
>>> Java Home version :          java version "1.4.2_09"
>>>        Java(TM) 2 Runtime Environment, Standard Edition (build
>>> 1.4.2_09-b05)
>>>        Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)
>>>       Builder version :
>>>        Maven version: 2.0.7
>>>        Java version: 1.4.2_09
>>>        OS name: "sunos" version: "5.10" arch: "x86"
>>>
>>> ********************************************************************
>>> ******** SCM Changes:
>>> ********************************************************************
>>> ******** No files changed
>>>
>>> ********************************************************************
>>> ******** Dependencies Changes:
>>> ********************************************************************
>>> ******** No dependencies changed
>>>
>>>
>>> ********************************************************************
>>> ******** Build Defintion:
>>> ********************************************************************
>>> ******** POM filename: pom.xml
>>> Goals: clean install   Arguments: --batch-mode --non-recursive -P
>>> integration-tests
>>> Build Fresh: true
>>> Always Build: true
>>> Default Build Definition: false
>>> Schedule: Integration Test Run
>>> Profile Name: JDK 1.4.2
>>> Description:
>>>
>>> ********************************************************************
>>> ******** Test Summary:
>>> ********************************************************************
>>> ******** Tests: 0
>>> Failures: 0
>>> Total time: 0
>>>
>>> ********************************************************************
>>> ******** Output:
>>> ********************************************************************
>>> ******** [INFO] Scanning for projects...
>>> [INFO]
>>> --------------------------------------------------------------------
>>> -------- [INFO] Building Maven PMD Plugin
>>> [INFO]    task-segment: [clean, install]
>>> [INFO]
>>> --------------------------------------------------------------------
>>> -------- [INFO] [clean:clean]
>>> [INFO] [plugin:descriptor]
>>> [INFO] Using 2 extractors.
>>> [INFO] Applying extractor for language: java
>>> [INFO] Extractor for language: java found 4 mojo descriptors.
>>> [INFO] Applying extractor for language: bsh
>>> [INFO] Extractor for language: bsh found 0 mojo descriptors.
>>> [INFO] [resources:resources]
>>> [INFO] Using default encoding to copy filtered resources.
>>> [INFO] Copying 4 resources
>>> [INFO] [compiler:compile]
>>> [INFO] Compiling 9 source files to
>>> /export/home/build/data/continuum/ checkouts/27/target/classes
>>> [INFO]
>>> --------------------------------------------------------------------
>>> ---- [ERROR] BUILD FAILURE
>>> [INFO]
>>> --------------------------------------------------------------------
>>> ---- [INFO] Compilation failure
>>> /export/home/build/data/continuum/checkouts/27/src/main/java/org/
>>> apache/maven/plugin/pmd/CpdReportGenerator.java:[27,-1] cannot
>>> access net.sourceforge.pmd.PMD
>>> bad class file: /export/home/build/.m2/repository/pmd/pmd/4.1/
>>> pmd-4.1.jar(net/sourceforge/pmd/PMD.class)
>>> class file has wrong version 49.0, should be 48.0
>>>
>>>
>>>
>>> /export/home/build/data/continuum/checkouts/27/src/main/java/org/
>>> apache/maven/plugin/pmd/CpdReportGenerator.java:[27,-1] cannot
>>> access net.sourceforge.pmd.PMD
>>> bad class file: /export/home/build/.m2/repository/pmd/pmd/4.1/
>>> pmd-4.1.jar(net/sourceforge/pmd/PMD.class)
>>> class file has wrong version 49.0, should be 48.0
>>>
>>>
>>> [INFO]
>>> --------------------------------------------------------------------
>>> ---- [INFO] For more information, run Maven with the -e switch
>>> [INFO]
>>> --------------------------------------------------------------------
>>> ---- [INFO] Total time: 6 seconds
>>> [INFO] Finished at: Fri Dec 14 02:35:34 GMT+00:00 2007
>>> [INFO] Final Memory: 12M/22M
>>> [INFO]
>>> --------------------------------------------------------------------
>>> ----
>>>
>>> ********************************************************************
>>> ********
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>
>
>
> -- 
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727    C: 508-380-7194
> daniel.kulp@iona.com
> http://www.dankulp.com/blog


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [continuum] BUILD FAILURE: Maven PMD Plugin

Posted by Xavier Le Vourch <xa...@brittanysoftware.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel Kulp wrote:
> On Thursday 13 December 2007, Brett Porter wrote:
>> is PMD JDK 5 only now?
> 
> Yes.  But they are working on getting a retrotranslated version submitted 
> to central the the plugin can use. 
> 
> Dan

Hi,

Now that my upload request for pmd:pmd-jdk14 has been processed, the
issue could be resolved by committing my patch from:

http://jira.codehaus.org/browse/MPMD-66

This will use version 4.1.1 of pmd:pmd-jdk14 (i.e. the retroweaved
version of pmd) and will work with all jdk 1.4+ versions.

Another patch to have nicer failure messages
(http://jira.codehaus.org/browse/MPMD-65) could also be merged before
creating a new version to use pmd 4.1 for the maven pmd plugin.


Xavier

- --
Xavier Le Vourch
Brittany Software, Inc.
<xa...@brittanysoftware.com>

PGP Key (ID 0x896C5947): http://brittanysoftware.com/gpg_key.asc
Key fingerprint: 73B3 6370 B8C5 4325 F2D8  4115 0372 5805 896C 5947
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHcog+A3JYBYlsWUcRApgPAKCQtEXnFtKDwvM9J2YgivDg/YOcBwCggGzD
nHmtg1IFVPFPu229BjCS1HA=
=ZXdQ
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [continuum] BUILD FAILURE: Maven PMD Plugin

Posted by Daniel Kulp <dk...@apache.org>.
On Thursday 13 December 2007, Brett Porter wrote:
> is PMD JDK 5 only now?

Yes.  But they are working on getting a retrotranslated version submitted 
to central the the plugin can use. 

Dan



> - Brett
>
> On 14/12/2007, at 1:35 PM, Continuum@maven.zones.apache.org wrote:
> > Online report :
> > http://maven.zones.apache.org/continuum/buildResult.action?buildId=3
> >8882&projectId=27
> >
> > Build statistics:
> > State: Failed
> > Previous State: Failed
> > Started at: Fri 14 Dec 2007 02:35:26 +0000
> > Finished at: Fri 14 Dec 2007 02:35:35 +0000
> > Total time: 8s
> > Build Trigger: Schedule
> > Build Number: 100
> > Exit code: 1
> > Building machine hostname: maven.zones.apache.org
> > Operating system : SunOS(unknown)
> > Java Home version :          java version "1.4.2_09"
> >         Java(TM) 2 Runtime Environment, Standard Edition (build
> > 1.4.2_09-b05)
> >         Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)
> >        Builder version :
> >         Maven version: 2.0.7
> >         Java version: 1.4.2_09
> >         OS name: "sunos" version: "5.10" arch: "x86"
> >
> > ********************************************************************
> >******** SCM Changes:
> > ********************************************************************
> >******** No files changed
> >
> > ********************************************************************
> >******** Dependencies Changes:
> > ********************************************************************
> >******** No dependencies changed
> >
> >
> > ********************************************************************
> >******** Build Defintion:
> > ********************************************************************
> >******** POM filename: pom.xml
> > Goals: clean install   Arguments: --batch-mode --non-recursive -P
> > integration-tests
> > Build Fresh: true
> > Always Build: true
> > Default Build Definition: false
> > Schedule: Integration Test Run
> > Profile Name: JDK 1.4.2
> > Description:
> >
> > ********************************************************************
> >******** Test Summary:
> > ********************************************************************
> >******** Tests: 0
> > Failures: 0
> > Total time: 0
> >
> > ********************************************************************
> >******** Output:
> > ********************************************************************
> >******** [INFO] Scanning for projects...
> > [INFO]
> > --------------------------------------------------------------------
> >-------- [INFO] Building Maven PMD Plugin
> > [INFO]    task-segment: [clean, install]
> > [INFO]
> > --------------------------------------------------------------------
> >-------- [INFO] [clean:clean]
> > [INFO] [plugin:descriptor]
> > [INFO] Using 2 extractors.
> > [INFO] Applying extractor for language: java
> > [INFO] Extractor for language: java found 4 mojo descriptors.
> > [INFO] Applying extractor for language: bsh
> > [INFO] Extractor for language: bsh found 0 mojo descriptors.
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] Copying 4 resources
> > [INFO] [compiler:compile]
> > [INFO] Compiling 9 source files to
> > /export/home/build/data/continuum/ checkouts/27/target/classes
> > [INFO]
> > --------------------------------------------------------------------
> >---- [ERROR] BUILD FAILURE
> > [INFO]
> > --------------------------------------------------------------------
> >---- [INFO] Compilation failure
> > /export/home/build/data/continuum/checkouts/27/src/main/java/org/
> > apache/maven/plugin/pmd/CpdReportGenerator.java:[27,-1] cannot
> > access net.sourceforge.pmd.PMD
> > bad class file: /export/home/build/.m2/repository/pmd/pmd/4.1/
> > pmd-4.1.jar(net/sourceforge/pmd/PMD.class)
> > class file has wrong version 49.0, should be 48.0
> >
> >
> >
> > /export/home/build/data/continuum/checkouts/27/src/main/java/org/
> > apache/maven/plugin/pmd/CpdReportGenerator.java:[27,-1] cannot
> > access net.sourceforge.pmd.PMD
> > bad class file: /export/home/build/.m2/repository/pmd/pmd/4.1/
> > pmd-4.1.jar(net/sourceforge/pmd/PMD.class)
> > class file has wrong version 49.0, should be 48.0
> >
> >
> > [INFO]
> > --------------------------------------------------------------------
> >---- [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > --------------------------------------------------------------------
> >---- [INFO] Total time: 6 seconds
> > [INFO] Finished at: Fri Dec 14 02:35:34 GMT+00:00 2007
> > [INFO] Final Memory: 12M/22M
> > [INFO]
> > --------------------------------------------------------------------
> >----
> >
> > ********************************************************************
> >********
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org