[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to package something depending on a not-maven-ified JAR?



On Sat, 15 Oct 2016, Emmanuel Bourg wrote:

> Le 15/10/2016 à 00:59, Thorsten Glaser a écrit :
> 
> > In the meantime, is there any method I can take a jar from
> > a declared Build-Depends on the Debian level and make it
> > known to maven-debian-helper and friends so I can package
> > the thing that needs it?
> 
> Yes it's possible, you just have to patch the pom.xml file and add a
> <systemPath> element to the yui-compressor dependency pointing to the file:

OK, thanks!

> https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#System_Dependencies

Wow, haven’t seen that one yet.

> mh_make doesn't play well with this trick, so the dependency must be
> ignored on the first run to generate the package stub. The dependency
> can then be enabled and tweaked.

OK, will try.

Thanks,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg


Reply to: