camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-3725) mvn -e site with version 2.6.0 crashes because no TypeConversions can be found
Date Mon, 28 Feb 2011 08:42:36 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-3725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000177#comment-13000177
] 

Claus Ibsen commented on CAMEL-3725:
------------------------------------

I ran from trunk code with mvn site using maven 2.2.1 and I got much further. It failed later
about not being able to find a checkstyle.xml file.

Since Camel 2.5 there has been changes in maven pom.xml files to let it build with Maven 3
and hence why it may break. So now with Camel 2.7 it may work again.



> mvn -e site with version 2.6.0 crashes because no TypeConversions can be found
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-3725
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3725
>             Project: Camel
>          Issue Type: Task
>          Components: tooling
>    Affects Versions: 2.6.0
>         Environment: Linux, ubuntu, sun jdk 1.6.0_21, maven 2.2.1
>            Reporter: Peter Tillemans
>            Priority: Minor
>
> I have a simple camel project just using camel-core and camel-spring (and some other
dependencies.
> All camel related versions are configured with a maven property.
> With camel.version = 2.5.0  when I run:
>    mvn site
> it builds successfully.
> Switching to 2.6.0 the build fails with the following stackdump :
> mvn site
> ...snip...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error during page generation
> Embedded error: Error rendering Maven report: Failed to generate TypeConverters report
> Failed to load type converters because of: Cannot find any type converter classes from
the following packages: [org.apache.camel.component.file, org.apache.camel.component.bean,
org.apache.camel.converter]
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error during page generation
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> 	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> 	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:597)
> 	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)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error during page generation
> 	at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:114)
> 	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> 	... 17 more
> Caused by: org.apache.maven.doxia.siterenderer.RendererException: Error rendering Maven
report: Failed to generate TypeConverters report
> 	at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:174)
> 	at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:328)
> 	at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:132)
> 	at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:142)
> 	at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:109)
> 	... 19 more
> Caused by: org.apache.maven.reporting.MavenReportException: Failed to generate TypeConverters
report
> 	at org.apache.camel.maven.ConvertersMojo.executeReport(ConvertersMojo.java:256)
> 	at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:90)
> 	at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:164)
> 	... 23 more
> Caused by: org.apache.camel.TypeConverterLoaderException: Failed to load type converters
because of: Cannot find any type converter classes from the following packages: [org.apache.camel.component.file,
org.apache.camel.component.bean, org.apache.camel.converter]
> 	at org.apache.camel.impl.converter.AnnotationTypeConverterLoader.load(AnnotationTypeConverterLoader.java:77)
> 	at org.apache.camel.maven.ConvertersMojo.executeReport(ConvertersMojo.java:246)
> 	... 25 more
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 9 seconds
> [INFO] Finished at: Sat Feb 26 19:17:42 CET 2011
> [INFO] Final Memory: 72M/379M
> [INFO] ------------------------------------------------------------------------
> pti@pti-laptop:~/Projects/holdlot$ 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message