Tuesday, June 17, 2008

Groovy script for building maven dependencies based on information from OSGI bundle

Sometimes when you work with OSGI container outside of Exlipse, you want to have access to dependencies for a given bundle. This information is hidden within the bundle in "META-INF/MANIFEST.MF" file. By analyzing "Bundle-Version", "Import-Package", "Export-Package" attributes we can understand which dependencies are required.

Unfortunately, this work is tedious and here we'll look for the way how to make it easier. I wrote groovy script that takes OSGI bundle and eclipse home as input parameters and produces maven dependencies (with "system" scope) section. It could be used along with "maven-ant-tasks" library for "ant" scripts or, after small modification with ant directly.

7 comments:

Anonymous said...

Hi everyone

Im new to the site. really looking forward to meeting new people, seeing what they have to say and just really chilling on some social network other than facebook. bleh. like i said, i am me, now who are you?

thanks, Dennis from [url=http://www.myonlinepayday.com]Payday Loans[/url] website!

dfadf said...

Microsoft Office 2010
Office 2010
Office 2007
Microsoft Office
Microsoft Office 2007
Office 2007 key
Office 2007 download
Office 2007 Professional
Windows 7
Microsoft outlook 2010

weddingdresses said...

Are you preparing Christmas gifts for your loves ,family and friends now ?
Maybe you can choose us , we always provide the excellent quality products and best after-sale service ,

And recently we have a active promotions :Happy Shopping at Dec,
the content of preference:
10%~15% discount
a Christmas gift
Free shipping!

we are accept paypal ,credit card and western union for payment .
New arrival :Power Balance
winter boots
nike womens boots
power balance bracelet
Silly Bands
Reebok Easytone
reebok zigtech
efx bracelet
Moncler Jackets

JUN said...

When floods do occur, The North Face Sale the water, though turbid for the time, subsides rapidly and soon becomes clear again. Below Hertford, floods are liable to act injuriously, the water remaining longer on the adjoining marsh lands. Mr. Beardmore stated that heavy floodings had taken place in May 1824, in November 1852, and in October 1857, and that at such times large areas of land were, laid under water for several days. Skechers Shoes The marsh-lands on both sides of the lower Thames are not subject to such flooding, as the embankments are found to be sufficient to shut out the tides, and the primitive sewers, marsh-ditches, and tidal outlet-sluices regulate the delivery of flood waters so as to prevent injury to land. The marsh districts on both sides of the lower Lee are now subject to the double evil of flooding and droughts; during long continued dry weather the surface cracks until there are fissures several feet in depth. Flood water is passed much more rapidly down the valley of the Lee in consequence The North Face Sale of the improvements made of late years in the navigation by dredging the channels. Much, however, remains to be done which would improve the conditions of the marsh-land and the health of the people.The evidence as to the water-mills proves that in many instances the dams and ponds act injuriously by preventing land drainage and impeding floods. However useful Discount G Star Sale water-power may have been in former times, when these mills were first established, that use has now been greatly reduced in relative value, and, wherever there is sufficient trade to The North Face Sale make grinding corn a profitable occupation, steam-power has to be brought in as an auxiliary, the improved navigation and railway accommodation facilitating the delivery of coals so as to give an advantage to steam over the constantly alternating and uncertain flow of water. Water-power having diminished in commercial value, and land for agricultural purposes having greatly increased in value, injury to the adjoining lands may be shown to cause an annual money loss to the district Shape Ups Boots. To this money loss must be added injury to health by the retention of large areas of undrained land. Water-mills and mill-dams are proved to be injurious to local properties, but we have no evidence as to any serious pollutions being caused by these mills, other than so far as they cause a partial stagnation in the water and accumulations of mud by ponding.

JUN said...

When floods do occur, The North Face Sale the water, though turbid for the time, subsides rapidly and soon becomes clear again. Below Hertford, floods are liable to act injuriously, the water remaining longer on the adjoining marsh lands. Mr. Beardmore stated that heavy floodings had taken place in May 1824, in November 1852, and in October 1857, and that at such times large areas of land were, laid under water for several days. Skechers Shoes The marsh-lands on both sides of the lower Thames are not subject to such flooding, as the embankments are found to be sufficient to shut out the tides, and the primitive sewers, marsh-ditches, and tidal outlet-sluices regulate the delivery of flood waters so as to prevent injury to land. The marsh districts on both sides of the lower Lee are now subject to the double evil of flooding and droughts; during long continued dry weather the surface cracks until there are fissures several feet in depth. Flood water is passed much more rapidly down the valley of the Lee in consequence The North Face Sale of the improvements made of late years in the navigation by dredging the channels. Much, however, remains to be done which would improve the conditions of the marsh-land and the health of the people.The evidence as to the water-mills proves that in many instances the dams and ponds act injuriously by preventing land drainage and impeding floods. However useful Discount G Star Sale water-power may have been in former times, when these mills were first established, that use has now been greatly reduced in relative value, and, wherever there is sufficient trade to The North Face Sale make grinding corn a profitable occupation, steam-power has to be brought in as an auxiliary, the improved navigation and railway accommodation facilitating the delivery of coals so as to give an advantage to steam over the constantly alternating and uncertain flow of water. Water-power having diminished in commercial value, and land for agricultural purposes having greatly increased in value, injury to the adjoining lands may be shown to cause an annual money loss to the district Shape Ups Boots. To this money loss must be added injury to health by the retention of large areas of undrained land. Water-mills and mill-dams are proved to be injurious to local properties, but we have no evidence as to any serious pollutions being caused by these mills, other than so far as they cause a partial stagnation in the water and accumulations of mud by ponding.

Anonymous said...

Counter Depth French Door Refrigerator
How to Get Into Acting
Breville Smart Oven
How to Impress Woman
Picking Lottery Numbers
Canon Powershot A800
Adidas Barricade
Adidas Barricade 6.0
Cuisinart TOB-195
Acne Conglobata
Acer 11.6 Netbook
500 payday loan
acne inversa
VIZIO M261VP
checkmate payday loans
Pengurusan Masa
Counter Depth French Door Refrigerator
How to Get Into Acting
Breville Smart Oven
How to Impress Woman
Picking Lottery Numbers
Canon Powershot A800
Adidas Barricade 6.0
Cuisinart TOB-195
Acne Conglobata
Acer 11.6 Netbook
500 payday loan
acne inversa
VIZIO M261VP
checkmate payday loans
Pengurusan Masa

Anonymous said...

seo google bomb ar carro de ar de carro ar ar carro carro ar