Giter Club home page Giter Club logo

pomwalker's Introduction

PomWalker

This is a Maven POM parser.

The parser works in 2 steps

  1. Scanning - Give the location of the Maven Repo, we then scan and pick up all POM file file paths.

  2. Reading - Once all the files are scanned, the program then goes back and pulls each file, creates a POM model object.

Outputs are written in cvs format. Please refer tp files section below.

Dependencies

This parser uses the following artifacts. At this stage I have manually configured them in the build file but plan to move to make dynamic.

  1. apache-commons-net.jar
  2. plexus-utils-3.0.15.jar
  3. utils4j-0.7.0.jar
  4. maven-model-3.1.1.jar

Files

Class MainWalker - Used as the main file with configurations.

-scanlog : file used to store the file paths of each POM file

-repo : path of where the Maven repository resides

-outF : variable that stores the outputfile name.. (outputPOM.csv)

Class FileScan - Used for scanning files

Class PomParser - used for parsing the POM files.

--method printManagedModel - used to parse and extract dependencies of superPOM files (those with managed dependencies)

--method printDep used to parse and extract dependencies of normal dependencies.

pomwalker's People

Contributors

raux avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.