You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tomasz Welman (JIRA)" <ji...@codehaus.org> on 2009/10/15 13:22:26 UTC

[jira] Created: (MPMD-108) maven-pmd-plugin does not use recent (5.0) version of PMD

maven-pmd-plugin does not use recent (5.0) version of PMD
---------------------------------------------------------

                 Key: MPMD-108
                 URL: http://jira.codehaus.org/browse/MPMD-108
             Project: Maven 2.x PMD Plugin
          Issue Type: Bug
          Components: PMD
    Affects Versions: 2.4
         Environment: Linux (Ubuntu Jaunty 9.04), IBM Java JDK 1.6
            Reporter: Tomasz Welman


During the maven build. It says that there is no such rule as:
basics.xml/EmptyInitializer
The PMD docs are saying that's this is since PMD 5.0.

Why the maven-pmd-plugin doesn't use this 5.0 version of PMD?

-- 
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

        

[jira] Commented: (MPMD-108) maven-pmd-plugin does not use recent (5.0) version of PMD

Posted by "Tomasz Welman (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPMD-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213567#action_213567 ] 

Tomasz Welman commented on MPMD-108:
------------------------------------

As stated in the description, some features we require(d) are since 5.0, so the answer is: no.
Nevertheless it is good to see, the project is alive. :-)

> maven-pmd-plugin does not use recent (5.0) version of PMD
> ---------------------------------------------------------
>
>                 Key: MPMD-108
>                 URL: http://jira.codehaus.org/browse/MPMD-108
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Bug
>          Components: PMD
>    Affects Versions: 2.4
>         Environment: Linux (Ubuntu Jaunty 9.04), IBM Java JDK 1.6
>            Reporter: Tomasz Welman
>
> During the maven build. It says that there is no such rule as:
> basics.xml/EmptyInitializer
> The PMD docs are saying that's this is since PMD 5.0.
> Why the maven-pmd-plugin doesn't use this 5.0 version of PMD?

-- 
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

        

[jira] Commented: (MPMD-108) maven-pmd-plugin does not use recent (5.0) version of PMD

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPMD-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213546#action_213546 ] 

Olivier Lamy commented on MPMD-108:
-----------------------------------

we have upgraded to 4.2.5.
Is it enough ?

> maven-pmd-plugin does not use recent (5.0) version of PMD
> ---------------------------------------------------------
>
>                 Key: MPMD-108
>                 URL: http://jira.codehaus.org/browse/MPMD-108
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Bug
>          Components: PMD
>    Affects Versions: 2.4
>         Environment: Linux (Ubuntu Jaunty 9.04), IBM Java JDK 1.6
>            Reporter: Tomasz Welman
>
> During the maven build. It says that there is no such rule as:
> basics.xml/EmptyInitializer
> The PMD docs are saying that's this is since PMD 5.0.
> Why the maven-pmd-plugin doesn't use this 5.0 version of PMD?

-- 
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

        

[jira] (MPMD-108) maven-pmd-plugin does not use recent (5.0) version of PMD

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MPMD-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317032#comment-317032 ] 

Olivier Lamy commented on MPMD-108:
-----------------------------------

FYI current trunk use 5.0.1
                
> maven-pmd-plugin does not use recent (5.0) version of PMD
> ---------------------------------------------------------
>
>                 Key: MPMD-108
>                 URL: https://jira.codehaus.org/browse/MPMD-108
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Bug
>          Components: PMD
>    Affects Versions: 2.4
>         Environment: Linux (Ubuntu Jaunty 9.04), IBM Java JDK 1.6
>            Reporter: Tomasz Welman
>            Assignee: Olivier Lamy
>             Fix For: 2.5
>
>
> During the maven build. It says that there is no such rule as:
> basics.xml/EmptyInitializer
> The PMD docs are saying that's this is since PMD 5.0.
> Why the maven-pmd-plugin doesn't use this 5.0 version of PMD?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MPMD-108) maven-pmd-plugin does not use recent (5.0) version of PMD

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPMD-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed MPMD-108.
-----------------------------

       Resolution: Duplicate
    Fix Version/s: 2.5
         Assignee: Olivier Lamy

> maven-pmd-plugin does not use recent (5.0) version of PMD
> ---------------------------------------------------------
>
>                 Key: MPMD-108
>                 URL: http://jira.codehaus.org/browse/MPMD-108
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Bug
>          Components: PMD
>    Affects Versions: 2.4
>         Environment: Linux (Ubuntu Jaunty 9.04), IBM Java JDK 1.6
>            Reporter: Tomasz Welman
>            Assignee: Olivier Lamy
>             Fix For: 2.5
>
>
> During the maven build. It says that there is no such rule as:
> basics.xml/EmptyInitializer
> The PMD docs are saying that's this is since PMD 5.0.
> Why the maven-pmd-plugin doesn't use this 5.0 version of PMD?

-- 
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

        

[jira] Commented: (MPMD-108) maven-pmd-plugin does not use recent (5.0) version of PMD

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPMD-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213568#action_213568 ] 

Olivier Lamy commented on MPMD-108:
-----------------------------------

this 5.x is not yet released ???
http://pmd.sourceforge.net/ 

> maven-pmd-plugin does not use recent (5.0) version of PMD
> ---------------------------------------------------------
>
>                 Key: MPMD-108
>                 URL: http://jira.codehaus.org/browse/MPMD-108
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Bug
>          Components: PMD
>    Affects Versions: 2.4
>         Environment: Linux (Ubuntu Jaunty 9.04), IBM Java JDK 1.6
>            Reporter: Tomasz Welman
>
> During the maven build. It says that there is no such rule as:
> basics.xml/EmptyInitializer
> The PMD docs are saying that's this is since PMD 5.0.
> Why the maven-pmd-plugin doesn't use this 5.0 version of PMD?

-- 
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

        

[jira] (MPMD-108) maven-pmd-plugin does not use recent (5.0) version of PMD

Posted by "Nicolas Roy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MPMD-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317012#comment-317012 ] 

Nicolas Roy commented on MPMD-108:
----------------------------------

It would be nice to re-open this ticket, now that PMD 5.0.1 has been released.

This would solve a version problem that may become quite common when developing with Java 7 :
If you develop in Eclipse (which is quite common) with Java 7, the only version of Eclipse PMD plugin supporting Java 7 is PMD plugin 4.0, depending on PMD 5. But Maven PMD plugin depends on PMD 4.

Key point is that PMD 5.x is not backward compatible with PMD 4.x, and therefore config files differ from PMD 4 (to allow PMD working with maven)  and PMD 5 (to allow PMD working with Eclipse in Java 7). Mainaining both configuration files is quite painfull and may lead to inconsistancies.
                
> maven-pmd-plugin does not use recent (5.0) version of PMD
> ---------------------------------------------------------
>
>                 Key: MPMD-108
>                 URL: https://jira.codehaus.org/browse/MPMD-108
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Bug
>          Components: PMD
>    Affects Versions: 2.4
>         Environment: Linux (Ubuntu Jaunty 9.04), IBM Java JDK 1.6
>            Reporter: Tomasz Welman
>            Assignee: Olivier Lamy
>             Fix For: 2.5
>
>
> During the maven build. It says that there is no such rule as:
> basics.xml/EmptyInitializer
> The PMD docs are saying that's this is since PMD 5.0.
> Why the maven-pmd-plugin doesn't use this 5.0 version of PMD?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MPMD-108) maven-pmd-plugin does not use recent (5.0) version of PMD

Posted by "Tomasz Welman (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPMD-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194843#action_194843 ] 

Tomasz Welman commented on MPMD-108:
------------------------------------

Configuration on which the issue occurs:

	<reporting>
		<plugins>
			<plugin>
				<artifactId>maven-pmd-plugin</artifactId>
				<version>2.4</version>
				<configuration>
					<rulesets>
						<ruleset>tcrruleset.xml</ruleset>
					</rulesets>
					<targetJdk>1.6</targetJdk>
					<excludeRoots>
						<excludeRoot>${project.build.testSourceDirectory}</excludeRoot>
						<excludeRoot>${project.build.outputDirectory}</excludeRoot>
					</excludeRoots>
				</configuration>
			</plugin>
		</plugins>
	</reporting>

> maven-pmd-plugin does not use recent (5.0) version of PMD
> ---------------------------------------------------------
>
>                 Key: MPMD-108
>                 URL: http://jira.codehaus.org/browse/MPMD-108
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Bug
>          Components: PMD
>    Affects Versions: 2.4
>         Environment: Linux (Ubuntu Jaunty 9.04), IBM Java JDK 1.6
>            Reporter: Tomasz Welman
>
> During the maven build. It says that there is no such rule as:
> basics.xml/EmptyInitializer
> The PMD docs are saying that's this is since PMD 5.0.
> Why the maven-pmd-plugin doesn't use this 5.0 version of PMD?

-- 
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

        

[jira] (MPMD-108) maven-pmd-plugin does not use recent (5.0) version of PMD

Posted by "Nicolas Roy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MPMD-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317012#comment-317012 ] 

Nicolas Roy edited comment on MPMD-108 at 1/9/13 8:27 AM:
----------------------------------------------------------

It would be nice to re-open this ticket, now that PMD 5.0.1 has been released.

This would solve a version problem that may become quite common when developing with Java 7 :
If you develop in Eclipse (which is quite common) with Java 7, the only version of Eclipse PMD plugin supporting Java 7 is PMD plugin 4.0, depending on PMD 5. But Maven PMD plugin depends on PMD 4.

Key point is that PMD 5.x is not backward compatible with PMD 4.x, and therefore config files differ from PMD 4 (to allow PMD working with maven)  and PMD 5 (to allow PMD working with Eclipse in Java 7). Maintaining both configuration files is quite painfull and may lead to inconsistancies.
                
      was (Author: nicoco):
    It would be nice to re-open this ticket, now that PMD 5.0.1 has been released.

This would solve a version problem that may become quite common when developing with Java 7 :
If you develop in Eclipse (which is quite common) with Java 7, the only version of Eclipse PMD plugin supporting Java 7 is PMD plugin 4.0, depending on PMD 5. But Maven PMD plugin depends on PMD 4.

Key point is that PMD 5.x is not backward compatible with PMD 4.x, and therefore config files differ from PMD 4 (to allow PMD working with maven)  and PMD 5 (to allow PMD working with Eclipse in Java 7). Mainaining both configuration files is quite painfull and may lead to inconsistancies.
                  
> maven-pmd-plugin does not use recent (5.0) version of PMD
> ---------------------------------------------------------
>
>                 Key: MPMD-108
>                 URL: https://jira.codehaus.org/browse/MPMD-108
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Bug
>          Components: PMD
>    Affects Versions: 2.4
>         Environment: Linux (Ubuntu Jaunty 9.04), IBM Java JDK 1.6
>            Reporter: Tomasz Welman
>            Assignee: Olivier Lamy
>             Fix For: 2.5
>
>
> During the maven build. It says that there is no such rule as:
> basics.xml/EmptyInitializer
> The PMD docs are saying that's this is since PMD 5.0.
> Why the maven-pmd-plugin doesn't use this 5.0 version of PMD?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MPMD-108) maven-pmd-plugin does not use recent (5.0) version of PMD

Posted by "Tomasz Welman (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPMD-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=213680#action_213680 ] 

Tomasz Welman commented on MPMD-108:
------------------------------------

Oh, sorry, my mistake. I don't remember the version right now. Anyway, since this is the highest it will surely be enough. Thank you. I consider this issue resolved.

> maven-pmd-plugin does not use recent (5.0) version of PMD
> ---------------------------------------------------------
>
>                 Key: MPMD-108
>                 URL: http://jira.codehaus.org/browse/MPMD-108
>             Project: Maven 2.x PMD Plugin
>          Issue Type: Bug
>          Components: PMD
>    Affects Versions: 2.4
>         Environment: Linux (Ubuntu Jaunty 9.04), IBM Java JDK 1.6
>            Reporter: Tomasz Welman
>
> During the maven build. It says that there is no such rule as:
> basics.xml/EmptyInitializer
> The PMD docs are saying that's this is since PMD 5.0.
> Why the maven-pmd-plugin doesn't use this 5.0 version of PMD?

-- 
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