Przeglądaj źródła

Update logging pattern to spring

kerry 5 lat temu
rodzic
commit
cfc074b1ad

+ 35 - 0
xxl-job-admin/pom.xml Wyświetl plik

@@ -155,6 +155,41 @@
155 155
                     </execution>
156 156
                 </executions>
157 157
             </plugin>
158
+
159
+            <plugin>
160
+                <groupId>org.apache.maven.plugins</groupId>
161
+                <artifactId>maven-jar-plugin</artifactId>
162
+                <configuration>
163
+                    <archive>
164
+                        <manifest>
165
+                            <addClasspath>true</addClasspath>
166
+                            <classpathPrefix>lib/</classpathPrefix>
167
+                            <mainClass>com.xxl.job.admin.XxlJobAdminApplication</mainClass>
168
+                        </manifest>
169
+                    </archive>
170
+                    <excludes>
171
+                        <exclude>rebel.xml</exclude>
172
+                    </excludes>
173
+                </configuration>
174
+            </plugin>
175
+            <plugin>
176
+                <groupId>org.apache.maven.plugins</groupId>
177
+                <artifactId>maven-dependency-plugin</artifactId>
178
+                <version>3.0.1</version>
179
+                <executions>
180
+
181
+                    <execution>
182
+                        <id>copy-dependencies</id>
183
+                        <phase>package</phase>
184
+                        <goals>
185
+                            <goal>copy-dependencies</goal>
186
+                        </goals>
187
+                        <configuration>
188
+                            <outputDirectory>${project.build.directory}/lib</outputDirectory>
189
+                        </configuration>
190
+                    </execution>
191
+                </executions>
192
+            </plugin>
158 193
         </plugins>
159 194
     </build>
160 195
 

+ 1 - 1
xxl-job-admin/src/main/resources/application.properties Wyświetl plik

@@ -1,5 +1,5 @@
1 1
 ### web
2
-server.port=8080
2
+server.port=8089
3 3
 server.context-path=/xxl-job-admin
4 4
 
5 5
 ### actuator