File tree Expand file tree Collapse file tree 6 files changed +32
-10
lines changed
service-archetype/src/main/resources/archetype-resources Expand file tree Collapse file tree 6 files changed +32
-10
lines changed Original file line number Diff line number Diff line change 184
184
</descriptorRefs >
185
185
<finalName >${project.artifactId} -${project.version} -artifact</finalName >
186
186
<appendAssemblyId >false</appendAssemblyId >
187
+ <!-- Do not use the produced artifact jar file as a main jar
188
+ i.e. do not install it in the local repo -->
189
+ <attach >false</attach >
187
190
<archive >
188
191
<manifestEntries >
189
192
<Plugin-Id >${project.groupId} :${project.artifactId} :${project.version} </Plugin-Id >
Original file line number Diff line number Diff line change 87
87
<finalName >${project.artifactId} -artifact</finalName >
88
88
<appendAssemblyId >false</appendAssemblyId >
89
89
<attach >false</attach >
90
+ <!-- Do not use the produced artifact jar file as a main jar
91
+ i.e. do not install it in the local repo -->
92
+ <attach >false</attach >
90
93
<archive >
91
94
<manifestEntries >
92
95
<Plugin-Id >${project.groupId} :${project.artifactId} :${project.version} </Plugin-Id >
Original file line number Diff line number Diff line change 16
16
<description >
17
17
A module providing integration tests for Core and Time Oracle modules that require
18
18
a node running a service. Such tests cannot be written using plain MemoryDb, hence use
19
- a testkit.
19
+ the TestKit.
20
+ This module is not supposed to have sources and produce a jar file; it's created for
21
+ integration tests execution during the project build.
20
22
</description >
21
23
22
24
<properties >
61
63
<build >
62
64
<plugins >
63
65
<plugin >
64
- <groupId >org.apache.maven.plugins</groupId >
65
66
<artifactId >maven-compiler-plugin</artifactId >
66
67
</plugin >
67
68
69
+ <plugin ><!-- Do not create an empty Jar-->
70
+ <artifactId >maven-jar-plugin</artifactId >
71
+ <configuration >
72
+ <skipIfEmpty >true</skipIfEmpty >
73
+ </configuration >
74
+ </plugin >
75
+
76
+ <plugin ><!-- Do not install Jar-->
77
+ <artifactId >maven-install-plugin</artifactId >
78
+ <configuration >
79
+ <skip >true</skip >
80
+ </configuration >
81
+ </plugin >
82
+
68
83
<plugin >
69
84
<artifactId >maven-surefire-plugin</artifactId >
70
85
<configuration >
77
92
</plugin >
78
93
79
94
<plugin >
80
- <groupId >org.apache.maven.plugins</groupId >
81
95
<artifactId >maven-checkstyle-plugin</artifactId >
82
96
<configuration >
83
97
<configLocation >${project.parent.basedir} /../checkstyle.xml</configLocation >
87
101
88
102
<!-- Skip the deployment of internal module as it is inherited from parent pom -->
89
103
<plugin >
90
- <groupId >org.apache.maven.plugins</groupId >
91
104
<artifactId >maven-deploy-plugin</artifactId >
92
105
<configuration >
93
106
<skip >true</skip >
Original file line number Diff line number Diff line change 51
51
52
52
<plugin ><!-- Do not install Jar-->
53
53
<artifactId >maven-install-plugin</artifactId >
54
- <executions >
55
- <execution >
56
- <id >default-install</id >
57
- <phase />
58
- </execution >
59
- </executions >
54
+ <configuration >
55
+ <skip >true</skip >
56
+ </configuration >
60
57
</plugin >
61
58
62
59
<plugin >
Original file line number Diff line number Diff line change 207
207
</descriptorRefs >
208
208
<finalName >${project.artifactId} -${project.version} -artifact</finalName >
209
209
<appendAssemblyId >false</appendAssemblyId >
210
+ <!-- Do not use the produced artifact jar file as a main jar
211
+ i.e. do not install it in the local repo -->
212
+ <attach >false</attach >
210
213
<archive >
211
214
<manifestEntries >
212
215
<Plugin-Id >${project.groupId} :${project.artifactId} :${project.version} </Plugin-Id >
Original file line number Diff line number Diff line change 142
142
</descriptorRefs >
143
143
<finalName >${project.artifactId} -${project.version} -artifact</finalName >
144
144
<appendAssemblyId >false</appendAssemblyId >
145
+ <!-- Do not use the produced artifact jar file as a main jar
146
+ i.e. do not install it in the local repo -->
147
+ <attach >false</attach >
145
148
<archive >
146
149
<manifestEntries >
147
150
<Plugin-Id >${project.groupId} :${project.artifactId} :${project.version} </Plugin-Id >
You can’t perform that action at this time.
0 commit comments