felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Munteanu <rmunt...@adobe.com>
Subject RE: maven-bundle-plugin : Class in different directory than declared
Date Wed, 04 Apr 2012 11:16:52 GMT
> -----Original Message-----
> Problem 1)
> 
> Reading the docs, I should use packaging "bundle". This does not work,
> and throws the following error
> 
> Unknown packaging: bundle @ line 12, column 16
> 
> I just switched to "jar", and it seems to work ok just the same,
> manifest.mf is created with bundle props etc.

You need to add

<extensions>true</extensions>

to your maven-bundle-plugin <plugin> ... </plugin> block.

For performance reasons customisations such as new packaging types are contributed on-demand
by Maven plugins.

Robert


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message