0.3.0 • Published 1 year ago
@timdp/pomeranian v0.3.0
pomeranian
Like Yarn, but for Maven.
Installation
yarn global add @timdp/pomeraniannpm install --global @timdp/pomeranianUsage
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.0Or shorter:
pom a org.apache.commons:commons-text:1.12.0Or by URL:
pom a https://central.sonatype.com/artifact/org.apache.commons/commons-text/1.12.0Or use the latest version:
pom a org.apache.commons:commons-textpom a https://central.sonatype.com/artifact/org.apache.commons/commons-textOr search:
pom a commons-textNeed to change the scope? Use --scope or -s:
pom a org.junit.jupiter:junit-jupiter -s testRemoving Dependencies
Remove dependency by group ID and artifact ID:
pomeranian remove org.apache.commons:commons-textOr shorter:
pom r org.apache.commons:commons-textOr by artifact ID only:
pom r commons-textOr use wildcards:
pom r '*junit*Unsupervised
Add --yes or -y to accept all confirmation prompts.
Author
License
MIT