|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- <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/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>com.jd.blockchain</groupId>
- <artifactId>contract</artifactId>
- <version>1.1.0-SNAPSHOT</version>
- </parent>
- <artifactId>contract-maven-plugin</artifactId>
- <packaging>maven-plugin</packaging>
-
- <properties>
- <maven.version>3.3.9</maven.version>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>com.jd.blockchain</groupId>
- <artifactId>ledger-model</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>com.jd.blockchain</groupId>
- <artifactId>utils-common</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>com.jd.blockchain</groupId>
- <artifactId>sdk-client</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>com.jd.blockchain</groupId>
- <artifactId>tools-keygen</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>com.github.javaparser</groupId>
- <artifactId>javaparser-core</artifactId>
- <version>${javaparser.version}</version>
- </dependency>
-
- <!-- new -->
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-plugin-api</artifactId>
- <version>3.3.9</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-core</artifactId>
- <version>3.3.9</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-artifact</artifactId>
- <version>3.3.9</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-compat</artifactId>
- <version>3.3.9</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.plugin-testing</groupId>
- <artifactId>maven-plugin-testing-harness</artifactId>
- <scope>test</scope>
- <version>3.3.0</version>
- </dependency>
-
- <!-- https://mvnrepository.com/artifact/org.apache.maven.plugin-tools/maven-plugin-annotations -->
- <dependency>
- <groupId>org.apache.maven.plugin-tools</groupId>
- <artifactId>maven-plugin-annotations</artifactId>
- <version>3.6.0</version>
- <scope>provided</scope>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-plugin-plugin</artifactId>
- <version>3.5</version>
- </plugin>
-
- <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> -->
- <!--<artifactId>maven-assembly-plugin</artifactId> -->
- <!--<configuration> -->
- <!--<archive> -->
- <!--<manifest> -->
- <!--<!–这里要替换成jar包main方法所在类 –> -->
- <!--<mainClass>com.jd.blockchain.ContractDeployMojo</mainClass> -->
- <!--</manifest> -->
- <!--</archive> -->
- <!--<descriptorRefs> -->
- <!--<descriptojar-rRef>jar-with-dependencies</descriptojar-rRef> -->
- <!--</descriptorRefs> -->
- <!--</configuration> -->
- <!--<executions> -->
- <!--<execution> -->
- <!--<id>make-assembly</id> <!– this is used for inheritance merges
- –> -->
- <!--<phase>package</phase> <!– 指定在打包节点执行jar包合并操作 –> -->
- <!--<goals> -->
- <!--<goal>single</goal> -->
- <!--</goals> -->
- <!--</execution> -->
- <!--</executions> -->
- <!--</plugin> -->
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>true</skipTests>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>true</skipTests>
- </configuration>
- </plugin>
-
- <!-- 配置Maven插件(mvn jetty:run可以运行项目) -->
- <!--<plugin> -->
- <!--<groupId>org.mortbay.jetty</groupId> -->
- <!--<artifactId>maven-jetty-plugin</artifactId> -->
- <!--<version>6.1.26</version> -->
- <!--<configuration> -->
- <!--<connectors> -->
- <!--<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> -->
- <!--<port>8000</port> -->
- <!--</connector> -->
- <!--</connectors> -->
- <!--</configuration> -->
- <!--</plugin> -->
-
- </plugins>
- </build>
- </project>
|