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

Re: libreoffice-java-common: POM meta data for maven builds



Rene Engelhard schrieb am 10.08.2013, 22:36 +0200:
>Will try. A step-by-step instruction for safety-proofness would be nice
>nevertheless...
First of all, generate your three poms and place those somewhere in the source.
Run mh_lspoms and answer the questions. It'll generate a *.poms-file. Rename
that to libreoffice-java-common.poms and check whether the three entries look
like (with a differing path):
debian/pom.xml --no-parent --has-package-version

So e.g. pom.juh.xml etc.

Then in debian/rules in an install rule:
mh_installpoms -Plibreoffice-java-common
# now repeated for each jar:
mh_installjar -plibreoffice-java-common -l debian/pom.xml build/location/jar.jar

The last command, repeated for each jar, will install the jars to
/usr/share/java and symlink it into /usr/share/maven-repo. You might want to
symlink the jar further as LibreOffice needs it. IMHO that should work.

Sebastian
-- 
Web: http://www.crustulus.de   | Blog (eng / deu): http://www.crustulus.de/blog
Freies Latein-Deutsch-Wörterbuch: http://www.crustulus.de/freedict.de.html
FreeDict: Free multilingual dictionary databases - http://www.freedict.org

Attachment: signature.asc
Description: Digital signature


Reply to: