Thank you very much Stuart for the answer!
1.The first is O.K after I added your configuration.

2. I was already making those two source jars with jar-plugin, I only wanted
to know if was possible to do it with bundle-plugin. I must split the
sources because are needed in different places in the end(those ware the
requirements).

3. I uploaded the pom with the bundle and jar plugins configuration. I still
have the manifest problem( the same manifest in every jar) even if I added 

 <useDefaultManifestFile>true</useDefaultManifestFile>

 If you can give me some more ideas I will be very grateful. 
Thanx again!

Cheers Anca

viewer wrote:
> 
> Hello!
> I am using maven bundle plugin and I have some questions and issues.
> 1. I have set the packaging to bundle, but when I run mvn command i get
> the following error: 
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Cannot find lifecycle mapping for packaging: 'bundle'.
> Component descriptor cannot be found in the component repository:
> org.apache.maven.lifecycle.mapping.LifecycleMappingbundle.
> [INFO]
> ------------------------------------------------------------------------
> 
> 2. I am supposed to do a jar which will contain 2 jars(obtained by
> splitting sources in two). Is it possible to do this with bundle plugin?
>     -bundle.jar must contain:
>         - source1.jar
>         - source2.jar
> Sources are like this:
>     src/main/java/sources1
>     src/main/java/sources2
> 
> 3. I am creating the Manifest file for the default jar with bundle plugin,
> but the problem is that this manifest appears also in sources jar (made
> with jar plugin using classifier tag) and I don't want this thing to
> happen. How can I avoid that?
> default = bundle.jar
> sources = source1.jar and source2.jar
> 
> I will appreciate any help!
> Thank you in advance!
> 
http://www.nabble.com/file/p22451696/New1.txt New1.txt 
-- 
View this message in context: 
http://www.nabble.com/Need-help-with-maven-bundle-plugin-tp22436368p22451696.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to