truth-generator-integration-tests-0.1.2-20220711.210840-1.pom
Standalone test that exercise the installed plugin to generate code, and use it in tests.
Checksums
MD5 | cc9a21923f092a426985c249c266b72b |
SHA1 | db8bc22a6809db5551270a28c8ed09fe21368390 |
SHA256 | d9bf2e21667643dc3aa5c0c9dd588d206b3c02717290ce49fec9001c4d88d02d |
SHA512 | d9ae50b94422de9a605da78e0bb89186000e103ec2bb787dad39717c45138d75ef9d2448d3b1a13725bd952187e584ae4332b301aee5913cfb43546982e80308 |
POM
<?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.stubbs.truth</groupId> <artifactId>truth-generator-parent</artifactId> <version>0.1.2-SNAPSHOT</version> </parent> <name>${project.name.root} Tests</name> <artifactId>truth-generator-integration-tests</artifactId> <description>Standalone test that exercise the installed plugin to generate code, and use it in tests.</description> <build> <plugins> <plugin> <!-- mvn io.stubbs.truth:truth-generator-maven-plugin:generate --> <groupId>io.stubbs.truth</groupId> <artifactId>truth-generator-maven-plugin</artifactId> <version>${project.version}</version> <executions> <execution> <goals> <goal>generate</goal> </goals> </execution> </executions> <configuration> <cleanTargetDir>true</cleanTargetDir> <useHas>true</useHas> <classes> <class>io.stubbs.truth.generator.testModel.MyEmployee</class> <class>io.stubbs.truth.generator.example.Car</class> </classes> <legacyClasses> <param>io.stubbs.truth.generator.testing.legacy.NonBeanLegacy</param> </legacyClasses> <entryPointClassPackage>io.stubbs.truth.generator.integrationTests</entryPointClassPackage> </configuration> </plugin> <plugin> <!-- TODO remove? Shouldn't be needed - can truth plugin perform this? --> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>3.3.0</version> <executions> <execution> <id>add-test-source</id> <phase>generate-test-sources</phase> <goals> <goal>add-test-source</goal> </goals> <configuration> <sources> <source>target/generated-test-sources/truth-assertions-managed</source> <source>target/generated-test-sources/truth-assertions-templates</source> </sources> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <!-- Internal --> <dependency> <groupId>io.stubbs.truth</groupId> <artifactId>truth-generator-api</artifactId> <type>jar</type> <scope>test</scope> </dependency> <dependency> <!-- Transitive dependency of truth-generator:test-jar --> <groupId>io.stubbs.truth</groupId> <artifactId>truth-generator</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.stubbs.truth</groupId> <artifactId>truth-generator</artifactId> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.12.0</version> </dependency> <!-- External --> <!-- Testing --> <dependency> <groupId>uk.co.jemos.podam</groupId> <artifactId>podam</artifactId> <scope>test</scope> </dependency> </dependencies> </project>