<?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"> <parent> <artifactId>contract</artifactId> <groupId>com.jd.blockchain</groupId> <version>0.8.3.RELEASE</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>contract-compile</artifactId> <dependencies> <dependency> <groupId>com.jd.blockchain</groupId> <artifactId>contract-model</artifactId> <version>${project.version}</version> <scope>provided</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.8</source> <target>1.8</target> <encoding>UTF-8</encoding> <optimize>false</optimize> <debug>true</debug> <showDeprecation>false</showDeprecation> <showWarnings>false</showWarnings> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.5</version> <configuration> <!--<includes>--> <!--<include>**/*Test.java</include>--> <!--</includes>--> <skipTests>true</skipTests> </configuration> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <finalName>contract</finalName> <appendAssemblyId>false</appendAssemblyId> <archive> <manifest> <mainClass>com.jd.blockchain.contract.AssetContract2</mainClass> </manifest> </archive> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> </configuration> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.jd.blockchain</groupId> <artifactId>contract-maven-plugin</artifactId> <version>${project.version}</version> <!--<version>0.8.2-SNAPSHOT</version>--> <!--<configuration>--> <!--<config>${project.basedir}/src/main/resources/config.properties</config>--> <!--</configuration>--> <executions> <execution> <id>make-assembly</id> <phase>process-sources</phase> <goals> <goal>checkImports</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>3.0.2</version> <executions> <execution> <id>default-jar</id> <phase>none</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>2.8.2</version> <configuration> <skip>true</skip> </configuration> </plugin> </plugins> </build> </project>