Browse Source

after compile then check the contract, test OK.

tags/1.0.0
zhaoguangwei 6 years ago
parent
commit
7a9d5e5bbf
1 changed files with 24 additions and 0 deletions
  1. +24
    -0
      source/contract/contract-maven-plugin/src/test/resources/project-to-test/pom.xml

+ 24
- 0
source/contract/contract-maven-plugin/src/test/resources/project-to-test/pom.xml View File

@@ -0,0 +1,24 @@
<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>

<groupId>com.jd.blockchain</groupId>
<artifactId>project-to-test</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Test MyMojo</name>

<build>
<plugins>
<plugin>
<artifactId>contract-maven-plugin</artifactId>
<configuration>
<!--<outputDirectory>target/test-harness/project-to-test</outputDirectory>-->
<!-- The defined stubs -->
<project implementation="com.jd.blockchain.ledger.MyProjectStub"/>
<finalName>contract1</finalName>
</configuration>
</plugin>
</plugins>
</build>
</project>

Loading…
Cancel
Save