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

Re: resolving maven dependencies



On Wed, Mar 13, 2013 at 03:38:03PM +0100, Thomas Koch wrote:
> Eugene Zhukov:
> > Leaving policies and politics aside, what would be the right way to solve
> > this?
> Please fill a polite wishlist bug against libsaxon-java asking for the maven 
> artifacts to be installed to /usr/share/maven-repo. Please put me in the CC of 
> the bug. It don't expect political problems with this.
> > Or, perhaps, I can/shall solve these dependencies when packaging by adding
> > some
> > mh_installpoms/mh_installjars commands into debian/rules?
> I don't see any other solution to your problem than the one indicated above.

A friend of mine currently employs another solution: During build process he
copies /usr/share/maven-repo to a temporary directory, then uses "mvn
install::installfile" to install jars from /usr/share/java to the temp
directory and then uses the temporary directory as local repository.

Maybe this could be scripted, so you could use libraries without pom files 
during build...

Stefan

Attachment: signature.asc
Description: Digital signature


Reply to: