Skip to content

Commit ee8a00c

Browse files
committed
ci: 🐛 Fix deploy
1 parent 205b1d3 commit ee8a00c

1 file changed

Lines changed: 96 additions & 103 deletions

File tree

pom.xml

Lines changed: 96 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</properties>
1313
<groupId>cc.carm.lib</groupId>
1414
<artifactId>yamlcommentwriter</artifactId>
15-
<version>1.0.0</version>
15+
<version>1.0.1</version>
1616

1717
<name>YAMLCommentWriter</name>
1818
<description>A file writer for yaml configuration with provided comments.</description>
@@ -130,109 +130,102 @@
130130
<goals>deploy</goals>
131131
</configuration>
132132
</plugin>
133-
</plugins>
133+
<plugin>
134+
<groupId>org.apache.maven.plugins</groupId>
135+
<artifactId>maven-javadoc-plugin</artifactId>
136+
<version>3.5.0</version>
137+
<configuration>
138+
<classifier>javadoc</classifier>
139+
<detectJavaApiLink>false</detectJavaApiLink>
140+
<encoding>UTF-8</encoding>
141+
<charset>UTF-8</charset>
142+
<docencoding>UTF-8</docencoding>
143+
<locale>zh_CN</locale>
144+
145+
<includeDependencySources>true</includeDependencySources>
146+
<dependencySourceIncludes>
147+
<dependencySourceInclude>cc.carm.lib:*</dependencySourceInclude>
148+
</dependencySourceIncludes>
149+
</configuration>
150+
<executions>
151+
<execution>
152+
<id>attach-javadocs</id>
153+
<goals>
154+
<goal>jar</goal>
155+
</goals>
156+
</execution>
157+
</executions>
158+
</plugin>
159+
160+
<plugin>
161+
<groupId>org.apache.maven.plugins</groupId>
162+
<artifactId>maven-compiler-plugin</artifactId>
163+
<version>3.11.0</version>
164+
<configuration>
165+
<source>${project.jdk.version}</source>
166+
<target>${project.jdk.version}</target>
167+
<encoding>UTF-8</encoding>
168+
<compilerArgument>-parameters</compilerArgument>
169+
</configuration>
170+
</plugin>
171+
172+
<plugin>
173+
<groupId>org.apache.maven.plugins</groupId>
174+
<artifactId>maven-jar-plugin</artifactId>
175+
<version>3.3.0</version>
176+
</plugin>
177+
178+
<plugin>
179+
<groupId>org.apache.maven.plugins</groupId>
180+
<artifactId>maven-source-plugin</artifactId>
181+
<version>3.2.1</version>
182+
<executions>
183+
<execution>
184+
<phase>package</phase>
185+
<goals>
186+
<goal>jar-no-fork</goal>
187+
</goals>
188+
</execution>
189+
</executions>
190+
</plugin>
191+
192+
<plugin>
193+
<groupId>org.apache.maven.plugins</groupId>
194+
<artifactId>maven-shade-plugin</artifactId>
195+
<version>3.4.1</version>
196+
<executions>
197+
<execution>
198+
<phase>package</phase>
199+
<goals>
200+
<goal>shade</goal>
201+
</goals>
202+
<configuration>
203+
<createDependencyReducedPom>false</createDependencyReducedPom>
204+
</configuration>
205+
</execution>
206+
</executions>
207+
<configuration>
208+
<filters>
209+
<filter>
210+
<artifact>*:*</artifact>
211+
<excludes>
212+
<exclude>META-INF/MANIFEST.MF</exclude>
213+
<exclude>META-INF/*.txt</exclude>
214+
</excludes>
215+
</filter>
216+
</filters>
217+
</configuration>
218+
</plugin>
134219

135-
<pluginManagement>
136-
<plugins>
137-
138-
<plugin>
139-
<groupId>org.apache.maven.plugins</groupId>
140-
<artifactId>maven-javadoc-plugin</artifactId>
141-
<version>3.5.0</version>
142-
<configuration>
143-
<classifier>javadoc</classifier>
144-
<detectJavaApiLink>false</detectJavaApiLink>
145-
<encoding>UTF-8</encoding>
146-
<charset>UTF-8</charset>
147-
<docencoding>UTF-8</docencoding>
148-
<locale>zh_CN</locale>
149-
150-
<includeDependencySources>true</includeDependencySources>
151-
<dependencySourceIncludes>
152-
<dependencySourceInclude>cc.carm.lib:*</dependencySourceInclude>
153-
</dependencySourceIncludes>
154-
</configuration>
155-
<executions>
156-
<execution>
157-
<id>attach-javadocs</id>
158-
<goals>
159-
<goal>jar</goal>
160-
</goals>
161-
</execution>
162-
</executions>
163-
</plugin>
164-
165-
<plugin>
166-
<groupId>org.apache.maven.plugins</groupId>
167-
<artifactId>maven-compiler-plugin</artifactId>
168-
<version>3.11.0</version>
169-
<configuration>
170-
<source>${project.jdk.version}</source>
171-
<target>${project.jdk.version}</target>
172-
<encoding>UTF-8</encoding>
173-
<compilerArgument>-parameters</compilerArgument>
174-
</configuration>
175-
</plugin>
176-
177-
<plugin>
178-
<groupId>org.apache.maven.plugins</groupId>
179-
<artifactId>maven-jar-plugin</artifactId>
180-
<version>3.3.0</version>
181-
</plugin>
182-
183-
<plugin>
184-
<groupId>org.apache.maven.plugins</groupId>
185-
<artifactId>maven-source-plugin</artifactId>
186-
<version>3.2.1</version>
187-
<executions>
188-
<execution>
189-
<phase>package</phase>
190-
<goals>
191-
<goal>jar-no-fork</goal>
192-
</goals>
193-
</execution>
194-
</executions>
195-
</plugin>
196-
197-
<plugin>
198-
<groupId>org.apache.maven.plugins</groupId>
199-
<artifactId>maven-shade-plugin</artifactId>
200-
<version>3.4.1</version>
201-
<executions>
202-
<execution>
203-
<phase>package</phase>
204-
<goals>
205-
<goal>shade</goal>
206-
</goals>
207-
<configuration>
208-
<createDependencyReducedPom>false</createDependencyReducedPom>
209-
</configuration>
210-
</execution>
211-
</executions>
212-
<configuration>
213-
<filters>
214-
<filter>
215-
<artifact>*:*</artifact>
216-
<excludes>
217-
<exclude>META-INF/MANIFEST.MF</exclude>
218-
<exclude>META-INF/*.txt</exclude>
219-
</excludes>
220-
</filter>
221-
</filters>
222-
</configuration>
223-
</plugin>
224-
225-
<plugin>
226-
<groupId>org.apache.maven.plugins</groupId>
227-
<artifactId>maven-surefire-plugin</artifactId>
228-
<version>3.0.0</version>
229-
<configuration>
230-
<useSystemClassLoader>false</useSystemClassLoader>
231-
</configuration>
232-
</plugin>
233-
234-
</plugins>
235-
</pluginManagement>
220+
<plugin>
221+
<groupId>org.apache.maven.plugins</groupId>
222+
<artifactId>maven-surefire-plugin</artifactId>
223+
<version>3.0.0</version>
224+
<configuration>
225+
<useSystemClassLoader>false</useSystemClassLoader>
226+
</configuration>
227+
</plugin>
228+
</plugins>
236229

237230
<resources>
238231
<resource>

0 commit comments

Comments
 (0)