5
5
<modelVersion >4.0.0</modelVersion >
6
6
7
7
<groupId >com.luckypeng.mock</groupId >
8
- <artifactId >mock-java </artifactId >
8
+ <artifactId >mock-parent </artifactId >
9
9
<packaging >pom</packaging >
10
10
<version >1.0-SNAPSHOT</version >
11
+
12
+ <name >mock-java</name >
13
+ <description >A Java version tool of Mock.js</description >
14
+ <url >https://github.com/coalchan/Mock-Java</url >
15
+
16
+ <licenses >
17
+ <license >
18
+ <name >MIT License</name >
19
+ <url >http://www.opensource.org/licenses/mit-license.php</url >
20
+ </license >
21
+ </licenses >
22
+ <developers >
23
+ <developer >
24
+ <id >coalchan</id >
25
+ <name >Coal Chan</name >
26
+ <email >coalchan@gmail.com</email >
27
+ <url >https://github.com/coalchan</url >
28
+ </developer >
29
+ </developers >
30
+ <scm >
31
+ <connection >scm:git:git@github.com:coalchan/Mock-Java.git</connection >
32
+ <developerConnection >scm:git:git@github.com:coalchan/Mock-Java.git</developerConnection >
33
+ <url >https://github.com/coalchan/Mock-Java</url >
34
+ </scm >
35
+
11
36
<modules >
12
37
<module >core</module >
13
38
<module >flink-connector</module >
14
39
</modules >
15
40
16
- <name >mock-java</name >
17
-
18
41
<properties >
19
42
<java .version>1.8</java .version>
20
43
<flink .version>1.7.2</flink .version>
25
48
26
49
<build >
27
50
<plugins >
51
+ <!-- compile -->
28
52
<plugin >
29
53
<groupId >org.apache.maven.plugins</groupId >
30
54
<artifactId >maven-compiler-plugin</artifactId >
36
60
</configuration >
37
61
</plugin >
38
62
39
- <plugin >
40
- <groupId >org.apache.maven.plugins</groupId >
41
- <artifactId >maven-source-plugin</artifactId >
42
- <version >3.0.1</version >
43
- <executions >
44
- <execution >
45
- <id >attach-sources</id >
46
- <goals >
47
- <goal >jar</goal >
48
- </goals >
49
- </execution >
50
- </executions >
51
- </plugin >
52
-
63
+ <!-- javadoc -->
53
64
<plugin >
54
65
<groupId >org.apache.maven.plugins</groupId >
55
66
<artifactId >maven-javadoc-plugin</artifactId >
68
79
</plugin >
69
80
</plugins >
70
81
</build >
82
+
83
+ <profiles >
84
+ <profile >
85
+ <id >release</id >
86
+ <build >
87
+ <plugins >
88
+ <!-- source -->
89
+ <plugin >
90
+ <groupId >org.apache.maven.plugins</groupId >
91
+ <artifactId >maven-source-plugin</artifactId >
92
+ <version >3.0.1</version >
93
+ <executions >
94
+ <execution >
95
+ <id >attach-sources</id >
96
+ <goals >
97
+ <goal >jar-no-fork</goal >
98
+ </goals >
99
+ </execution >
100
+ </executions >
101
+ </plugin >
102
+
103
+ <!-- javadoc -->
104
+ <plugin >
105
+ <groupId >org.apache.maven.plugins</groupId >
106
+ <artifactId >maven-javadoc-plugin</artifactId >
107
+ <version >3.1.0</version >
108
+ <executions >
109
+ <execution >
110
+ <id >attach-javadocs</id >
111
+ <goals >
112
+ <goal >jar</goal >
113
+ </goals >
114
+ </execution >
115
+ </executions >
116
+ <configuration >
117
+ <encoding >UTF-8</encoding >
118
+ </configuration >
119
+ </plugin >
120
+
121
+ <!-- GPG -->
122
+ <plugin >
123
+ <groupId >org.apache.maven.plugins</groupId >
124
+ <artifactId >maven-gpg-plugin</artifactId >
125
+ <version >1.5</version >
126
+ <executions >
127
+ <execution >
128
+ <id >sign-artifacts</id >
129
+ <phase >verify</phase >
130
+ <goals >
131
+ <goal >sign</goal >
132
+ </goals >
133
+ </execution >
134
+ </executions >
135
+ </plugin >
136
+ </plugins >
137
+ </build >
138
+ <distributionManagement >
139
+ <snapshotRepository >
140
+ <id >oss</id >
141
+ <url >https://oss.sonatype.org/content/repositories/snapshots/</url >
142
+ </snapshotRepository >
143
+ <repository >
144
+ <id >oss</id >
145
+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
146
+ </repository >
147
+ </distributionManagement >
148
+ </profile >
149
+ </profiles >
71
150
</project >
0 commit comments