example-sdkg-test
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.fastjrun.codeg.example</groupId> <artifactId>example-sdkg-test</artifactId> <version>5.0.3</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright (C) 2019 Fastjrun, Inc. All Rights Reserved. --> <project 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" xmlns="http://maven.apache.org/POM/4.0.0"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.fastjrun.codeg.example</groupId> <artifactId>example-sdkg</artifactId> <version>5.0.3</version> </parent> <artifactId>example-sdkg-test</artifactId> <name>Example SDKG Test</name> <dependencies> <dependency> <groupId>com.fastjrun.codeg</groupId> <artifactId>base-sdkg-test</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.fastjrun.codeg</groupId> <artifactId>sdkg-helper</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>com.fastjrun.codeg.example</groupId> <artifactId>example-sdkg-generator</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> </dependency> <dependency> <!-- 桥接:告诉Slf4j使用Log4j2 --> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-slf4j-impl</artifactId> </dependency> <dependency> <!-- 桥接:告诉commons logging使用Log4j2 --> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-jcl</artifactId> </dependency> </dependencies> <build> <testResources> <testResource> <directory>src/test/resources</directory> <includes> <include>testng.xml</include> </includes> <filtering>true</filtering> </testResource> <testResource> <directory>src/test/resources</directory> <includes> <include>testdata/*.yaml</include> <include>log4j2.xml</include> </includes> </testResource> </testResources> </build> <profiles> <profile> <id>unitTest</id> <properties> <envName>unitTest</envName> <maven.test.skip>false</maven.test.skip> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skipTests>false</skipTests> <testFailureIgnore>true</testFailureIgnore> <reuseForks>false</reuseForks> <!--suppress UnresolvedMavenProperty --> <argLine>${argLine} -Xmx1024m -Dfile.encoding=UTF-8 -Djava.security.egd=file:/dev/./urandom </argLine> <workingDirectory>../</workingDirectory> <suiteXmlFiles> <suiteXmlFile>${project.build.testOutputDirectory}/testng.xml</suiteXmlFile> </suiteXmlFiles> <reportsDirectory>${project.basedir}/../target/surefire-reports</reportsDirectory> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <executions> <execution> <id>default-prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> <configuration> <append>true</append> <propertyName>argLine</propertyName> </configuration> </execution> <execution> <id>default</id> <phase>verify</phase> <goals> <goal>report-aggregate</goal> </goals> <configuration> <outputDirectory>${project.basedir}/../target/site/jacoco</outputDirectory> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <properties> <maven.install.skip>true</maven.install.skip> <maven.deploy.skip>true</maven.deploy.skip> </properties> </project>