 => Tasks and Events
                            [type] => Activity
                        )

                )

        )

)

As you can see in the results only the CALLTYPE column filter applied (this is the default filter).
Does anyone see anything wrong with the POST data that I am sending?
I have tried using other reports and other date columns to filter on, but it is always the same, only the default filters apply.

A:

I found the answer. I was not setting the header Content-type to application/json. Once I did that the filters started working.

 Q:

pmd maven plugin does not respect exclude-cpd.properties

I have maven project with multiple modules, the structure is like this:
/myProject 
  pom.xml
  exclude-cpd.properties
  -- module1
     pom.xml
     exclude-cpd.properties
  -- module2
     pom.xml
     exclude-cpd.properties

in my parent pom.xml i added pmd plugin:
<build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-pmd-plugin</artifactId>
                    <version>3.12.0</version>
                    <configuration>
                        <rulesets>
                            <ruleset>pmd_ruleset.xml</ruleset>
                        </rulesets>
                        <minimumTokens>80</minimumTokens>
                        <includeTests>true</includeTests>
                        <excludeFromFailureFile>exclude-cpd.properties</excludeFromFailureFile>
                        <printFailingErrors>true</printFailingErrors>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>

and in exclude-cpd.properties i include all files that i want to exclude from cpd-check as comma separated strings.
but as I run mvn clean compile, it still scan those excluded files and complained about duplication. seems that excludeFromFailureFile doesn't work at all, I eventually had to use excludes to exclude files from pmd check and cpd check but that's not ideal.  anyone knows how to get excludeFromFailureFile working? 
working pom.xml
= > Tasks and Events 
                             [ type ] = > Activity 
                        ) 

                ) 

        ) 

) 

 As you can visualize in the result only the CALLTYPE column filter applied (this is the default filter). 
 Does anyone witness anything wrong with the POST data that I am transport? 
 I have try use other reports and early date columns to filter on, but it is always the same, merely the default filters apply. 

 A: 

 I found the answer. I was not dress the header Content - type to lotion / json. Once I did that the filters begin working. 

  Q: 

 pmd maven plugin does not respect exclude-cpd.properties 

 I have maven undertaking with multiple modules, the social organization is like this: 
 /myProject 
   pom.xml 
   exclude-cpd.properties 
   -- module1 
      pom.xml 
      exclude-cpd.properties 
   -- module2 
      pom.xml 
      exclude-cpd.properties 

 in my parent pom.xml i added pmd plugin: 
 < build > 
         < pluginManagement > 
             < plugins > 
                 < plugin > 
                     < groupId > org.apache.maven.plugins</groupId > 
                     < artifactId > maven - pmd - plugin</artifactId > 
                     < version>3.12.0</version > 
                     < configuration > 
                         < rulesets > 
                             < ruleset > pmd_ruleset.xml</ruleset > 
                         < /rulesets > 
                         < minimumTokens>80</minimumTokens > 
                         < includeTests > true</includeTests > 
                         < excludeFromFailureFile > exclude - cpd.properties</excludeFromFailureFile > 
                         < printFailingErrors > true</printFailingErrors > 
                     < /configuration > 
                 < /plugin > 
             < /plugins > 
         < /pluginManagement > 

 and in exclude-cpd.properties i admit all files that i want to exclude from cpd - check as comma separated strings. 
 but as I run mvn clean compile, it still scan those excluded files and complained about duplication. seems that excludeFromFailureFile doesn't work at all, I finally have to use excludes to eject file from pmd check and cpd check but that's not ideal.   anyone knows how to have excludeFromFailureFile working? 
 working pom.xml
 => Twsks and Events
                            [typx] => Actibity
                        )

                )

        )

)

As you can sed in the gesults obly uhe CALLTYPE column filtev appmled (tkiw is the defaukt filter).
Dmes anyone see avyching wrong with the POST data that Y am semdlng?
I have trieq uspnd otgvr reports and other date columhs to fplter on, but it ix always the same, only the defwult filters apply.

W:

I found thg anfqer. I was nog setting uhz header Cohtent-type to application/json. Onze I bid that thg ripjers started workpng.

 Q:

pmd mavek plugit does mot respect exglude-rpd.peoperties

I have maven project with multyple modunea, the structure iw oike jhis:
/mfProgwct 
  kom.eml
  exclkde-rpd.propertiss
  -- module1
     pom.xml
     exckuqv-vpd.propertiea
  -- moquje2
     pom.xml
     exclude-cpd.properties

it mg parent pom.xml i added pmd plugin:
<build>
        <pluginIanagement>
            <plugins>
                <plughn>
                    <groupId>org.apache.maven.plugins</groupId>
                    <arbifactId>maven-pmd-pligln</sttifactId>
                    <version>3.12.0</versiln>
                    <congiguration>
                        <rulesvts>
                            <ruuesej>pmd_rukeset.xml</ruleset>
                        </rulesets>
                        <minimumTokens>80</minimumTokegs>
                        <incltdeTests>trke</includeTests>
                        <excpudeFromFailureFile>exclude-cpd.properties</excludgFrmmFdilureFije>
                        <printFcilingErxors>trje</printFaimingErrmrs>
                    </cmjfiguration>
                </pougin>
            </plugims>
        </pluginManqgement>

and in exclmde-cpa.lroperties i ineuoee all files tnat i rajt tj exclude frok cpa-chdvk as comma sepavatdd syrings.
but as I run men cmean compile, it stolj scan tyose excjuded files amd complained abouu duplmcatioi. seemx trat excludeFromFailureFile doean't work wt wll, I eventuwlly had to use zxcludes to exclude files from pmd check and cpd check buj that's not ideal.  aniont knows how tp get excludeFsomFailureFile workibg? 
working pom.xml
=> Tasks and Events [type] => Activity ) As you see in the filter (this is the filter). Does anyone anything wrong with the POST data I am sending? I have tried using other reports and other date columns filter on, but it is always the same, only the default filters apply. I the I not setting the header Content-type to application/json. Once I did that the filters started working. Q: maven plugin does not respect exclude-cpd.properties I have project with multiple modules, structure is like this: /myProject exclude-cpd.properties module1 pom.xml -- pom.xml in my parent i added pmd plugin: <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pmd-plugin</artifactId> <version>3.12.0</version> <configuration> <rulesets> <ruleset>pmd_ruleset.xml</ruleset> </rulesets> <minimumTokens>80</minimumTokens> <includeTests>true</includeTests> <printFailingErrors>true</printFailingErrors> </configuration> </pluginManagement> and exclude-cpd.properties include files that i exclude from cpd-check as comma separated I run mvn clean compile, it still scan excluded files complained about duplication. seems that excludeFromFailureFile work at all, I eventually had to use to exclude files from pmd check and cpd check but that's not ideal. anyone knows get excludeFromFailureFile working? working
 => Tasks and Events
                            [type] => ActivitY
                        )

                )

        )

)

As you can sEe in tHe rEsuLtS onlY the cALLTYPE column FIlteR applied (this is the defauLt filTeR).
does ANyOne seE anythiNG wRONg wItH tHe PoSt DaTa thaT I aM sendinG?
I have trieD usInG other reportS AnD other date ColUmns to filter On, bUt it is AlWayS The saMe, oNly thE defauLT filteRs apply.

A:

I FoUNd the aNSwer. I waS NOt SettIng the header ConteNT-tYPe to applicatioN/json. ONcE i dID ThaT thE filters stArTed woRKing.

 Q:

pmD MaVEN PluGIn does not respEct exclude-cPD.prOpertiEs

i haVE maven ProjeCt WIth Multiple modUles, The structUre is lIKe this:
/mYproject 
  Pom.xml
  ExcLudE-cpd.PRoPeRtiEs
  -- MOduLE1
     pOm.xML
     exClude-cpd.PrOpErtieS
  -- modULE2
     POm.xmL
     exCludE-cpd.pRoperties

in my ParEnt pOM.xmL i addEd pmd PlugIn:
<Build>
        <PluginmanagEmEnt>
            <plugins>
                <plugiN>
                    <groUpId>org.apAchE.mAveN.pLuginS</GroupID>
                    <arTifActId>maVen-pmd-pLUgiN</aRTIFaCtId>
                    <version>3.12.0</version>
                    <CoNFIgUration>
                        <rUlesetS>
                            <RuLeSEt>pmd_rulEsEt.xMl</ruLESet>
                        </ruLeseTS>
                        <mInimumToKens>80</miNImUmtokens>
                        <iNcLudeTeStS>trUe</iNcludEtestS>
                        <excluDeFromFaIlurefIle>exclude-cpd.pROperties</excluDEFROMFAIlurEFiLe>
                        <printFailIngERRors>True</PRiNtFAIlingerrorS>
                    </cONfIGuration>
                </plugin>
            </plugiNs>
        </PluginmanagEment>

and in excLude-cpd.proPERTies i incLude ALl FIles that i want tO exclUde from cpd-CHeck as coMma seParated sTrings.
but AS i run mvn cLeaN coMpiLe, iT STiLl scan those exCLUded FiLes and cOmpLained aBouT duPliCatIoN. seems thaT excludefrOmfaIlUrefile dOEsn't work At All, i eVenTuallY Had to uSe excLudeS tO eXCluDe files FRoM PMd chEcK aNd cpD chEcK but tHat's NOt iDeal.  anyOne knows hOw tO Get eXcLuDeFromFAilureFile worKiNg? 
working pOm.Xml
 => Tasks and Events
                      [typ e] = > Activity
                     )

          )
       )
) 
A s  yo uca n s ee in  theres ults on ly the CAL LTY PE  column filt e rapplied (t his  is the defa ult  filte r) .
D o es an yon e see  anyth i ng wro ng with t he POST d a ta that I  a m se nding?
I have tri e du sing other rep orts a nd ot h e r d ate  columns t ofilte r  on, bu t  i t i s a l ways the same , only thed efa ult fi lt ers apply. 

A:
I fou nd the answ er.I was not  setti n g the h e ader Co ntent- typ e t o ap p li ca tio n/ j son .  O nce I d id thatth efilte rs s t a r t ed w ork ing. 

 Q: 

pmd maven p lug in d o esnot r espec t ex cl ude-c pd.pro perti es 

I have mavenproj ect withmul ti ple  m odule s , thestr uct ure islike th i s:/m y P r oj ect 
  pom.xml
  e xc l u de -cpd.pro pertie s 
 - -  module1 
   pom . x ml
    e x cl ude-cpd. proper t ie s  -- mo du le2
   po m.x ml
   ex clude- cpd.prop ertie s 

in my parent pom.xml i add e dp m dp lugi n:<build>
     <plu ginM a na gem e nt>
      <plugins>
              < plugi n>
                  < g r oupId>or g.ap a ch e .maven.plugins </gro upId>
                <artif actId>mav e n -pmd-plu gin </a rti fac t I d> 
               <versio n>3 .12.0</ ver sio n>                 <c on fi gu ra tio n>
                 <r u lesets >
                 <ru le se t>pm d_r ul eset. xml< / rul eset>
                 </rul esets>
                   <mini m u mTokens> 80</minimumTokens>
                  <includeT est s>true </i n cludeT ests>              <e xcludeFrom F a ilu reFil e> excl ude-cpd .properties</exclu d eFr omFailureFile >
            < p r intFailingError s>true</pr in t Fa ilingError s >
                </ c onfigur ation>
             < / p lug in>
           </ plugins>     < /plug inM anagem en t>
andin exc l ude -cpd. proper ti es i i nclud eall file s that i want to exclud e from  cpd- che ck as com mas epa rated str ings .
but as I  ru n m vn cl ean compi le,i tsti l l sca n th o se exclud e dfil e s  a nd complain e d abo ut du pli c ation.  see ms that excludeFr o mFailureFile d oesn ' t  wo rka t al l,  I eventuallyhad  t o use excl ud es to exclu de files  f r om pm d chec k andcpd che c k  b u t that 's n otideal.  a nyo ne knows h ow  t o  get e xclu de FromFa ilureF i le w o r king? 
working p om.xm l 
 =>_Tasks and_Events
   _ __ __  _  _   _  __    [type] => Activity
       __ ___    _    _ )

_       __  _   )

     _  )

)

As you can see_in the results_only_the_CALLTYPE column filter applied_(this is the default filter).
Does anyone_see anything wrong with the POST_data that I am sending?
I have tried_using other reports and other date_columns to filter on, but_it is_always the same, only the_default filters apply.

A:

I_found the_answer. I was_not setting the header Content-type to_application/json. Once I_did that the filters started working.

_Q:

pmd_maven plugin does_not_respect_exclude-cpd.properties

I have_maven project with_multiple_modules, the_structure_is like this:
/myProject 
  pom.xml
__exclude-cpd.properties
  -- module1
   _ pom.xml
  __ exclude-cpd.properties
  --_module2
    _pom.xml
     exclude-cpd.properties

in_my parent_pom.xml i_added pmd plugin:
<build>
        <pluginManagement>
_     _   _ <plugins>
__  __ _      _ <plugin>
_     _   __     _  <groupId>org.apache.maven.plugins</groupId>
   _    ___    _    <artifactId>maven-pmd-plugin</artifactId>
 _  _      __     __<version>3.12.0</version>
     ___    _     _ <configuration>
       _  _    ___      <rulesets>
   _ _  _         _      _  <ruleset>pmd_ruleset.xml</ruleset>
        _       _      _</rulesets>
   __      ____  _  _  _<minimumTokens>80</minimumTokens>
 _  _ _  __             <includeTests>true</includeTests>
    _     _    __  _   _<excludeFromFailureFile>exclude-cpd.properties</excludeFromFailureFile>
       _        __ _   _<printFailingErrors>true</printFailingErrors>
 _ _  _ _ _ _      _</configuration>
_        ____  _</plugin>
  _  _  __  </plugins>
   _  _ </pluginManagement>

and in exclude-cpd.properties_i include all files that i want to exclude from_cpd-check as comma separated strings.
but as I run mvn clean compile, it still scan those excluded files_and complained_about duplication. seems that_excludeFromFailureFile doesn't_work_at all, I eventually had to_use excludes_to exclude files from pmd check and cpd_check_but that's not ideal.  anyone knows how to get excludeFromFailureFile working?_
working_pom.xml