Skip to content
/ jdu Public

Automate upgrades to your dependencies and commit them

Notifications You must be signed in to change notification settings

cecicifu/jdu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Dependency Upgrader (JDU)

Upgrade Java dependencies that are using Maven in bulk using different strategies and commit them.

Requirements

  • Node >= 14

Usage

Fill and rename config.example.json to config.json, navigate to the project and execute the script using node <path>/jdu.js

Configuration

  • server: string. Options available: github & bitbucket.
  • serverToken: string
  • serverOwner: string
  • disableSSL: boolean - default to false
  • dependencyName: string
  • dependencyVersion: string
  • repositories: array of objects
    • url: string. Example: "yourserver.com/bitbucket/scm/myRepository/main.git"
    • originBranch: string
    • destinyBranch (Optional): string
    • artifactVersion (Optional): string
  • tempDirName (Optional): string - default to homedir
  • powerShellPath (Only for Windows): string - default to undefined. Example: "C:/Windows/SysWOW64/WindowsPowerShell/v1.0/powershell.exe"
  • shellMode (Optional, not recommended): boolean - default to false
  • replaceShellTag (Only if artifact version is set and shell mode is true): string - default to undefined. Example: "PROJECT.VERSION"

FAQ

About

Automate upgrades to your dependencies and commit them

Topics

Resources

Stars

Watchers

Forks