Yes, we need that camel-buildtools dependency to locate the check style file. BTW, the cycle reference is resolved by using the camel pom in camel-buildtools.
-- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com (http://www.fusesource.com/) Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.javaeye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: willemjiang On Wednesday, September 19, 2012 at 4:12 PM, Babak Vahdat wrote: > Hi > > O.K. the problem is the revision 1385198: > > http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?r1=1385198&r2=1385197&pathrev=1385198 > > If you would put that REMOVED dependency BACK then the sourcecheck profile > will be happy again (right now I can't commit any changes by myself). > > Babak > > > Claus Ibsen-2 wrote > > Hi > > > > There must been some changes to our pom.xml files recently, since the > > checkstyle plugin no longer works. eg running on camel-core gives an > > error. > > > > > > davsclaus:~/workspace/camel/camel-core$ mvn compile -Psourcecheck > > [INFO] Scanning for projects... > > [INFO] > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Building Camel :: Core 2.11-SNAPSHOT > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] > > [INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @ camel-core > > --- > > [INFO] > > [INFO] --- maven-checkstyle-plugin:2.6:checkstyle (validate) @ camel-core > > --- > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 10.748s > > [INFO] Finished at: Wed Sep 19 08:43:58 CEST 2012 > > [INFO] Final Memory: 11M/62M > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-checkstyle-plugin:2.6:checkstyle > > (validate) on project camel-core: An error has occurred in Checkstyle > > report generation. Failed during checkstyle execution: Unable to find > > configuration file at location camel-checkstyle.xml: Could not find > > resource 'camel-checkstyle.xml'. -> [Help 1] > > > > > > -- > > Claus Ibsen > > ----------------- > > FuseSource > > Email: > > > > > cibsen@ > > > Web: http://fusesource.com > > Twitter: davsclaus, fusenews > > Blog: http://davsclaus.com > > Author of Camel in Action: http://www.manning.com/ibsen > > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Checkstyle-plugin-no-longer-works-tp5719570p5719577.html > Sent from the Camel Development mailing list archive at Nabble.com > (http://Nabble.com).