Hi The error building tomahawk in maven 2.1.0 is because the precedence of plugin execution was changed.
On maven 2.0.9 and earlier, the order when the plugins execute during lifecycle is the order in the pom. On 2.1.0, this was changed, so org.codehaus.mojo:build-helper-maven-plugin:add-source goal is executed after org.apache.myfaces.buildtools:myfaces-builder-plugin:build-metadata goal. The effect is target/tomahawk11_sources path is not readed when building myfaces-metadata.xml, causing other plugins fails. One possible solution is create a custom lifecycle in myfaces-builder-plugin, so we can configure the order of execution. Other solution is create params in build-metadata goal, so we can set source paths to be scanned without rely on build-helper-maven-plugin. regards Leonardo Uribe 2009/6/23 Leonardo Uribe <lu4...@gmail.com> > Hi > > The error is because maven 2.1.0. > > I'll upgrade it and take a look at it. > > regards > > Leonardo Uribe > > 2009/6/23 Mike Kienenberger <mkien...@gmail.com> > > Trying to build a 1.1.9 sandbox instance. >> I've checked out the 1.1.9 tomahawk tagged source from >> >> http://svn.apache.org/repos/asf/myfaces/tomahawk/tags/1_1_9 >> >> Building with these tools: >> >> > mvn -v >> Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400) >> Java version: 1.5.0_18 >> Java home: /usr/lib64/jvm/java-1.5.0-sun-1.5.0/jre >> Default locale: en_US, platform encoding: UTF-8 >> OS name: "linux" version: "2.6.30-0.1-default" arch: "amd64" Family: >> "unix" >> >> But it looks like it's crashing on the core 1.2 stuff -- which, >> ironically enough, I don't even care about. >> >> >> > mvn clean install -Dmaven.test.skip=true >> >> >> >> [INFO] Unpacking >> >> /home/mkienenb/.m2/repository/org/apache/myfaces/tomahawk/tomahawk/1.1.9/tomahawk-1.1.9.jarto >> >> /home/mkienenb/workspaces/tomahawk_1_1_9/core12/target/tomahawk11_resources >> with Includes null and >> >> excludes:**/*.class,**/META-INF/**,META-INF/tagConverterClass12.vm,META-INF/NOTICE.txt,META-INF/xdoc-component.vm,META-INF/faces-config12.vm,META-INF/validatorClass12.vm,META-INF/componentClass12.vm,META-INF/xdoc-tag.vm,META-INF/facelets-taglib.vm,META-INF/LICENSE.txt,META-INF/tomahawk12.vm,META-INF/xdoc-converter.vm,META-INF/tagClass12.vm,META-INF/licenses/scriptaculous-LICENSE.txt,META-INF/licenses/kupu-LICENSE.txt,META-INF/licenses/i18n-LICENSE.txt,META-INF/licenses/jscookmenu-LICENSE.txt,META-INF/licenses/dojo-LICENSE.TXT,META-INF/licenses/prototype-LICENSE.txt,META-INF/tagValidatorClass12.vm,META-INF/xdoc-validator.vm >> [INFO] [resources:resources] >> [INFO] Using default encoding to copy filtered resources. >> [INFO] [compiler:compile] >> [INFO] Compiling 197 source files to >> /home/mkienenb/workspaces/tomahawk_1_1_9/core12/target/classes >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Compilation failure >> >> >> /home/mkienenb/workspaces/tomahawk_1_1_9/core12/src/main/java/org/apache/myfaces/custom/htmlTag/AbstractHtmlTag.java:[26,36] >> cannot find symbol >> symbol : class ForceIdAware >> location: package org.apache.myfaces.component >> >> >> /home/mkienenb/workspaces/tomahawk_1_1_9/core12/src/main/java/org/apache/myfaces/custom/htmlTag/AbstractHtmlTag.java:[27,36] >> cannot find symbol >> symbol : class StyleAware >> location: package org.apache.myfaces.component >> >> [.....repeat a lot more times with variety.....] >> >> >> /home/mkienenb/workspaces/tomahawk_1_1_9/core12/src/main/java/org/apache/myfaces/custom/navmenu/AbstractUINavigationMenuItem.java:[336,16] >> cannot find symbol >> symbol : class HtmlCommandNavigationItem >> location: class >> org.apache.myfaces.custom.navmenu.AbstractUINavigationMenuItem >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] For more information, run Maven with the -e switch >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 54 seconds >> [INFO] Finished at: Tue Jun 23 19:52:46 EDT 2009 >> [INFO] Final Memory: 72M/494M >> [INFO] >> ------------------------------------------------------------------------ >> > >