File tree Expand file tree Collapse file tree 3 files changed +32
-7
lines changed Expand file tree Collapse file tree 3 files changed +32
-7
lines changed Original file line number Diff line number Diff line change 4646<tr >
4747<td >0.3.0.0</td ><td >完成读写锁开发,通过测试确定可用</td ><td >2022年1月29日</td >
4848</tr >
49+ <tr >
50+ <td >0.3.0.1</td ><td >修改maven打包方式</td ><td >2022年1月29日</td >
51+ </tr >
4952</table >
Original file line number Diff line number Diff line change 1+ <assembly xmlns =" http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
2+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : schemaLocation =" http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd" >
4+ <!-- TODO: a jarjar format would be better -->
5+ <id >jar-with-dependencies</id >
6+ <formats >
7+ <format >jar</format >
8+ </formats >
9+ <includeBaseDirectory >false</includeBaseDirectory >
10+ <dependencySets >
11+ <dependencySet >
12+ <outputDirectory >/</outputDirectory >
13+ <useProjectArtifact >true</useProjectArtifact >
14+ <unpack >true</unpack >
15+ <scope >runtime</scope >
16+ </dependencySet >
17+ <dependencySet >
18+ <outputDirectory >/</outputDirectory >
19+ <useProjectArtifact >true</useProjectArtifact >
20+ <unpack >true</unpack >
21+ <scope >system</scope >
22+ </dependencySet >
23+ </dependencySets >
24+ </assembly >
Original file line number Diff line number Diff line change 9292 </dependencies >
9393 <!-- Springboot的maven插件-->
9494 <build >
95- <finalName >${project.artifactId} </finalName >
95+ <finalName >${project.artifactId} - ${project.version} </finalName >
9696<!-- <plugins>-->
9797<!-- <plugin>-->
9898<!-- <groupId>org.springframework.boot</groupId>-->
117117 <plugin >
118118 <artifactId >maven-assembly-plugin</artifactId >
119119 <configuration >
120- <appendAssemblyId >false</appendAssemblyId >
121- <descriptorRefs >
122- <descriptorRef >jar-with-dependencies</descriptorRef >
123- </descriptorRefs >
120+ <descriptors >
121+ <descriptor >assembly.xml</descriptor >
122+ </descriptors >
124123 <archive >
125124 <manifest >
126- <!-- 此处指定main方法入口的class -->
127- <!-- <mainClass>com.xxx.Main</mainClass>-->
125+ <!-- 指定入口类 -->
128126 </manifest >
129127 </archive >
130128 </configuration >
You can’t perform that action at this time.
0 commit comments