报异常了,异常如下:
[ERROR] Failed to execute goal com.alibaba.citrus.tool:maven-autoconfig-plugin:1.0.10:autoconfig (default) on project guahao-portal-web-war: Execution default of goal com.alibaba.citrus.tool:maven-autoconfig-plugin:1.0.10:autoconfig failed: No log system exists -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.alibaba.citrus.tool:maven-autoconfig-plugin:1.0.10:autoconfig (default) on project guahao-portal-web-war: Execution default of goal com.alibaba.citrus.tool:maven-autoconfig-plugin:1.0.10:autoconfig failed: No log system exists
我的maven插件配置如下:
<build>
<plugins>
<plugin>
<groupId>com.alibaba.citrus.tool</groupId>
<artifactId>maven-autoconfig-plugin</artifactId>
<version>${autoconfig-plugin-version}</version>
<configuration>
<!-- 要进行AutoConfig的目标文件,默认为${project.artifact.file}。
<dest>${project.artifact.file}</dest>
-->
<!-- 配置后,是否展开目标文件,默认为false,不展开。
<exploding>true</exploding>
-->
<!-- 展开到指定目录,默认为${project.build.directory}/${project.build.finalName}。
<explodedDirectory>
${project.build.directory}/${project.build.finalName}
</explodedDirectory>
-->
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>autoconfig</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
这个异常不知道如何解决,在pom.xml中加上日志系统的依赖还是不行,这个难住我了,项目开发好了,只剩这个打包的问题,本地使用Eclipse jetty插件启动没问题,通过autoconfig插件一打包就报错。
打包命令如下:
mvn -e clean package -Dmaven.test.skip=true -Dautoconfig.userProperties=F:/我的文件/antx.properties
问题补充:从git上下来了utoconfig项目的源码,放在项目中跑就没有上面的问题了使用的是1.2的版本,之前是1.0.10
相关推荐
本项目是基于Java的smart-doc-maven-plugin官方maven插件设计源码,包含43个文件,其中包括27个Java源文件、7个Markdown文档、2个JSON文件、1个gitignore文件、1个LICENSE文件、1个NOTICE文件、1个PNG图片文件、1个...
exec-maven-plugin是Maven生态系统中的一个插件,它允许用户在Maven构建过程中执行外部命令或脚本。这使得Maven项目可以集成更多的自定义操作,比如运行特定的脚本、调用系统命令等。本文将详细介绍exec-maven-...
maven-surefire-report-plugin-2.3.1.jar
Maven 使用 tomcat8-maven-plugin 插件 Maven 是一个流行的构建自动化工具,它可以帮助开发者自动完成项目的编译、测试、打包、部署等任务。 Tomcat 是一个流行的 Web 服务器,Maven 提供了一个插件 tomcat8-maven-...
mybatis-plus-generator-maven-plugin-v1.0.0依赖的pom.xml,用于mybatis-plus-generator-maven-plugin-1.0.0.jar本地仓库上传时依赖使用
为了在项目中快捷方便的代码生成,将mybatis-plus-generator封装为了一个maven的插件`mybatis-plus-generator-maven-plugin。使用文档参考:https://blog.csdn.net/xiweiller/article/details/103072165
maven-jetty-jspc-plugin-6.1.22-site-component.jar
maven-deploy-plugin-2.8.2.jar
<artifactId>spring-boot-maven-plugin </plugin> ``` 继承 Starter 父 POM Spring Boot 提供了一个 Starter 父 POM,用于简化 Spring Boot 项目的构建过程。该 POM 包含了许多有用的依赖项和配置,例如 ...
maven-jar-plugin-3.1.1.jar
`maven-compiler-plugin-3.8.0-source-release` 是 Maven 生态系统中不可或缺的一部分,它提供了可靠的源代码编译功能,使得开发者能够专注于编写代码,而无需关心构建过程的细节。通过理解 Maven 插件的工作原理和...
maven-project-info-reports-plugin-2.1.jar
maven-antrun-plugin-3.0.0.jar
maven-site-plugin-3.3.jar
java运行依赖jar包
maven-tomcat-plugin让maven与tomcat配合得很好。它可以把应用部署到Tomcat服务器,也可以把tomcat作为内嵌服务器启动,就像jetty一样。 使用JPDA启动tomcat的远程调试功能。这样就能与eclipse配合起来,轻松地实现...
maven-clean-plugin-3.1.0.jar
本文将详细讨论如何将Jetty与Maven进行集成,并介绍关键的`maven-jetty-plugin`插件及其不同版本。 1. Maven与Jetty集成的意义: Maven通过其强大的依赖管理功能,使得项目构建变得简单和规范。而Jetty作为轻量级...
maven-resources-plugin-2.4.1.jar
maven-install-plugin-2.4.jar