Maven plugin for copying dependencies to WEB-INF/lib

Maven依赖打包配置
本文介绍了一种使用Maven依赖插件将项目依赖项自动复制到指定目录的方法。通过配置<plugin>标签,设置groupId、artifactId及version等属性,并定义执行目标和参数,确保依赖文件正确地部署于WebContent/WEB-INF/lib路径下。

<plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-dependency-plugin</artifactId>
	<version>2.1</version>
	<executions>
		<execution>
			<id>copy-dependencies</id>
			<phase>process-sources</phase>
			<goals>
				<goal>copy-dependencies</goal>
			</goals>
			<configuration>
				<outputDirectory>${basedir}/WebContent/WEB-INF/lib</outputDirectory>
				<overWriteReleases>false</overWriteReleases>
				<overWriteSnapshots>false</overWriteSnapshots>
				<overWriteIfNewer>true</overWriteIfNewer>
				<includeScope>compile</includeScope>
			</configuration>
		</execution>
	</executions>
</plugin>
 
[root@yfw ~]# cd /opt/openfire [root@yfw openfire]# cd ~ [root@yfw ~]# mkdir -p openfire-plugins/restapi-plugin/src/main/{java,resources} [root@yfw ~]# cd openfire-plugins/restapi-plugin [root@yfw restapi-plugin]# cat > pom.xml << 'EOF' > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > > <groupId>com.example.openfire.plugins</groupId> > <artifactId>restapi-plugin</artifactId> > <version>1.0.0-SNAPSHOT</version> > <packaging>jar</packaging> > > <name>REST API Plugin</name> > <description>A simple Openfire plugin with REST support</description> > > <properties> > <maven.compiler.source>11</maven.compiler.source> > <maven.compiler.target>11</maven.compiler.target> > <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> > </properties> > > <dependencies> > <!-- 核心依赖:Openfire 的 xmppserver --> > <dependency> > <groupId>org.igniterealtime.openfire</groupId> > <artifactId>xmppserver</artifactId> > <version>4.9.2</version> > <scope>provided</scope> > </dependency> > </dependencies> > > <build> > <finalName>restapi-plugin-assembly</finalName> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <version>3.11.0</version> > <configuration> > <source>11</source> > <target>11</target> > </configuration> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-jar-plugin</artifactId> > <version>3.3.0</version> > <configuration> > <archive> > <manifestEntries> > <Openfire-Plugin>true</Openfire-Plugin> > </manifestEntries> > </archive> > </configuration> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-assembly-plugin</artifactId> > <version>3.6.0</version> > <executions> > <execution> > <phase>package</phase> > <goals> > <goal>single</goal> > </goals> > </execution> > </executions> > <configuration> > <descriptorRefs> > <descriptorRef>jar-with-dependencies</descriptorRef> > </descriptorRefs> > <archive> > <manifestEntries> > <Openfire-Plugin>true</Openfire-Plugin> > </manifestEntries> > </archive> > <appendAssemblyId>false</appendAssemblyId> > </configuration> > </plugin> > </plugins> > </build> > </project> > EOF [root@yfw restapi-plugin]# cat > src/main/resources/plugin.xml << 'EOF' > <?xml version="1.0" encoding="UTF-8"?> > <plugin> > <className>com.example.restapi.RestApiPlugin</className> > <name>REST API Plugin</name> > <description>Provides REST APIs for external integration.</description> > <author>Your Name</author> > <version>1.0.0</version> > <date>2025-10-03</date> > <minServerVersion>4.9.2</minServerVersion> > </plugin> > EOF [root@yfw restapi-plugin]# mkdir -p src/main/java/com/example/restapi [root@yfw restapi-plugin]# cat > src/main/java/com/example/restapi/RestApiPlugin.java << 'EOF' > package com.example.restapi; > > import org.jivesoftware.openfire.plugin.Plugin; > import org.jivesoftware.openfire.plugin.PluginManager; > import java.io.File; > > public class RestApiPlugin implements Plugin { > @Override > public void initializePlugin(PluginManager manager, File pluginDirectory) { > System.out.println("✅ REST API Plugin 已成功加载!"); > } > > @Override > public void destroyPlugin() { > System.out.println("🛑 REST API Plugin 已卸载。"); > } > } > EOF [root@yfw restapi-plugin]# mvn install:install-file \ > -Dfile=/opt/openfire/lib/xmppserver-4.9.2.jar \ > -DgroupId=org.igniterealtime.openfire \ > -DartifactId=xmppserver \ > -Dversion=4.9.2 \ > -Dpackaging=jar \ > -DgeneratePom=true [INFO] Scanning for projects... Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/3.3.0/maven-jar-plugin-3.3.0.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/3.3.0/maven-jar-plugin-3.3.0.pom (6.8 kB at 5.6 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/37/maven-plugins-37.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/37/maven-plugins-37.pom (9.9 kB at 19 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/3.3.0/maven-jar-plugin-3.3.0.jar Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-jar-plugin/3.3.0/maven-jar-plugin-3.3.0.jar (27 kB at 54 kB/s) [INFO] [INFO] ------------< com.example.openfire.plugins:restapi-plugin >------------- [INFO] Building REST API Plugin 1.0.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ restapi-plugin --- [INFO] Installing /opt/openfire/lib/xmppserver-4.9.2.jar to /root/.m2/repository/org/igniterealtime/openfire/xmppserver/4.9.2/xmppserver-4.9.2.jar [INFO] Installing /tmp/mvninstall14026972927602741505.pom to /root/.m2/repository/org/igniterealtime/openfire/xmppserver/4.9.2/xmppserver-4.9.2.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.782 s [INFO] Finished at: 2025-10-03T01:59:45+08:00 [INFO] ------------------------------------------------------------------------ [root@yfw restapi-plugin]# mvn clean package [INFO] Scanning for projects... [INFO] [INFO] ------------< com.example.openfire.plugins:restapi-plugin >------------- [INFO] Building REST API Plugin 1.0.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ restapi-plugin --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ restapi-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ restapi-plugin --- Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/3.3.4/maven-shared-utils-3.3.4.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/3.3.4/maven-shared-utils-3.3.4.pom (5.8 kB at 4.7 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/34/maven-shared-components-34.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-components/34/maven-shared-components-34.pom (5.1 kB at 11 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/commons-io/commons-io/2.6/commons-io-2.6.pom Downloaded from central: https://repo.maven.apache.org/maven2/commons-io/commons-io/2.6/commons-io-2.6.pom (14 kB at 31 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/1.1.2/plexus-java-1.1.2.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/1.1.2/plexus-java-1.1.2.pom (5.0 kB at 9.9 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-languages/1.1.2/plexus-languages-1.1.2.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-languages/1.1.2/plexus-languages-1.1.2.pom (4.1 kB at 8.3 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/9.4/asm-9.4.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/9.4/asm-9.4.pom (2.4 kB at 5.4 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0.3/qdox-2.0.3.pom Downloaded from central: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0.3/qdox-2.0.3.pom (17 kB at 38 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.13.0/plexus-compiler-api-2.13.0.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.13.0/plexus-compiler-api-2.13.0.pom (1.1 kB at 2.3 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler/2.13.0/plexus-compiler-2.13.0.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler/2.13.0/plexus-compiler-2.13.0.pom (8.4 kB at 17 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/10.0/plexus-components-10.0.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/10.0/plexus-components-10.0.pom (2.7 kB at 5.3 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.5.0/plexus-utils-3.5.0.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.5.0/plexus-utils-3.5.0.pom (8.0 kB at 18 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.13.0/plexus-compiler-manager-2.13.0.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.13.0/plexus-compiler-manager-2.13.0.pom (1.1 kB at 2.3 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/2.1.1/plexus-component-annotations-2.1.1.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/2.1.1/plexus-component-annotations-2.1.1.pom (770 B at 1.6 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-containers/2.1.1/plexus-containers-2.1.1.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-containers/2.1.1/plexus-containers-2.1.1.pom (6.0 kB at 13 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/6.5/plexus-6.5.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/6.5/plexus-6.5.pom (26 kB at 56 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.13.0/plexus-compiler-javac-2.13.0.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.13.0/plexus-compiler-javac-2.13.0.pom (1.2 kB at 2.8 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compilers/2.13.0/plexus-compilers-2.13.0.pom Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compilers/2.13.0/plexus-compilers-2.13.0.pom (1.3 kB at 2.7 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/3.3.4/maven-shared-utils-3.3.4.jar Downloading from central: https://repo.maven.apache.org/maven2/commons-io/commons-io/2.6/commons-io-2.6.jar Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/1.1.2/plexus-java-1.1.2.jar Downloading from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/9.4/asm-9.4.jar Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-utils/3.3.4/maven-shared-utils-3.3.4.jar (153 kB at 228 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0.3/qdox-2.0.3.jar Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar (4.2 kB at 4.6 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.13.0/plexus-compiler-api-2.13.0.jar Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-java/1.1.2/plexus-java-1.1.2.jar (55 kB at 49 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.5.0/plexus-utils-3.5.0.jar Downloaded from central: https://repo.maven.apache.org/maven2/org/ow2/asm/asm/9.4/asm-9.4.jar (122 kB at 91 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.13.0/plexus-compiler-manager-2.13.0.jar Downloaded from central: https://repo.maven.apache.org/maven2/commons-io/commons-io/2.6/commons-io-2.6.jar (215 kB at 154 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.13.0/plexus-compiler-javac-2.13.0.jar Downloaded from central: https://repo.maven.apache.org/maven2/com/thoughtworks/qdox/qdox/2.0.3/qdox-2.0.3.jar (334 kB at 239 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-api/2.13.0/plexus-compiler-api-2.13.0.jar (27 kB at 19 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-manager/2.13.0/plexus-compiler-manager-2.13.0.jar (4.7 kB at 2.5 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-compiler-javac/2.13.0/plexus-compiler-javac-2.13.0.jar (23 kB at 12 kB/s) Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.5.0/plexus-utils-3.5.0.jar (267 kB at 133 kB/s) [INFO] Changes detected - recompiling the module! :source [INFO] Compiling 1 source file with javac [debug target 11] to target/classes [INFO] ------------------------------------------------------------- [WARNING] COMPILATION WARNING : [INFO] ------------------------------------------------------------- [WARNING] system modules path not set in conjunction with -source 11 [INFO] 1 warning [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /root/openfire-plugins/restapi-plugin/src/main/java/com/example/restapi/RestApiPlugin.java:[3,40] package org.jivesoftware.openfire.plugin does not exist [ERROR] /root/openfire-plugins/restapi-plugin/src/main/java/com/example/restapi/RestApiPlugin.java:[4,40] package org.jivesoftware.openfire.plugin does not exist [ERROR] /root/openfire-plugins/restapi-plugin/src/main/java/com/example/restapi/RestApiPlugin.java:[7,39] cannot find symbol symbol: class Plugin [ERROR] /root/openfire-plugins/restapi-plugin/src/main/java/com/example/restapi/RestApiPlugin.java:[9,34] cannot find symbol symbol: class PluginManager location: class com.example.restapi.RestApiPlugin [ERROR] /root/openfire-plugins/restapi-plugin/src/main/java/com/example/restapi/RestApiPlugin.java:[8,5] method does not override or implement a method from a supertype [ERROR] /root/openfire-plugins/restapi-plugin/src/main/java/com/example/restapi/RestApiPlugin.java:[13,5] method does not override or implement a method from a supertype [INFO] 6 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 12.408 s [INFO] Finished at: 2025-10-03T02:00:44+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project restapi-plugin: Compilation failure: Compilation failure: [ERROR] /root/openfire-plugins/restapi-plugin/src/main/java/com/example/restapi/RestApiPlugin.java:[3,40] package org.jivesoftware.openfire.plugin does not exist [ERROR] /root/openfire-plugins/restapi-plugin/src/main/java/com/example/restapi/RestApiPlugin.java:[4,40] package org.jivesoftware.openfire.plugin does not exist [ERROR] /root/openfire-plugins/restapi-plugin/src/main/java/com/example/restapi/RestApiPlugin.java:[7,39] cannot find symbol [ERROR] symbol: class Plugin [ERROR] /root/openfire-plugins/restapi-plugin/src/main/java/com/example/restapi/RestApiPlugin.java:[9,34] cannot find symbol [ERROR] symbol: class PluginManager [ERROR] location: class com.example.restapi.RestApiPlugin [ERROR] /root/openfire-plugins/restapi-plugin/src/main/java/com/example/restapi/RestApiPlugin.java:[8,5] method does not override or implement a method from a supertype [ERROR] /root/openfire-plugins/restapi-plugin/src/main/java/com/example/restapi/RestApiPlugin.java:[13,5] method does not override or implement a method from a supertype [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [root@yfw restapi-plugin]#
最新发布
10-04
[root@yfw ~]# cd /opt/openfire [root@yfw openfire]# ls -l src/main/resources/plugin.xml -rw-r--r-- 1 root root 453 Oct 3 01:42 src/main/resources/plugin.xml [root@yfw openfire]# cd ~/openfire-plugins/restapi-plugin [root@yfw restapi-plugin]# mkdir -p src/main/resources [root@yfw restapi-plugin]# cat > src/main/resources/plugin.xml << 'EOF' > <?xml version="1.0" encoding="UTF-8"?> > <plugin> > <className>com.example.restapi.RestApiPlugin</className> > <name>REST API Plugin</name> > <description>A simple plugin to expose REST APIs.</description> > <version>1.0.0</version> > <author>Your Name</author> > </plugin> > EOF [root@yfw restapi-plugin]# ls -l src/main/resources/plugin.xml -rw-r--r-- 1 root root 280 Oct 3 02:12 src/main/resources/plugin.xml [root@yfw restapi-plugin]# mvn clean package [INFO] Scanning for projects... [INFO] [INFO] ------------< com.example.openfire.plugins:restapi-plugin >------------- [INFO] Building REST API Plugin 1.0.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ restapi-plugin --- [INFO] Deleting /root/openfire-plugins/restapi-plugin/target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ restapi-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ restapi-plugin --- [INFO] Changes detected - recompiling the module! :source [INFO] Compiling 1 source file with javac [debug target 11] to target/classes [WARNING] system modules path not set in conjunction with -source 11 [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ restapi-plugin --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /root/openfire-plugins/restapi-plugin/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ restapi-plugin --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ restapi-plugin --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ restapi-plugin --- [INFO] Building jar: /root/openfire-plugins/restapi-plugin/target/restapi-plugin-assembly.jar [INFO] [INFO] --- maven-assembly-plugin:3.6.0:single (default) @ restapi-plugin --- [WARNING] Artifact: com.example.openfire.plugins:restapi-plugin:jar:1.0.0-SNAPSHOT references the same file as the assembly destination file. Moving it to a temporary location for inclusion. [INFO] Building jar: /root/openfire-plugins/restapi-plugin/target/restapi-plugin-assembly.jar [WARNING] Configuration option 'appendAssemblyId' is set to false. Instead of attaching the assembly file: /root/openfire-plugins/restapi-plugin/target/restapi-plugin-assembly.jar, it will become the file for main project artifact. NOTE: If multiple descriptors or descriptor-formats are provided for this project, the value of this file will be non-deterministic! [WARNING] Replacing pre-existing project main-artifact file: /root/openfire-plugins/restapi-plugin/target/archive-tmp/restapi-plugin-assembly.jar with assembly file: /root/openfire-plugins/restapi-plugin/target/restapi-plugin-assembly.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.697 s [INFO] Finished at: 2025-10-03T02:13:26+08:00 [INFO] ------------------------------------------------------------------------ [root@yfw restapi-plugin]# cp target/restapi-plugin-assembly.jar /opt/openfire/plugins/ cp: overwrite '/opt/openfire/plugins/restapi-plugin-assembly.jar'? yes [root@yfw restapi-plugin]# tail -f /opt/openfire/logs/openfire.log 2025.10.03 02:13:58.800 WARN [PluginMonitorTask-2]: org.jivesoftware.openfire.container.PluginManager - No plugin loader found for 'restapi-plugin-assembly'. 2025.10.03 02:14:02.091 ERROR [PluginMonitorExec-2]: org.jivesoftware.openfire.container.PluginManager - An exception occurred while loading plugin 'restapi-plugin-assembly': java.lang.NullPointerException: null at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java:582) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:380) [xmppserver-4.9.2.jar:4.9.2] at org.jivesoftware.openfire.container.PluginMonitor$MonitorTask$4.call(PluginMonitor.java:368) [xmppserver-4.9.2.jar:4.9.2] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:829) [?:?]
10-04
PS D:\Hab_znaisc_v4_java\deepseekdemo-0704> mvn clean install -DskipTests [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.huaanbao:framework:jar:1.0.0-SNAPSHOT [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.projectlombok:lombok:jar -> duplicate declaration of version 1.18.36 @ com.huaanbao:framework:${revision}, D:\Hab_znaisc_v4_java\deepseekdemo-0704\framework\pom.xml, line 290, column 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] contract-intelligence [pom] [INFO] framework [jar] [INFO] admin [jar] [INFO] types [jar] [INFO] biz [jar] [INFO] start [jar] [INFO] common-dependencies [pom] [INFO] common [pom] [INFO] common-generator [jar] [INFO] [INFO] -----------------------< com.huaanbao:contract >------------------------ [INFO] Building contract-intelligence 1.0.0-SNAPSHOT [1/9] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ contract --- [INFO] [INFO] --- install:3.1.2:install (default-install) @ contract --- [INFO] Installing D:\Hab_znaisc_v4_java\deepseekdemo-0704\pom.xml to D:\software\apache-maven-3.6.0\repository\com\huaanbao\contract\1.0.0-SNAPSHOT\contract-1.0.0-SNAPSHOT.pom [INFO] [INFO] -----------------------< com.huaanbao:framework >----------------------- [INFO] Building framework 1.0.0-SNAPSHOT [2/9] [INFO] from framework\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] 1 problem was encountered while building the effective model for org.javassist:javassist:jar:3.21.0-GA during dependency collection step for project (use -X to see details) [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ framework --- [INFO] Deleting D:\Hab_znaisc_v4_java\deepseekdemo-0704\framework\target [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ framework --- [INFO] Copying 43 resources from src\main\resources to target\classes [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\framework\src\main\resources\dev [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\framework\src\main\resources\dev [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\framework\src\main\resources\dev [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ framework --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 361 source files with javac [debug target 17] to target\classes [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/helpdoc/domain/form/HelpDocUpdateForm.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/dict/domain/form/DictKeyUpdateForm.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/config/domain/ConfigUpdateForm.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/heartbeat/domain/HeartBeatRecordQueryForm.java:[16,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/dict/domain/form/DictValueUpdateForm.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/securityprotect/domain/LoginFailQueryForm.java:[17,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/feedback/domain/FeedbackQueryForm.java:[17,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/file/domain/form/FileQueryForm.java:[19,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/loginlog/domain/LoginLogQueryForm.java:[14,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/helpdoc/domain/form/HelpDocQueryForm.java:[16,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/codegenerator/domain/form/TableQueryForm.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/changelog/domain/form/ChangeLogQueryForm.java:[20,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/job/api/domain/SmartJobLogQueryForm.java:[16,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/operatelog/domain/OperateLogQueryForm.java:[14,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/config/domain/ConfigQueryForm.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/helpdoc/domain/form/HelpDocCatalogUpdateForm.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/dict/domain/form/DictKeyQueryForm.java:[14,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/helpdoc/domain/form/HelpDocViewRecordQueryForm.java:[16,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/message/domain/MessageQueryForm.java:[19,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/job/api/domain/SmartJobQueryForm.java:[17,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/dict/domain/form/DictValueQueryForm.java:[16,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/datatracer/domain/form/DataTracerQueryForm.java:[18,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/serialnumber/domain/SerialNumberRecordQueryForm.java:[16,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/config/RestTemplateConfig.java:[75,12] org.springframework.http.client 中的 org.springframework.http.client.OkHttp3ClientHttpRequestFactory 已过时, 且标记为待删除 [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/config/RestTemplateConfig.java:[75,12] org.springframework.http.client 中的 org.springframework.http.client.OkHttp3ClientHttpRequestFactory 已过时, 且标记为待删除 [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/config/RestTemplateConfig.java:[75,12] org.springframework.http.client 中的 org.springframework.http.client.OkHttp3ClientHttpRequestFactory 已过时, 且标记为待删除 [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/config/RestTemplateConfig.java:[75,12] org.springframework.http.client 中的 org.springframework.http.client.OkHttp3ClientHttpRequestFactory 已过时, 且标记为待删除 [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/config/RestTemplateConfig.java:[75,12] org.springframework.http.client 中的 org.springframework.http.client.OkHttp3ClientHttpRequestFactory 已过时, 且标记为待删除 [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/config/RestTemplateConfig.java:[76,20] org.springframework.http.client 中的 org.springframework.http.client.OkHttp3ClientHttpRequestFactory 已过时, 且标记为待删除 [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/module/support/serialnumber/service/impl/SerialNumberInternService.java:[53,9] 尝试在基于值的类的实例上同步 [INFO] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/common/util/SmartBeanUtil.java: 某些输入文件使用或覆盖了已过时的 API。 [INFO] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/common/util/SmartBeanUtil.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 [INFO] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/common/util/ExcelUtil.java: 某些输入文件使用了未经检查或不安全的操作。 [INFO] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/framework/src/main/java/com/huaanbao/framework/common/util/ExcelUtil.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ framework --- [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\framework\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ framework --- [INFO] No sources to compile [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ framework --- [INFO] Tests are skipped. [INFO] [INFO] --- jar:3.4.1:jar (default-jar) @ framework --- [INFO] Building jar: D:\Hab_znaisc_v4_java\deepseekdemo-0704\framework\target\framework-dev-1.0.0-SNAPSHOT.jar [INFO] [INFO] --- install:3.1.2:install (default-install) @ framework --- [INFO] Installing D:\Hab_znaisc_v4_java\deepseekdemo-0704\framework\pom.xml to D:\software\apache-maven-3.6.0\repository\com\huaanbao\framework\1.0.0-SNAPSHOT\framework-1.0.0-SNAPSHOT.pom [INFO] Installing D:\Hab_znaisc_v4_java\deepseekdemo-0704\framework\target\framework-dev-1.0.0-SNAPSHOT.jar to D:\software\apache-maven-3.6.0\repository\com\huaanbao\framework\1.0.0-SNAPSHOT\framework-1.0.0-SNAPSHOT.jar [INFO] [INFO] -------------------------< com.huaanbao:admin >------------------------- [INFO] Building admin 1.0.0-SNAPSHOT [3/9] [INFO] from admin\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ admin --- [INFO] Deleting D:\Hab_znaisc_v4_java\deepseekdemo-0704\admin\target [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ admin --- [INFO] Copying 15 resources from src\main\resources to target\classes [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\admin\src\main\resources\dev [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\admin\src\main\resources\dev [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\admin\src\main\resources\dev [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ admin --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 201 source files with javac [debug target 17] to target\classes [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/business/oa/enterprise/domain/form/EnterpriseEmployeeQueryForm.java:[17,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/business/goods/domain/form/GoodsUpdateForm.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/department/domain/vo/DepartmentEmployeeTreeVO.java:[16,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/business/oa/notice/domain/vo/NoticeUpdateFormVO.java:[17,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/menu/domain/form/MenuAddForm.java:[13,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/business/oa/bank/domain/BankQueryForm.java:[19,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/business/category/domain/form/CategoryUpdateForm.java:[16,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/menu/domain/form/MenuUpdateForm.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/business/oa/notice/domain/form/NoticeQueryForm.java:[16,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/business/oa/notice/domain/form/NoticeUpdateForm.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/business/oa/notice/domain/form/NoticeViewRecordQueryForm.java:[16,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/position/domain/form/PositionUpdateForm.java:[17,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/business/oa/bank/domain/BankUpdateForm.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/login/domain/LoginForm.java:[20,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/business/oa/invoice/domain/InvoiceUpdateForm.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/login/domain/LoginResultVO.java:[17,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/business/oa/notice/domain/form/NoticeEmployeeQueryForm.java:[16,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/employee/domain/form/EmployeeQueryForm.java:[20,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/role/domain/vo/RoleSelectedVO.java:[13,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/business/goods/domain/form/GoodsQueryForm.java:[20,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/employee/domain/form/EmployeeUpdateForm.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/department/domain/form/DepartmentUpdateForm.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/business/oa/enterprise/domain/form/EnterpriseUpdateForm.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/business/oa/invoice/domain/InvoiceQueryForm.java:[17,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/menu/domain/vo/MenuTreeVO.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/position/domain/form/PositionQueryForm.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/business/oa/notice/domain/vo/NoticeEmployeeVO.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/role/domain/form/RoleQueryForm.java:[14,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/department/domain/vo/DepartmentTreeVO.java:[15,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/menu/domain/vo/MenuVO.java:[16,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/role/domain/form/RoleUpdateForm.java:[14,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/role/domain/form/RoleEmployeeQueryForm.java:[14,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/business/oa/enterprise/domain/form/EnterpriseQueryForm.java:[19,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [INFO] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/position/service/PositionService.java: D:\Hab_znaisc_v4_java\deepseekdemo-0704\admin\src\main\java\com\huaanbao\admin\module\system\position\service\PositionService.java使用或覆盖了已过时的 API。 [INFO] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/position/service/PositionService.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 [INFO] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/datascope/service/DataScopeSqlConfigService.java: D:\Hab_znaisc_v4_java\deepseekdemo-0704\admin\src\main\java\com\huaanbao\admin\module\system\datascope\service\DataScopeSqlConfigService.java使用了未经检查或安全的操作。 [INFO] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/admin/src/main/java/com/huaanbao/admin/module/system/datascope/service/DataScopeSqlConfigService.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ admin --- [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\admin\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ admin --- [INFO] No sources to compile [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ admin --- [INFO] Tests are skipped. [INFO] [INFO] --- jar:3.4.1:jar (default-jar) @ admin --- [INFO] Building jar: D:\Hab_znaisc_v4_java\deepseekdemo-0704\admin\target\admin-dev-1.0.0-SNAPSHOT.jar [INFO] [INFO] --- install:3.1.2:install (default-install) @ admin --- [INFO] Installing D:\Hab_znaisc_v4_java\deepseekdemo-0704\admin\pom.xml to D:\software\apache-maven-3.6.0\repository\com\huaanbao\admin\1.0.0-SNAPSHOT\admin-1.0.0-SNAPSHOT.pom [INFO] Installing D:\Hab_znaisc_v4_java\deepseekdemo-0704\admin\target\admin-dev-1.0.0-SNAPSHOT.jar to D:\software\apache-maven-3.6.0\repository\com\huaanbao\admin\1.0.0-SNAPSHOT\admin-1.0.0-SNAPSHOT.jar [INFO] [INFO] -------------------------< com.huaanbao:types >------------------------- [INFO] Building types 1.0.0-SNAPSHOT [4/9] [INFO] from types\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ types --- [INFO] Deleting D:\Hab_znaisc_v4_java\deepseekdemo-0704\types\target [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ types --- [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\types\src\main\resources [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\types\src\main\resources\dev [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\types\src\main\resources\dev [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\types\src\main\resources\dev [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ types --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 6 source files with javac [debug target 17] to target\classes [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ types --- [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\types\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ types --- [INFO] No sources to compile [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ types --- [INFO] Tests are skipped. [INFO] [INFO] --- jar:3.4.1:jar (default-jar) @ types --- [INFO] Building jar: D:\Hab_znaisc_v4_java\deepseekdemo-0704\types\target\types-dev-1.0.0-SNAPSHOT.jar [INFO] [INFO] --- install:3.1.2:install (default-install) @ types --- [INFO] Installing D:\Hab_znaisc_v4_java\deepseekdemo-0704\types\pom.xml to D:\software\apache-maven-3.6.0\repository\com\huaanbao\types\1.0.0-SNAPSHOT\types-1.0.0-SNAPSHOT.pom [INFO] Installing D:\Hab_znaisc_v4_java\deepseekdemo-0704\types\target\types-dev-1.0.0-SNAPSHOT.jar to D:\software\apache-maven-3.6.0\repository\com\huaanbao\types\1.0.0-SNAPSHOT\types-1.0.0-SNAPSHOT.jar [INFO] [INFO] --------------------------< com.huaanbao:biz >-------------------------- [INFO] Building biz 1.0.0-SNAPSHOT [5/9] [INFO] from biz\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ biz --- [INFO] Deleting D:\Hab_znaisc_v4_java\deepseekdemo-0704\biz\target [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ biz --- [INFO] Copying 16 resources from src\main\resources to target\classes [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\biz\src\main\resources\dev [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\biz\src\main\resources\dev [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\biz\src\main\resources\dev [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ biz --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 178 source files with javac [debug target 17] to target\classes [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/pojo/request/query/rule/TemplateNewRuleQry.java:[6,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/pojo/request/query/contractSubmit/ContractSubmitQry.java:[11,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/pojo/request/query/validate/ValidateQry.java:[7,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/pojo/response/contract/ContractInfoResponse.java:[10,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/pojo/request/query/rule/TemplateRuleQry.java:[7,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/pojo/request/query/contract/ContractQry.java:[13,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/pojo/request/query/template/ContractTemplateQry.java:[9,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/convertor/contractSubmit/ContractSubmitConvertor.java:[20,26] Unmapped target property: "provinceName". [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/convertor/contractSubmit/ContractSubmitConvertor.java:[24,32] Unmapped target properties: "gmtCreate, brightStatus". [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/convertor/template/TemplateRuleConvertor.java:[21,29] Unmapped target properties: "id, templateNo, templateName, pid, code, isDeleted, enable, createBy, updateBy, gmtCreate, gmtModified, ruleEnable". Mapping from Collection element "TemplateRuleAddCO templateRuleAddCO" to "AuditTemplateRule auditTemplateRule". [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/convertor/template/TemplateRuleConvertor.java:[22,29] Unmapped target properties: "templateNo, templateName, pid, isDeleted, enable, createBy, updateBy, gmtCreate, gmtModified, ruleEnable". Mapping from Collection element "TemplateRuleModifyCO templateRuleModifyCO" to "AuditTemplateRule auditTemplateRule". [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/convertor/contract/ContractTemplateRuleConvertor.java:[19,22] Unmapped target property: "creator". [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/convertor/contract/ContractTemplateRuleConvertor.java:[28,22] Unmapped target property: "creator". [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/convertor/contract/ContractTemplateRuleConvertor.java:[32,31] Unmapped target property: "creator". Mapping from Collection element "NewContractRule newContractRule" to "NewRulePageResponse newRulePageResponse". [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/convertor/contract/ContractConvertor.java:[17,26] Unmapped target property: "provinceName". [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/convertor/contract/ContractConvertor.java:[21,26] Unmapped target property: "provinceName". [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/convertor/contract/ContractTemplateConvertor.java:[15,26] Unmapped target property: "creator". [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/controller/contractSubmit/ContractSubmitController.java:[66,55] java.lang.Long 中的 Long(java.lang.String) 已过时, 且标记为待删除 [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/controller/contractSubmit/ContractSubmitController.java:[74,61] java.lang.Long 中的 Long(java.lang.String) 已过时, 且标记为待删除 [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/repository/impl/AuditRecordRepositoryImpl.java:[128,67] java.lang.Long 中的 Long(java.lang.String) 已过时, 且标记为待删除 [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/repository/impl/AuditRecordRepositoryImpl.java:[142,85] java.lang.Long 中的 Long(java.lang.String) 已过时, 且标记为待删除 [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/repository/impl/ContractRepositoryImpl.java:[173,67] java.lang.Long 中的 Long(java.lang.String) 已过时, 且标记为待删除 [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/repository/impl/ContractRepositoryImpl.java:[187,85] java.lang.Long 中的 Long(java.lang.String) 已过时, 且标记为待删除 [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/service/impl/ContractAreaServiceImpl.java:[53,67] java.lang.Long 中的 Long(java.lang.String) 已过时, 且标记为待删除 [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/service/impl/ContractFacadeServiceImpl.java:[173,75] java.lang.Long 中的 Long(java.lang.String) 已过时, 且标记为待删除 [WARNING] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/service/impl/ContractNewAreaServiceImpl.java:[48,67] java.lang.Long 中的 Long(java.lang.String) 已过时, 且标记为待删除 [INFO] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/controller/ContractController.java: 某些输入文件使用了未经检查或不安全的操作。 [INFO] /D:/Hab_znaisc_v4_java/deepseekdemo-0704/biz/src/main/java/com/huaanbao/contract/controller/ContractController.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ biz --- [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\biz\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ biz --- [INFO] No sources to compile [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ biz --- [INFO] Tests are skipped. [INFO] [INFO] --- jar:3.4.1:jar (default-jar) @ biz --- [INFO] Building jar: D:\Hab_znaisc_v4_java\deepseekdemo-0704\biz\target\biz-dev-1.0.0-SNAPSHOT.jar [INFO] [INFO] --- install:3.1.2:install (default-install) @ biz --- [INFO] Installing D:\Hab_znaisc_v4_java\deepseekdemo-0704\biz\pom.xml to D:\software\apache-maven-3.6.0\repository\com\huaanbao\biz\1.0.0-SNAPSHOT\biz-1.0.0-SNAPSHOT.pom [INFO] Installing D:\Hab_znaisc_v4_java\deepseekdemo-0704\biz\target\biz-dev-1.0.0-SNAPSHOT.jar to D:\software\apache-maven-3.6.0\repository\com\huaanbao\biz\1.0.0-SNAPSHOT\biz-1.0.0-SNAPSHOT.jar [INFO] [INFO] -------------------------< com.huaanbao:start >------------------------- [INFO] Building start 1.0.0-SNAPSHOT [6/9] [INFO] from start\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ start --- [INFO] Deleting D:\Hab_znaisc_v4_java\deepseekdemo-0704\start\target [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ start --- [INFO] Copying 0 resource from src\main\resources to target\classes [INFO] Copying 4 resources from src\main\resources\dev to target\classes [INFO] Copying 2 resources from src\main\resources\dev to target\classes [INFO] Copying 4 resources from src\main\resources\dev to target\classes [INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ start --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 1 source file with javac [debug target 17] to target\classes [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ start --- [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\start\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ start --- [INFO] No sources to compile [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ start --- [INFO] Tests are skipped. [INFO] [INFO] --- jar:3.4.1:jar (default-jar) @ start --- [INFO] Building jar: D:\Hab_znaisc_v4_java\deepseekdemo-0704\start\target\start-dev-1.0.0-SNAPSHOT.jar [INFO] [INFO] --- spring-boot:3.4.3:repackage (default) @ start --- [INFO] Replacing main artifact D:\Hab_znaisc_v4_java\deepseekdemo-0704\start\target\start-dev-1.0.0-SNAPSHOT.jar with repackaged archive, adding nested dependencies in BOOT-INF/. [INFO] The original artifact has been renamed to D:\Hab_znaisc_v4_java\deepseekdemo-0704\start\target\start-dev-1.0.0-SNAPSHOT.jar.original [INFO] [INFO] --- install:3.1.2:install (default-install) @ start --- [INFO] Installing D:\Hab_znaisc_v4_java\deepseekdemo-0704\start\pom.xml to D:\software\apache-maven-3.6.0\repository\com\huaanbao\start\1.0.0-SNAPSHOT\start-1.0.0-SNAPSHOT.pom [INFO] Installing D:\Hab_znaisc_v4_java\deepseekdemo-0704\start\target\start-dev-1.0.0-SNAPSHOT.jar to D:\software\apache-maven-3.6.0\repository\com\huaanbao\start\1.0.0-SNAPSHOT\start-1.0.0-SNAPSHOT.jar [INFO] [INFO] ------------------< com.huaanbao:common-dependencies >------------------ [INFO] Building common-dependencies 1.0.0-SNAPSHOT [7/9] [INFO] from common\common-dependencies\pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ common-dependencies --- [INFO] [INFO] --- install:3.1.2:install (default-install) @ common-dependencies --- [INFO] Installing D:\Hab_znaisc_v4_java\deepseekdemo-0704\common\common-dependencies\pom.xml to D:\software\apache-maven-3.6.0\repository\com\huaanbao\common-dependencies\1.0.0-SNAPSHOT\common-dependencies-1.0.0-SNAPSHOT.pom [INFO] [INFO] ------------------------< com.huaanbao:common >------------------------- [INFO] Building common 1.0.0-SNAPSHOT [8/9] [INFO] from common\pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ common --- [INFO] [INFO] --- install:3.1.2:install (default-install) @ common --- [INFO] Installing D:\Hab_znaisc_v4_java\deepseekdemo-0704\common\pom.xml to D:\software\apache-maven-3.6.0\repository\com\huaanbao\common\1.0.0-SNAPSHOT\common-1.0.0-SNAPSHOT.pom [INFO] [INFO] -------------------< com.huaanbao:common-generator >-------------------- [INFO] Building common-generator 1.0.0-SNAPSHOT [9/9] [INFO] from common\common-generator\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The artifact mysql:mysql-connector-java:jar:8.0.33 has been relocated to com.mysql:mysql-connector-j:jar:8.0.33: MySQL Connector/J artifacts moved to reverse-DNS compliant Maven 2+ coordinates. [INFO] [INFO] --- clean:3.2.0:clean (default-clean) @ common-generator --- [INFO] Deleting D:\Hab_znaisc_v4_java\deepseekdemo-0704\common\common-generator\target [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ common-generator --- [INFO] Copying 2 resources from src\main\resources to target\classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ common-generator --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 17 source files with javac [debug target 17] to target\classes [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ common-generator --- [INFO] skip non existing resourceDirectory D:\Hab_znaisc_v4_java\deepseekdemo-0704\common\common-generator\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ common-generator --- [INFO] No sources to compile [INFO] [INFO] --- surefire:3.2.5:test (default-test) @ common-generator --- [INFO] Tests are skipped. [INFO] [INFO] --- jar:3.4.1:jar (default-jar) @ common-generator --- [INFO] Building jar: D:\Hab_znaisc_v4_java\deepseekdemo-0704\common\common-generator\target\common-generator-dev-1.0.0-SNAPSHOT.jar [INFO] [INFO] --- install:3.1.2:install (default-install) @ common-generator --- [INFO] Installing D:\Hab_znaisc_v4_java\deepseekdemo-0704\common\common-generator\pom.xml to D:\software\apache-maven-3.6.0\repository\com\huaanbao\common-generator\1.0.0-SNAPSHOT\common-generator-1.0.0-SNAPSHOT.pom [INFO] Installing D:\Hab_znaisc_v4_java\deepseekdemo-0704\common\common-generator\target\common-generator-dev-1.0.0-SNAPSHOT.jar to D:\software\apache-maven-3.6.0\repository\com\huaanbao\common-generator\1.0.0-SNAPSHOT\common-generator-1.0.0-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for contract-intelligence 1.0.0-SNAPSHOT: [INFO] [INFO] contract-intelligence .............................. SUCCESS [ 0.378 s] [INFO] framework .......................................... SUCCESS [ 17.691 s] [INFO] admin .............................................. SUCCESS [ 6.627 s] [INFO] types .............................................. SUCCESS [ 0.722 s] [INFO] biz ................................................ SUCCESS [ 7.299 s] [INFO] start .............................................. SUCCESS [ 3.587 s] [INFO] common-dependencies ................................ SUCCESS [ 0.011 s] [INFO] common ............................................. SUCCESS [ 0.012 s] [INFO] common-generator ................................... SUCCESS [ 1.228 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 38.072 s [INFO] Finished at: 2025-08-01T16:17:39+08:00 [INFO] ------------------------------------------------------------------------ 解析上述运行结果
08-02
以上为pom文件。下列为打包过程log:D:\JavaSDK\Eclipse_Temurin_OpenJDK_17.0.14+7\bin\java.exe -Dmaven.multiModuleProjectDirectory=E:\LJC-Code\javafxTest\LJC -Djansi.passthrough=true -Dmaven.home=C:\Users\10124.m2\wrapper\dists\apache-maven-3.8.5-bin\5i5jha092a3i37g0paqnfr15e0\apache-maven-3.8.5 -Dclassworlds.conf=C:\Users\10124.m2\wrapper\dists\apache-maven-3.8.5-bin\5i5jha092a3i37g0paqnfr15e0\apache-maven-3.8.5\bin\m2.conf "-Dmaven.ext.class.path=D:\IDEA\IntelliJ IDEA 2024.2.4\plugins\maven\lib\maven-event-listener.jar" "-javaagent:D:\IDEA\IntelliJ IDEA 2024.2.4\lib\idea_rt.jar=46409:D:\IDEA\IntelliJ IDEA 2024.2.4\bin" -Dfile.encoding=UTF-8 -classpath C:\Users\10124.m2\wrapper\dists\apache-maven-3.8.5-bin\5i5jha092a3i37g0paqnfr15e0\apache-maven-3.8.5\boot\plexus-classworlds-2.6.0.jar;C:\Users\10124.m2\wrapper\dists\apache-maven-3.8.5-bin\5i5jha092a3i37g0paqnfr15e0\apache-maven-3.8.5\boot\plexus-classworlds.license org.codehaus.classworlds.Launcher -Didea.version=2024.2.4 package [INFO] Scanning for projects... [INFO] [INFO] -------------------------------< HL:LJC >------------------------------- [INFO] Building LJC 1.0.0 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ LJC --- [INFO] Copying 27 resources from src\main\resources to target\classes [INFO] [INFO] --- maven-resources-plugin:3.3.1:copy-resources (copy-resources) @ LJC --- [INFO] Copying 3844 resources from src\main\resources to target\conf [INFO] [INFO] --- maven-compiler-plugin:3.13.0:compile (default-compile) @ LJC --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 59 source files with javac [debug release 17 module-path] to target\classes [INFO] /E:/LJC-Code/javafxTest/LJC/src/main/java/hl/ljc/service/upload/SFZYWebClient.java: E:\LJC-Code\javafxTest\LJC\src\main\java\hl\ljc\service\upload\SFZYWebClient.java使用或覆盖了已过时的 API。 [INFO] /E:/LJC-Code/javafxTest/LJC/src/main/java/hl/ljc/service/upload/SFZYWebClient.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 [INFO] /E:/LJC-Code/javafxTest/LJC/src/main/java/hl/ljc/component/CustomTreeView.java: 某些输入文件使用了未经检查或不安全的操作。 [INFO] /E:/LJC-Code/javafxTest/LJC/src/main/java/hl/ljc/component/CustomTreeView.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 [INFO] [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ LJC --- [INFO] skip non existing resourceDirectory E:\LJC-Code\javafxTest\LJC\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.13.0:testCompile (default-testCompile) @ LJC --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ LJC --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:3.4.2:jar (default-jar) @ LJC --- [INFO] Building jar: E:\LJC-Code\javafxTest\LJC\target\bin\LJC-1.0.0.jar [INFO] [INFO] --- maven-dependency-plugin:3.8.1:copy-dependencies (copy-dependencies) @ LJC --- [INFO] [INFO] --- maven-antrun-plugin:3.1.0:run (default) @ LJC --- [INFO] Executing tasks [INFO] Executed tasks [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 34.694 s [INFO] Finished at: 2025-04-01T16:27:25+08:00 [INFO] ------------------------------------------------------------------------。分析log发现 conf存在且复制成功,但生成的安装包时未把conf资源打包进去,分析原因
04-02
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值