semver-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.sam42r</groupId> <artifactId>semver-maven-plugin</artifactId> <version>v1.3.0</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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>io.github.sam42r</groupId> <artifactId>semver-parent</artifactId> <version>v1.3.0</version> </parent> <artifactId>semver-maven-plugin</artifactId> <packaging>maven-plugin</packaging> <properties> <maven.compiler.source>19</maven.compiler.source> <maven.compiler.target>19</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <dependency> <groupId>io.github.sam42r</groupId> <artifactId>semver-scm-api</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>io.github.sam42r</groupId> <artifactId>semver-scm-git</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>io.github.sam42r</groupId> <artifactId>semver-analyzer-api</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>io.github.sam42r</groupId> <artifactId>semver-analyzer-conventional</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>io.github.sam42r</groupId> <artifactId>semver-changelog-api</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>io.github.sam42r</groupId> <artifactId>semver-changelog-markup</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>io.github.sam42r</groupId> <artifactId>semver-release-api</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>io.github.sam42r</groupId> <artifactId>semver-release-github</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>3.9.2</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>3.9.2</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <version>3.9.0</version> <scope>provided</scope> </dependency> <!-- Test --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> <!-- BundleHelper --> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>net.lingala.zip4j</groupId> <artifactId>zip4j</artifactId> <version>2.11.5</version> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <!-- extend parent profile --> <id>create-bundle</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>call-script</id> <phase>install</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <java fork="true" sourcefile="${project.basedir}/src/test/java/io/github/sam42r/semver/util/BundleHelper.java"> <classpath refid="maven.test.classpath"/> <arg value="${project.basedir}"/> <arg value="${project.version}"/> <arg value="${project.basedir}/../central"/> </java> </target> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>${project.groupId}</groupId> <artifactId>${project.artifactId}</artifactId> <version>${project.version}</version> <executions> <execution> <id>self-release</id> <phase>prepare-package</phase> <goals> <goal>semantic-release</goal> </goals> </execution> </executions> <configuration> <scm> <password>${env.SSH_PASSPHRASE}</password> </scm> <analyzer> <specification-name>Gitmoji</specification-name> </analyzer> <release> <publish>true</publish> <password>${env.GITHUB_TOKEN}</password> </release> </configuration> <dependencies> <dependency> <groupId>${project.groupId}</groupId> <artifactId>semver-analyzer-gitmoji</artifactId> <version>${project.version}</version> </dependency> </dependencies> </plugin> </plugins> </build> </profile> </profiles> </project>