Which version of Maven is it?

The maven bundle plugin should add the "bundle" type  through its
<extensions> true as inherited from jena-parent:

  <plugin>

          <groupId>org.apache.felix</groupId>

          <artifactId>maven-bundle-plugin</artifactId>

          <version>2.5.3</version>

          <extensions>true</extensions>

        </plugin>

Could you try if it works on your build server if you also set that
<extensions> directly in jena-osgi*/pom.xml ?
On 24 Feb 2015 15:44, "Rob Vesse" <[email protected]> wrote:

> Stian
>
> When we try and build Jena on our internal build servers we see the
> following error:
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce (enforce) on
> project jena-osgi: org.apache.maven.plugins.enforcer.RequirePluginVersions
> failed with message:
> [ERROR] Cannot find lifecycle mapping for packaging: 'bundle'.
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :jena-osgi
>
> Any ideas how to resolve this?
>
> It may be we are missing a plugin on our end or this is something to do
> with
> having an old version of Maven on our build servers.  We're not OSGI people
> so we are stumped by this currently and goggling hasn't yielded any useful
> ideas
>
> Rob
>
>
>

Reply via email to