felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-4874) IllegalArgumentException: Invalid syntax for version: 0.1-SNAPSHOT
Date Fri, 15 May 2015 08:03:01 GMT

     [ https://issues.apache.org/jira/browse/FELIX-4874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Carsten Ziegeler updated FELIX-4874:
------------------------------------
    Fix Version/s: maven-bundle-plugin-2.5.5

> IllegalArgumentException: Invalid syntax for version: 0.1-SNAPSHOT
> ------------------------------------------------------------------
>
>                 Key: FELIX-4874
>                 URL: https://issues.apache.org/jira/browse/FELIX-4874
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.5.4
>            Reporter: Amichai Rothman
>             Fix For: maven-bundle-plugin-2.5.5
>
>
> Started getting this exception in 2.5.4 (doesn't happen in 2.5.3 and earlier, where everything
builds and runs just fine):
> java.lang.IllegalArgumentException: Invalid syntax for version: 0.1-SNAPSHOT
>         at aQute.bnd.version.Version.<init>(Version.java:46)
>         at aQute.bnd.osgi.Analyzer.augmentExports(Analyzer.java:1711)
>         at aQute.bnd.osgi.Analyzer.analyze(Analyzer.java:229)
>         at aQute.bnd.osgi.Builder.analyze(Builder.java:352)
>         at aQute.bnd.osgi.Analyzer.calcManifest(Analyzer.java:618)
>         at aQute.bnd.osgi.Builder.build(Builder.java:81)
>         at org.apache.felix.bundleplugin.BundlePlugin.buildOSGiBundle(BundlePlugin.java:632)
>         at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:351)
>         at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:268)
>         at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:259)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>         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.MojoExecutor.executeForkedExecutions(MojoExecutor.java:365)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
>         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:320)
>         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:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:497)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message