Re: Set version automatically in maven-repo-helper

2011-12-15 Thread Ludovic Claude
Yes, that is an option supported by mh_install. You should write in d/rules: UPSTREAM-VERSION := $(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-+]+).*,\1,p') override_mh_install: mh_install --set-version=$(UPSTREAM-VERSION) The man page of mh_install lists all options supported by

Set version automatically in maven-repo-helper

2011-12-15 Thread Thomas Koch
Hi, I use jh_maven_repo_helper to install .jar and pom.xml files[1]. I hoped that maven-repo-helper would set the version automatically according to the debian package version, but it apparently doesn't. Is is possible and recommended to handle this with: UPSTREAM-VERSION := $(shell dpkg-parse