UNPKG

pom-version-changer

Version:

Maven pom.xml versions manager. Change version of pom, parent version and dependencies.

41 lines (40 loc) 1.37 kB
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- this is a comment before --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.mycompany.app</groupId> <artifactId>my-parent-app</artifactId> <version>1.0.0</version> </parent> <!-- this is a comment inside1 --> <modelVersion>4.0.0</modelVersion> <groupId> com.mycompany.app <!-- this is a comment inside 2 --> </groupId> <artifactId>my-app</artifactId> <version>3.5</version> <dependencies> <dependency> <groupId>com.mycompany2.app</groupId> <artifactId>fourth-app</artifactId> <version>4.3</version> </dependency> <dependency> <groupId>com.mycompany2.app</groupId> <artifactId>third-app</artifactId> </dependency> <dependency> <groupId>com.mycompany2.app</groupId> <artifactId>first-app</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>com.mycompany.app</groupId> <artifactId>other-app</artifactId> <version>2.0</version> </dependency> </dependencies> </project>