Skip to content

timdp/pomeranian

Repository files navigation

pomeranian

neostandard javascript style

Like Yarn, but for Maven.

Installation

yarn global add @timdp/pomeranian
npm install --global @timdp/pomeranian

Usage

Run pomeranian (or pom) in a directory with a Maven pom.xml. If pom.xml doesn't exist, it will attempt to find one higher up.

Try pom --help for quick instructions.

Adding Dependencies

Add dependency by group ID, artifact ID and version:

pomeranian add org.apache.commons:commons-text:1.12.0

Or shorter:

pom a org.apache.commons:commons-text:1.12.0

Or by URL:

pom a https://central.sonatype.com/artifact/org.apache.commons/commons-text/1.12.0

Or use the latest version:

pom a org.apache.commons:commons-text
pom a https://central.sonatype.com/artifact/org.apache.commons/commons-text

Or search:

pom a commons-text

Need to change the scope? Use --scope or -s:

pom a org.junit.jupiter:junit-jupiter -s test

Removing Dependencies

Remove dependency by group ID and artifact ID:

pomeranian remove org.apache.commons:commons-text

Or shorter:

pom r org.apache.commons:commons-text

Or by artifact ID only:

pom r commons-text

Or use wildcards:

pom r "*junit*"

Unsupervised

Add --yes or -y to accept all confirmation prompts.

Author

Tim De Pauw

License

MIT

About

Like Yarn, but for Maven.

Resources

License

Stars

Watchers

Forks

Sponsor this project