You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <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>com.jd.blockchain</groupId>
- <artifactId>deployment</artifactId>
- <version>0.9.0-SNAPSHOT</version>
- </parent>
- <artifactId>deployment-peer</artifactId>
-
- <dependencies>
- <dependency>
- <groupId>com.jd.blockchain</groupId>
- <artifactId>peer</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.jd.blockchain</groupId>
- <artifactId>runtime-modular</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.jd.blockchain</groupId>
- <artifactId>runtime-modular-booter</artifactId>
- <version>${project.version}</version>
- </dependency>
- <!-- <dependency> <groupId>com.jd.blockchain</groupId> <artifactId>gateway</artifactId>
- <version>${project.version}</version> </dependency> -->
-
- </dependencies>
-
- <build>
- <plugins>
- <!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId>
- <executions> <execution> <id>copy-dependencies</id> <phase>package</phase>
- <goals> <goal>copy-dependencies</goal> </goals> <configuration> ${project.build.directory}
- class的输出目录不做设置的话默认代表项目根目录的target目录; 也可以使用“自定义文件夹/自定义文件夹 例如:a/b”,也可以使用绝对路径如:“D:\test”
- <outputDirectory>${project.build.directory}/dependencies</outputDirectory>
- <excludeTransitive>false</excludeTransitive> <stripVersion>false</stripVersion>
- <includeScope>runtime</includeScope> </configuration> </execution> </executions>
- </plugin> -->
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <mainClass>com.jd.blockchain.boot.peer.PeerBooter</mainClass>
- <addClasspath>true</addClasspath>
- <classpathPrefix>.</classpathPrefix>
- <useUniqueVersions>false</useUniqueVersions>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- <configuration>
- <finalName>jdchain-peer</finalName>
- <descriptors>
- <descriptor>src/main/resources/assembly.xml</descriptor>
- </descriptors>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- </plugins>
- </build>
- </project>
|