This repository has been archived by the owner on Apr 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
152 lines (139 loc) · 5.35 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<?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">
<modelVersion>4.0.0</modelVersion>
<groupId>com.tomoncle</groupId>
<artifactId>mxnet-spring-samples</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<!--
*******************************
继承自spring-boot-starter-parent
*******************************
-->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.2.RELEASE</version>
</parent>
<!-- ************ * 开发者信息 * ************ -->
<developers>
<developer>
<id>tomoncle</id>
<name>tomoncle</name>
<email>tom@tomoncle.com</email>
<organization>tomoncle.com</organization>
<organizationUrl>https://www.tomoncle.com</organizationUrl>
<url>https://github.com/tomoncle</url>
</developer>
</developers>
<repositories>
<repository>
<!-- tomoncle's private maven repository. -->
<id>tomoncle repository</id>
<name>tomoncle Repositories</name>
<url>https://github.com/tomoncle/m2/raw/master/repository/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<!-- snapshots repository. -->
<id>tomoncle snapshots</id>
<name>tomoncle snapshots Repositories</name>
<url>https://github.com/tomoncle/m2/raw/master/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<!-- if mac os open this repo config -->
<!-- <repository>-->
<!-- <id>apache.snapshots</id>-->
<!-- <name>Apache Development Snapshot Repository</name>-->
<!-- <url>https://repository.apache.org/content/repositories/snapshots/</url>-->
<!-- <releases>-->
<!-- <enabled>false</enabled>-->
<!-- </releases>-->
<!-- <snapshots>-->
<!-- <enabled>true</enabled>-->
<!-- </snapshots>-->
<!-- </repository>-->
</repositories>
<modules>
<module>mxnet-spring-samples-image-recognition</module>
<module>mxnet-spring-samples-camera-detecte</module>
</modules>
<!--属性版本-->
<properties>
<!-- maven compiler -->
<maven-compiler.version>3.2</maven-compiler.version>
<java.version>1.8</java.version>
<file_encoding>UTF-8</file_encoding>
<surefire.test.skip>true</surefire.test.skip>
<updateReleaseInfo>true</updateReleaseInfo>
<project.build.sourceEncoding>${file_encoding}</project.build.sourceEncoding>
<!--mxnet 插件-->
<mxnet.version>[1.5.0-SNAPSHOT, )</mxnet.version>
<mxnet.hw_type>cpu</mxnet.hw_type>
<mxnet.scalaprofile>2.11</mxnet.scalaprofile>
<!-- spring-boot-config -->
<spring.boot.config.version>2.1.2</spring.boot.config.version>
</properties>
<!--公共依赖-->
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<!--provided表明该包只在编译和测试的时候用-->
<scope>provided</scope>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.tomoncle</groupId>
<artifactId>spring-boot-config-parent</artifactId>
<version>${spring.boot.config.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<!-- 插件配置 -->
<build>
<plugins>
<!-- compiler插件, 设定JDK版本 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<!--<version>${maven-compiler.version}</version>-->
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<!--测试插件-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>${surefire.test.skip}</skipTests>
</configuration>
</plugin>
</plugins>
</build>
</project>