felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Mörchen <adrian.moerc...@communote.com>
Subject Strange error after updating maven-ipojo-plugin from 1.8.0 to 1.8.4
Date Thu, 19 Apr 2012 11:45:52 GMT
Hi,

after updating the iPojo Maven plugin from 1.8.0 to 1.8.4 I got the following error without
a reason, when building my plugin

[ERROR] Failed to execute goal org.apache.felix:maven-ipojo-plugin:1.8.4:ipojo-bundle (default)
on project communote-plugins-core: Execution default of goal org.apache.felix:maven-ipojo-plugin:1.8.4:ipojo-bundle
failed: ClassReader.accept() should be called with EXPAND_FRAMES flag -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.felix:maven-ipojo-plugin:1.8.4:ipojo-bundle
(default) on project communote-plugins-core: Execution default of goal org.apache.felix:maven-ipojo-plugin:1.8.4:ipojo-bundle
failed: ClassReader.accept() should be called with EXPAND_FRAMES flag
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal org.apache.felix:maven-ipojo-plugin:1.8.4:ipojo-bundle
failed: ClassReader.accept() should be called with EXPAND_FRAMES flag
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 19 more
Caused by: java.lang.IllegalStateException: ClassReader.accept() should be called with EXPAND_FRAMES
flag
        at org.objectweb.asm.commons.LocalVariablesSorter.visitFrame(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at org.objectweb.asm.ClassReader.accept(Unknown Source)
        at org.apache.felix.ipojo.manipulation.Manipulator.manipulate(Manipulator.java:100)
        at org.apache.felix.ipojo.manipulator.ManipulationEngine.generate(ManipulationEngine.java:111)
        at org.apache.felix.ipojo.manipulator.Pojoization.pojoization(Pojoization.java:312)
        at org.apache.felix.ipojo.manipulator.Pojoization.pojoization(Pojoization.java:198)
        at org.apache.felix.ipojo.plugin.ManipulatorMojo.execute(ManipulatorMojo.java:236)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        ... 20 more
[ERROR]


Any hints or advices?

Thanks,

Adrian



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message