Your message dated Tue, 27 Sep 2011 16:18:07 +0000
with message-id <[email protected]>
and subject line Bug#640730: fixed in maven-repo-helper 1.6
has caused the Debian Bug report #640730,
regarding maven-repo-helper: mh_installjar --set-version flag doesn't work as
expected
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
640730: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640730
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: maven-repo-helper
Version: 1.5.2
Severity: normal
I was working in a new package and I needed to override the version
of a jar to be installed in the maven repo. I consulted the man page,
I found --set-version flag to do this but it doesn't work as documented:
mh_installjar -plibguice-java --set-version=3.0 -l -v \
core/pom.xml build/dist/guice-3.0.jar
Invalid option: set_version
Usage: mh_installjar [option]... [pom] [jar] [link]...
Installs the jar file in /usr/share/maven-repo, at the correct location for
Maven. The jar is copied into the build directory.
It can also create additional links to the jar, usually located in
/usr/share/java.
Where
[pom] is the location of the POM associated with the jar to install.
GroupId, artifactId and version will be extracted from this file.
[jar] is the path to the jar to install, usually located in the build
folder.
[link] is an additional link to the jar to install, usually there should
be a link to usr/share/java/$jar.jar and
usr/share/java/$jar-$version.jar to comply with the Java packaging
guidelines. Note that there is no need to specify those particular
links if the --java-lib option is used.
Options:
-h --help: show this text
-V --version: show the version
-p<package> --package=<package>: package to act on
-e<version>, --set-version=<version>: set the version for the POM,
do not use the version declared in the POM file.
-r<rules> --rules=<rules>: gives the location of the rules file for
special properties. Optional, the default location is
debian/maven.rules
-l --java-lib: Optional, if given it will install the jar into
/usr/share/java to comply with the Debian Java specification.
The jar will be installed as /usr/share/java/$name-$version.jar and
a versionless link /usr/share/java/$name.jar will point to it, as
well as the links installed in /usr/share/maven-repo
-n<name> --usj-name=<name>: Optional, the name to use when installing
the
library in /usr/share/java when --java-lib is used.
Defaults to the artifact id found in the POM.
-i<version> --usj-version=<version>: Optional, the version to use when
installing the library in /usr/share/java when --java-lib is used.
Defaults to the version found in the POM.
-s --no-usj-versionless: Optional, don't install the versionless link
in /usr/share/java.
This flag is used only when the -l or --java-lib option is given.
-d<path> --dest-jar=<path>: Optional, the destination for the real jar.
The other places where the jar appears, in the repository or in the
list of links, will be symlinks to this jar.
Defaults to /usr/share/java/$name-$version.jar if --java-lib is used,
otherwise it goes to the versioned path in the Maven repository.
-c<classifier> --classifier=<classifier>: Optional, the classifier for
the jar. Empty by default.
-v --verbose: show more information while running
-n --no-act: don't actually do anything, just print the results
--skip-clean-pom: don't clean the pom, assume that a previous action ran
mh_cleanpom with the correct options.
I inspected the source of mh_installjar and --set-version doesn't appear
in the list of valid args:
ARGS="p package r rules l java-lib n usj-name i usj-version s
no-usj-versionless d dest-jar c classifier v verbose n no-act skip-clean-pom
no-parent has-package-version keep-elements ignore-pom" parseargs "$@"
However, --set-version appears in the version of mh_installjar committed to
trunk in svn.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (800, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages maven-repo-helper depends on:
ii default-jre-headless [java2-runtime-headless] 1:1.6-43
ii gcj-4.4-jre-headless [java2-runtime-headless] 4.4.6-10
ii gcj-4.6-jre-headless [java2-runtime-headless] 4.6.1-4
ii gcj-jre-headless [java2-runtime-headless] 4:4.6.1-2
ii libstax-java 1.2.0-2
ii openjdk-6-jre-headless [java2-runtime-headless] 6b23~pre9-1
Versions of packages maven-repo-helper recommends:
ii debhelper 8.9.6
Versions of packages maven-repo-helper suggests:
ii maven-debian-helper 1.4.5
-- no debconf information
--
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: maven-repo-helper
Source-Version: 1.6
We believe that the bug you reported is fixed in the latest version of
maven-repo-helper, which is due to be installed in the Debian FTP archive:
maven-repo-helper_1.6.dsc
to main/m/maven-repo-helper/maven-repo-helper_1.6.dsc
maven-repo-helper_1.6.tar.gz
to main/m/maven-repo-helper/maven-repo-helper_1.6.tar.gz
maven-repo-helper_1.6_all.deb
to main/m/maven-repo-helper/maven-repo-helper_1.6_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ludovic Claude <[email protected]> (supplier of updated
maven-repo-helper package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 26 Sep 2011 22:55:09 +0100
Source: maven-repo-helper
Binary: maven-repo-helper
Architecture: source all
Version: 1.6
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers
<[email protected]>
Changed-By: Ludovic Claude <[email protected]>
Description:
maven-repo-helper - Helper tools for including Maven metadata in Debian
packages
Closes: 640730
Changes:
maven-repo-helper (1.6) unstable; urgency=low
.
[ Ludovic Claude ]
* Add tutorial, reference and repository specification in documentation
* Update options on mh_installpom and mh_installpoms, to use the new
arguments
added to mh_cleanpom
* Add Build-Depend on markdown to build the doc
* Add support for packages built with dh 7 and javahelper: use
the following line in your rules file:
dh $@ --with javahelper --with jh_maven_repo_helper
This will build the package with javahelper, and the resulting
jar will be installed in the Maven repository (you need of course the
<package>.poms file and the POM files in your package).
* Add mh_linkjars to link the jars listed in the .poms file, this is used by
the jh_maven_repo_helper plugin for dh 7.
* Deprecate mh_installjar -i option and replace it with -j to avoid conflicts
with -i/--ignore-rules option used elsewhere.
* Review all options passed to the mh_* scripts, in particular --set-version
for mh_installjar (Closes: #640730)
.
[ Damien Raude-Morvan ]
* mh_checkrepo: Fix error when launching without any param.
Checksums-Sha1:
499fc07c9fe1f2d270674365be6517cf492ffe47 1189 maven-repo-helper_1.6.dsc
0ef82d901c635bd44884bebc3ca3188ab5caa1a7 136212 maven-repo-helper_1.6.tar.gz
8311e07139b7fe52a9672bbed3aeda7133990903 119168 maven-repo-helper_1.6_all.deb
Checksums-Sha256:
a9e538a43f6d99e4f91e1d39132210a94bbb0ab5773a8196edbcd6b078ca2864 1189
maven-repo-helper_1.6.dsc
661b8e4cd493a3b0148c68a7fbf1648905082b26eaa3e16cfdbbc1e834a7ac05 136212
maven-repo-helper_1.6.tar.gz
d01d3ce1e5206cfe10d77aa20f1e7fa8f392035d96cb8e2faed4edbc3e96c5fa 119168
maven-repo-helper_1.6_all.deb
Files:
626f7c2d9bc9caa2773b680f27aa59a4 1189 java optional maven-repo-helper_1.6.dsc
5a467fcc5018d1ee3c2d7f05f77c93f6 136212 java optional
maven-repo-helper_1.6.tar.gz
51e5070933de0cfd0c8b1674f2a5a5d4 119168 java optional
maven-repo-helper_1.6_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAk6B85QACgkQfY3dicTPjsNqlgCfXb0o6YqaLpBT5xWVwoGLev13
yMkAn3nL9oO1bxNRUwPxfbp6GTMFr4s3
=DEvh
-----END PGP SIGNATURE-----
--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.