Skip to content
Web frontend for pom-dependency-analyzer
Branch: master
Clone or download
Latest commit da08d38 May 12, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src update May 7, 2019
web
.gitignore
.travis.yml first May 5, 2019
CHANGELOG.md
LICENSE
README.md
build-and-copy-web.sh update May 7, 2019
build-and-update-all.sh update May 7, 2019
build.gradle first May 5, 2019
gradle.properties first May 5, 2019
gradlew
gradlew.bat first May 5, 2019
release.sh
swagger.yml update May 7, 2019

README.md

Pom Dependency Analyzer Web

Build Status

Uses output of Pom Dependency Analyzer to create a browsable webpage with graphs. The webpage is completely static and can be served from Github pages, Gitlab pages or by cloning the repo and running on localhost.

API documented in swagger.yml.

Example:

./gradlew run --args="-af gh-pages/api"

Usage

-af, --api-folder <string>                 If supplied, it will dump all API-
                                           responses here.
                                           <string>: any string
                                           Default: null
-h, --help <argument-to-print-help-for>    <argument-to-print-help-for>: an argument to print help for
                                           Default: If no specific parameter is given the whole usage text is given
-ksr, --keep-server-running <boolean>      Keeps the server running.
                                           <boolean>: true or false
                                           Default: false
-md, --metadata <string>                   These key/values will be stored 
                                           together with the artifact. Can be used to 
                                           record things like artifacts git repo or 
                                           artifacts Jenkins job URL. [Supports Multiple occurrences]
                                           <string>: any string
                                           Default: Empty list
-sf, --storage-folder <string>             This is where it will look for 
                                           output of Pom Dependency Analyzer.
                                           <string>: any string
                                           Default: <user home>/.m2/repository

Backend

Developed with Gradle.

Commands:

  • ./gradlew build - Build backend

Frontend

You can change where the API is located by creating a file called pdaw-config.json. Place it where you deployed the frontend, same level as the index.html. It should contain::

{
 "apiBasePath": "http://whereveryour/api/is/located"
}

Developed with Vue.

Commands:

  • sudo npm install -g @vue/cli - Install Vue CLI globally
  • npm install - Install dependencies
  • npm run build - Build
  • npm run serve - Serve

GUI based on: https://github.com/vuetifyjs/vuetify

Recommended setup:

  • Visual Studio Code
    • Extensions
      • ext install esbenp.prettier-vscode
      • ext install octref.vetur
    • Settings
      • Text editor / Formatting / Format on Save
You can’t perform that action at this time.