[ 
https://issues.apache.org/jira/browse/MPMD-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

QualiteSys QualiteSys updated MPMD-290:
---------------------------------------
    Description: 
I wish to analyze C# source code with CPD, with no success

Looking to the CpdReport.java MOJO, it seams that the language is not extracted 
from either the pom.xml file or the CLI options.

Line 76 :

    @Parameter( defaultValue = "java" )
     private String language;

property = "language" is missing, so the language is always forced to java

Is it possible to fix this bug, and add the missing languages CPD is supporting 
?

Thanks

 

  was:
I wish to analyze C# source code with CPD, with no success

Looking to the CpdReport.java MOJO, it seams that the language is not extracted 
from either the pom.xml file or the CLI options.

Line 76 :

    @Parameter( defaultValue = "java" )
    private String language;

property = "language" is missing, so the language is always forced to java

Is it possible to fix this bug, and add the misson languages CPD is supporting ?

Thanks

 


> CPD ignores the specified language
> ----------------------------------
>
>                 Key: MPMD-290
>                 URL: https://issues.apache.org/jira/browse/MPMD-290
>             Project: Maven PMD Plugin
>          Issue Type: Bug
>          Components: CPD
>    Affects Versions: 3.12.0
>            Reporter: QualiteSys QualiteSys
>            Priority: Major
>
> I wish to analyze C# source code with CPD, with no success
> Looking to the CpdReport.java MOJO, it seams that the language is not 
> extracted from either the pom.xml file or the CLI options.
> Line 76 :
>     @Parameter( defaultValue = "java" )
>      private String language;
> property = "language" is missing, so the language is always forced to java
> Is it possible to fix this bug, and add the missing languages CPD is 
> supporting ?
> Thanks
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to