andirady / pom-cli Goto Github PK
View Code? Open in Web Editor NEWCommand line tool to manipulate maven's pom.xml and search for artifacts
Home Page: https://andirady.github.io/pom-cli/
License: Apache License 2.0
Command line tool to manipulate maven's pom.xml and search for artifacts
Home Page: https://andirady.github.io/pom-cli/
License: Apache License 2.0
When you plan to migrate to maven and you only have the jar, it would be useful if you can simply run something like
pom add /path/to/jar
and it'll figure out the gav for that jar. If the jar file does not contain any maven information, the command should fail.
Currently the code uses propriety classes to manipulate poms.
Should use the existing maven-model instead.
Failed to add a dependency when parent is specified but the directory above the current directory does not contain any pom.xml.
Command:
pom add somelibrary:somelibrary
Error:
java.nio.file.NoSuchFileException: /home/me/code/hello/../pom.xml
Sample pom.xml:
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>unnamed</groupId>
<artifactId>hello</artifactId>
<version>0.0.1-SNAPSHOT</version>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.0</version>
</parent>
</project>
The tool should be able to add plugin.
Suggested command name is plug
.
E.g.:
mq plug org.eclipse.jetty:jetty-maven-plugin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.