File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9191 </license >
9292 </licenses >
9393
94+ <build >
95+ <pluginManagement >
96+ <plugins >
97+ <plugin >
98+ <groupId >org.apache.maven.plugins</groupId >
99+ <artifactId >maven-source-plugin</artifactId >
100+ <version >3.2.1</version >
101+ <configuration >
102+ <attach >true</attach >
103+ </configuration >
104+ <executions >
105+ <execution >
106+ <phase >compile</phase >
107+ <goals >
108+ <goal >jar</goal >
109+ </goals >
110+ </execution >
111+ </executions >
112+ </plugin >
113+ </plugins >
114+ </pluginManagement >
115+ </build >
116+
94117 <profiles >
118+ <!--<profile >
119+ <id >local</id >
120+ <activation >
121+ <activeByDefault >true</activeByDefault >
122+ </activation >
123+ <properties >
124+ <xxx >yyy</xxx >
125+ </properties >
126+ </profile >-->
95127 <!-- mvn clean deploy -P release -->
96128 <profile >
97129 <id >release</id >
186218 </distributionManagement >
187219 </profile >
188220 </profiles >
189-
190- <build >
191- <plugins >
192- <plugin >
193- <groupId >org.apache.maven.plugins</groupId >
194- <artifactId >maven-source-plugin</artifactId >
195- <version >3.2.1</version >
196- <configuration >
197- <attach >true</attach >
198- </configuration >
199- <executions >
200- <execution >
201- <phase >compile</phase >
202- <goals >
203- <goal >jar</goal >
204- </goals >
205- </execution >
206- </executions >
207- </plugin >
208- <plugin >
209- <groupId >org.apache.maven.plugins</groupId >
210- <artifactId >maven-jar-plugin</artifactId >
211- <configuration >
212- <excludes >
213- <exclude >*.properties</exclude >
214- <exclude >*.xml</exclude >
215- <exclude >*.yml</exclude >
216- <!-- 配置类、启动类等,不打进插件 jar -->
217- <!-- <exclude>we/plugin/demo/DemoApiConfig**</exclude>
218- <exclude>we/plugin/demo/Main**</exclude>-->
219- </excludes >
220- </configuration >
221- </plugin >
222- <!-- <plugin>
223- <groupId>org.springframework.boot</groupId>
224- <artifactId>spring-boot-maven-plugin</artifactId>
225- <executions>
226- <execution>
227- <id>repackage</id>
228- <configuration>
229- <classifier>exec</classifier>
230- </configuration>
231- </execution>
232- </executions>
233- </plugin>-->
234- </plugins >
235- </build >
236221</project >
You can’t perform that action at this time.
0 commit comments