Just committed a fix. I *AM* concerned that the PMD plugin in eclipse isn't picking this up. I'm not sure why that's happening. Normally I see these real quick as the eclipse plugins for checkstyle and pmd would flag them as errors right in the IDE.
Dan On Jul 8, 2013, at 4:07 PM, Harsha Thirimanna <[email protected]> wrote: > Hi, > > I think there is a mistake. In same class method 'getAddress" call in the > same class constructor. > > > On Mon, Jul 8, 2013 at 3:59 PM, Harsha Thirimanna < > [email protected]> wrote: > >> hi , >> I tried to build this , >> >> >> >> >> ~/DG/cxf/rt/transports/http-netty/netty-server$ cit >> [INFO] Scanning for projects... >> [INFO] >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Building Apache CXF Runtime HTTP Netty Server Transport >> 3.0.0-SNAPSHOT >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] >> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ >> cxf-rt-transports-http-netty-server --- >> [INFO] Deleting >> /home/harshat/DG/cxf/rt/transports/http-netty/netty-server/target >> [INFO] >> [INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @ >> cxf-rt-transports-http-netty-server --- >> [INFO] >> [INFO] --- maven-checkstyle-plugin:2.9.1:checkstyle (validate) @ >> cxf-rt-transports-http-netty-server --- >> [INFO] Starting audit... >> Audit done. >> >> [INFO] >> [INFO] >>> maven-pmd-plugin:2.7.1:check (validate) @ >> cxf-rt-transports-http-netty-server >>> >> [INFO] >> [INFO] --- maven-pmd-plugin:2.7.1:pmd (pmd) @ >> cxf-rt-transports-http-netty-server --- >> [INFO] >> [INFO] <<< maven-pmd-plugin:2.7.1:check (validate) @ >> cxf-rt-transports-http-netty-server <<< >> [INFO] >> [INFO] --- maven-pmd-plugin:2.7.1:check (validate) @ >> cxf-rt-transports-http-netty-server --- >> [INFO] PMD Failure: >> org.apache.cxf.transport.http.netty.server.NettyHttpDestination:75 >> Rule:ConstructorCallsOverridableMethod Priority:1 Overridable method >> 'getAddress' called during object construction. >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 12.059s >> [INFO] Finished at: Mon Jul 08 15:57:35 EDT 2013 >> [INFO] Final Memory: 30M/879M >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-pmd-plugin:2.7.1:check (validate) on project >> cxf-rt-transports-http-netty-server: You have 1 PMD violation. For more >> details >> see:/home/harshat/DG/cxf/rt/transports/http-netty/netty-server/target/pmd.xml >> -> [Help 1] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with the >> -e switch. >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, >> please read the following articles: >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >> >> >> >> thanks >> Harsha Thirimanna >> -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
