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

Claus Ibsen commented on CAMEL-2022:
------------------------------------

We get this error when we build the snapshots using: mvn clean install 
-Dtest=false from the camel root

{code}
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:592)
        at aQute.lib.osgi.Macro.doCommand(Macro.java:183)
        at aQute.lib.osgi.Macro.doCommands(Macro.java:171)
        at aQute.lib.osgi.Macro.replace(Macro.java:118)
        at aQute.lib.osgi.Macro.process(Macro.java:62)
        at aQute.lib.osgi.Macro.process(Macro.java:78)
        at aQute.lib.osgi.Macro.process(Macro.java:48)
        at aQute.lib.osgi.Macro.process(Macro.java:43)
        at aQute.lib.osgi.Analyzer.augmentVersion(Analyzer.java:1026)
        at aQute.lib.osgi.Analyzer.augmentImports(Analyzer.java:937)
        at aQute.lib.osgi.Analyzer.analyze(Analyzer.java:218)
        at aQute.lib.osgi.Builder.analyze(Builder.java:198)
        at aQute.lib.osgi.Analyzer.calcManifest(Analyzer.java:283)
        at aQute.lib.osgi.Builder.build(Builder.java:78)
        at 
org.apache.felix.bundleplugin.BundlePlugin.buildOSGiBundle(BundlePlugin.java:395)
        at 
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:286)
        at 
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:240)
        at 
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:231)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        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:592)
        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: java.lang.IllegalArgumentException: Invalid syntax for version: 
2.1.0.SNAPSHOT camel.schema.version = 2.1
        at aQute.libg.version.Version.<init>(Version.java:45)
        at aQute.lib.osgi.Macro._version(Macro.java:627)
        ... 38 more
{code}

It would be good to get that fixed as well as it causes me to think there is 
something wrong with the build as well.

> Blueprint support
> -----------------
>
>                 Key: CAMEL-2022
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2022
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>         Attachments: CAMEL-2022.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to