Issue Details (XML | Word | Printable)

Key: MANT-59
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Paul Gier
Reporter: Alexander Kurtakov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 2.x Ant Plugin

Add support for generating build files when <packaging>bundle</bundle>

Created: 03/Sep/09 02:52 PM   Updated: 07/Nov/09 07:43 AM   Resolved: 04/Sep/09 11:16 AM
Component/s: None
Affects Version/s: 2.2
Fix Version/s: 2.3

Time Tracking:
Not Specified


 Description  « Hide

When packaging is set to bundle ant:ant task generates an empty package target containting the following message "No Ant task exists for the packaging 'bundle'. You could overrided the Ant package target in your build.xml."
It would be good if packaging bundle is handled the same way as packaging jar. This will allow generating build.xml good enough for building a jar though it not be an OSGi bundle but this is good enough for bootstrapping purposes.
It would be even better if a parameter for setting the MANIFEST.MF is present, e.g being able to use `ant -Dmaven.bundle.manifest=./MANIFEST.MF package`



Paul Gier added a comment - 04/Sep/09 11:16 AM

This is fixed in r811464.
I couldn't find a good way to create a property for the manifest file, without breaking the plugin's behaviour when there is no manifest file.
So instead you'll probably just have to update the manifest in the external build.xml file.