No matter the jar file name it installs a jar named apparently for the package name. It seem like the artifactId ought to be the original jar file name and the groupId ought to be the package name.
<artifact:install file="${build.jar.dir}/${jar.name <http://jar.name>}">
<pom refid="maven.project"/>
</artifact:install>
