Skip to content

jh.js will generate <dependency> XML fragments for a directory of jar-files to be used in Maven pom.xml file.

Notifications You must be signed in to change notification settings

mhuckaby/jar-hunt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 

Repository files navigation

jar-hunt:

jh.js will generate XML fragments for a directory of jar-files to be used in Maven pom.xml file. This XML fragment is created by recursively searching the specified directory for jar-files, generating a SHA-1 hash value for each encountered jar-file which is then used to search the Maven Central Repository.

Useful for assessing name and version of directories of vaguely named jar files.

usage: node jh.js [-s -x $filename -e $filename] ${directory_that_contains_jars}

-e ${filename} to write error output, default is, "error.xml"
-r recursively search for jar-files
-s suppress "found" messages
-x ${filename} to write xml output, default is, "dependency.xml"

Thanks to Sonatype, Inc. for hosting central repository jar and look-up service (search.maven.org) This program is not endorsed, owned by nor affiliated with Sonatype, Inc.


Copyright 2012 Matthew David Huckaby

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


Developed with nodejs v0.8.1 http://nodejs.org/

About

jh.js will generate <dependency> XML fragments for a directory of jar-files to be used in Maven pom.xml file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published