You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jérémie DENOYER <jd...@smartwavesa.com> on 2016/03/31 15:42:14 UTC
Apache Maven PMD Plugin - Language XML
Hi,
PMD can be used for XML language (
https://pmd.github.io/pmd-5.4.1/pmd-xml/rules/index.html).
Therefore, Apache Maven PMD Plugin supports only java, javascriptand jsp.
Is somebody aware of any improvement to support new language (like XML)
with the Maven PMD Plugin ?
Regards,
Jérémie
Re: Apache Maven PMD Plugin - Language XML
Posted by Andreas Dangel <ad...@apache.org>.
Hi Jérémie,
I'm not aware of such an improvement. However, I've created an
improvement ticket in JIRA [1],
as this would be a very useful feature.
Regards,
Andreas
[1]: https://issues.apache.org/jira/browse/MPMD-221
On 31.03.2016 15:42, Jérémie DENOYER wrote:
> Hi,
>
> PMD can be used for XML language (
> https://pmd.github.io/pmd-5.4.1/pmd-xml/rules/index.html).
> Therefore, Apache Maven PMD Plugin supports only java, javascriptand jsp.
>
> Is somebody aware of any improvement to support new language (like XML)
> with the Maven PMD Plugin ?
>
> Regards,
>
> Jérémie
>
--
Andreas Dangel
https://github.com/adangel
skype: andreas_dangel
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
AW: Apache Maven PMD Plugin - Language XML
Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Jeremie,
quite a while ago I helped implement the modular language support for PMD.
Before that the languages were hard-coded into PMD, but with those changes you can extend PMD with any Language you like (and you are willing to implement).
I did this because I didn't want to continue to maintain an insanely old fork of PMD used in the Flex project and to add a Flex language module to the official PMD distribution.
I think I noticed quite a lot of new languages on the PMD list.
You can find a list of the official ones and how to provide new languages here: http://pmd.sourceforge.net/pmd-5.3.2/customizing/new-language.html
I really hope to find the time to port the FlexPMD to become a PMD plugin soon
Chris
________________________________________
Von: Jérémie DENOYER <jd...@smartwavesa.com>
Gesendet: Donnerstag, 31. März 2016 15:42
An: users@maven.apache.org
Betreff: Apache Maven PMD Plugin - Language XML
Hi,
PMD can be used for XML language (
https://pmd.github.io/pmd-5.4.1/pmd-xml/rules/index.html).
Therefore, Apache Maven PMD Plugin supports only java, javascriptand jsp.
Is somebody aware of any improvement to support new language (like XML)
with the Maven PMD Plugin ?
Regards,
Jérémie
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org