[ https://issues.apache.org/jira/browse/FELIX-2765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050407#comment-13050407 ]
Stuart McCulloch commented on FELIX-2765: ----------------------------------------- Any chance of getting a test project that recreates the error? Or at least an idea of the project layout / bundle instructions, since I haven't managed to recreate this locally. > bundle plugin throw IllegalArgumentException while do the install > ----------------------------------------------------------------- > > Key: FELIX-2765 > URL: https://issues.apache.org/jira/browse/FELIX-2765 > Project: Felix > Issue Type: Bug > Components: Maven Bundle Plugin > Affects Versions: maven-bundle-plugin-2.0.1 > Environment: maven3 on win os > Reporter: Zeng.haojie > Priority: Blocker > > [ERROR] An internal error occurred > java.lang.IllegalArgumentException: Cannot write resource: > res/images/wired.gif aQute.lib.osgi.PreprocessResource@106121 exception: > java.io.IOException: Opening > resource > at aQute.lib.osgi.Jar.writeResource(Jar.java:302) > at aQute.lib.osgi.Jar.write(Jar.java:211) > at aQute.lib.osgi.Jar.write(Jar.java:182) > at > org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:313) > at > org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:238) > at > org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:229) > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140) > 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:316) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:451) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:188) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:134) > 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.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) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira