truth-generator-maven-plugin-0.1-20220331.141653-28.pom
Checksums
MD5
|
8f16f87a525e59e32de406c35fd74343
|
SHA1
|
7682617cc0e1dd8d3dea09cd906c4cce8d8f8520
|
SHA256
|
d314a73cc722e6e5738f19a49e618fe2491d7732ea9962619b1edd80c58e9829
|
SHA512
|
89a593c5c5baaac07b9613365a53c2e18daa773ae0ca82c7d5197d456e437a42cf228df592bb8075f1adb73f51378cd563e0146fae34465e786564083f3a1c35
|
POM
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>io.stubbs.truth</groupId>
<artifactId>truth-generator-parent</artifactId>
<version>0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>maven-plugin</packaging>
<!-- maven naming conventions https://maven.apache.org/guides/plugin/guide-java-plugin-development.html -->
<artifactId>truth-generator-maven-plugin</artifactId>
<name>${project.name.root} Maven Plugin</name>
<dependencies>
<!-- internal -->
<dependency>
<groupId>io.stubbs.truth</groupId>
<artifactId>truth-generator</artifactId>
</dependency>
<dependency>
<groupId>io.stubbs.truth</groupId>
<artifactId>truth-generator</artifactId>
<scope>test</scope>
<type>test-jar</type>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<!-- Maven -->
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>${maven.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>${maven.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-artifact</artifactId>
<version>${maven.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-compat</artifactId>
<version>${maven.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>3.6.4</version>
<scope>provided</scope>
</dependency>
<!-- Testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-testing</groupId>
<artifactId>maven-plugin-testing-harness</artifactId>
<version>3.3.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.6.4</version>
<configuration>
<!-- <goalPrefix>maven-archetype-plugin</goalPrefix> -->
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
<goalPrefix>truth</goalPrefix>
</configuration>
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>mojo-descriptor</id>-->
<!-- <goals>-->
<!-- <goal>descriptor</goal>-->
<!-- </goals>-->
<!-- <phase>compile</phase>-->
<!-- </execution>-->
<!-- <execution>-->
<!-- <id>help-goal</id>-->
<!-- <goals>-->
<!-- <goal>helpmojo</goal>-->
<!-- </goals>-->
<!-- <phase>compile</phase>-->
<!-- </execution>-->
<!-- </executions>-->
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>run-its</id>
<!-- <activation>-->
<!-- <activeByDefault>true</activeByDefault>-->
<!-- </activation>-->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<configuration>
<debug>true</debug>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<pomIncludes>
<pomInclude>*/pom.xml</pomInclude>
</pomIncludes>
<postBuildHookScript>verify</postBuildHookScript>
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
<settingsFile>src/it/settings.xml</settingsFile>
<goals>
<goal>clean</goal>
<goal>test-compile</goal>
</goals>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>install</goal>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>