Hi MyFaces community. I'm trying to resolve a problem in MyFaces
documented in
the ADFFACES-467 Jira. According to a comment on the Jira the patch I
attached
was for a obsolete branch. However, when I try to use the
ADFFACES/faces-1_2
branch I get build errors below when trying to build MyFaces 1.2. The
obsolete
branch (ADFFACES/faces-1_2-061113) does not cause this error when
building
MyFaces 1.2. So, just have a couple questions:
1. Does anyone know what is causing the error below ?? And what I
need to
do to resolve it ??
2. How does one know which ADFFACES branch the MyFaces community
should be
using for the maven-faces-plugin ??
If I can just figure out where to put the patch I can quickly resolve
a number
of Jiras related to TLD issues. Thanks very much for any assistance !!
Tim McConnell
[INFO] Building API
[INFO] task-segment: [install]
[INFO]
----------------------------------------------------------------------------
[INFO] [faces:generate-components {execution: default}]
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
[WARNING] Missing <component-family> for
"javax.faces.component.UIColumn",
generation of this Component is skipped
[WARNING] Missing <component-family> for
"javax.faces.component.UIComponent",
generation of this Component is skipped
[WARNING] Missing <component-family> for
"javax.faces.component.UIComponentBase", generation of this Component
is skipped
[WARNING] Missing <component-family> for "javax.faces.component.UIForm",
generation of this Component is skipped
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] null
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.IllegalStateException
at
org.apache.myfaces.trinidadbuild.plugin.faces.generator.component.AbstractComponentGenerator.convertStringToBoxedLiteral(AbstractComponentGenerator.java:433)
at
org.apache.myfaces.trinidadbuild.plugin.faces.generator.component.TrinidadComponentGenerator.writePropertyConstants(TrinidadComponentGenerator.java:127)
at
org.apache.myfaces.trinidadbuild.plugin.faces.GenerateComponentsMojo._generateComponent(GenerateComponentsMojo.java:199)
at
org.apache.myfaces.trinidadbuild.plugin.faces.GenerateComponentsMojo._generateComponents(GenerateComponentsMojo.java:99)
at
org.apache.myfaces.trinidadbuild.plugin.faces.GenerateComponentsMojo.execute(GenerateComponentsMojo.java:54)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
--
Thanks,
Tim McConnell