mvn工程构建出错Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7

subjeery subjeery 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
[INFO] Finished at: 2015-12-10T09:26:28+08:00
[INFO] Final Memory: 11M/108M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (websphere) on project eps: Error executing ant tasks: org/apache/tools/ant/launch/Locator: org.apache.tools.ant.launch.Locator -> [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/MojoExecutionException


<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.fiberhome.eps</groupId>
<artifactId>eps</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
<modules>
<module>eps-common</module>
<module>eps-master</module>
<module>eps-slave-android</module>
<module>eps-slave-ios</module>
</modules>
<properties>
<version.springframework>3.0.5.RELEASE</version.springframework>
<version.httpcomponents>4.1.1</version.httpcomponents>
<version.cxf>2.2.12</version.cxf>
<version.junit>4.8.2</version.junit>
<version.dom4j>1.6.1</version.dom4j>
<skip.aes.flag>true</skip.aes.flag>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.yongzhong>1.0.0</version.yongzhong>
<build.timestamp>${timestamp}</build.timestamp>
<patchNumber />
<version.qrcode>1.0.0</version.qrcode>
<skip.aes.flag>true</skip.aes.flag>
<version.mina>2.0.7</version.mina>
</properties>


<dependencies>
<dependency>
<groupId>com.fh.json</groupId>
<artifactId>fastjson</artifactId>
<version>1.1.27</version>
</dependency>

<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>
<dependency>
<groupId>com.fh.jms</groupId>
<artifactId>activemq-client</artifactId>
<version>5.10.2</version>
</dependency>
<dependency>
<groupId>com.fh.jms</groupId>
<artifactId>camel-jms</artifactId>
<version>2.13.1</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.fh.jms</groupId>
<artifactId>geronimo-j2ee-management</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>com.fh.jms</groupId>
<artifactId>geronimo-jms</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>sqlitejdbc</groupId>
<artifactId>sqlitejdbc</artifactId>
<version>0.53</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>javax.jms</groupId>
<artifactId>jms</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-launcher</artifactId>
<version>1.7.1</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.7.1</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.1</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>com.keyboardsamurais.maven</groupId>
<artifactId>maven-timestamp-plugin</artifactId>
<version>1.0</version>
<configuration>
<propertyName>timestamp</propertyName>
<timestampPattern>yyyyMMdd</timestampPattern>
</configuration>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.google.code.maven-svn-revision-number-plugin</groupId>
<artifactId>svn-revision-number-maven-plugin</artifactId>
<version>1.13</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>revision</goal>
</goals>
</execution>
</executions>
<configuration>
<entries>
<entry>
<path>${project.basedir}</path>
<prefix>SVN</prefix>
</entry>
</entries>
</configuration>
<inherited>false</inherited>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>websphere</id>
<phase>package</phase>
<configuration>
<target>
<mkdir dir="${basedir}/target/eps" />
<copy todir="${basedir}/target/eps" overwrite="true"
preservelastmodified="true">
<fileset dir="${basedir}/eps-master/target">
<include name="**/*.war" />
</fileset>
</copy>
<copy todir="${basedir}/target/eps" overwrite="true"
preservelastmodified="true">
<fileset dir="${basedir}/eps-slave-android/target">
<include name="**/*.war" />
</fileset>
</copy>
<copy todir="${basedir}/target/eps" overwrite="true"
preservelastmodified="true">
<fileset dir="${basedir}/eps-slave-ios/target">
<include name="**/*.war" />
</fileset>
</copy>

<zip
destfile="${basedir}/target/eps-${project.version}-build${SVN.committedRevision}-${build.timestamp}.war"
basedir="${basedir}/target/eps/" />
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
...全文

相关推荐

maven自定义插件 mvn install时报错 Error extracting plugin descriptor: ‘No mojo definitions wer e found for

自定义一个插件,继承AbstractMojo,实现execute方法,引入该自定义插件,执行mvn install,报错 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.2:descriptor (default -descriptor) on project maven-project: Error extracting plugin descriptor: ‘No mojo definitions wer e found for plugin: com.gupao:maven-pro

weixin_38508497

如何提高Maven多模块项目编译速度.docx

Maven多模块项目编译速度慢,下面我们来学习下优化的方法。 mvn clean package -T 4C -Dmaven.test.skip=true -Dmaven.compile.fork=true -T 4C 代表本机4个CPU内核都参与编译工程, -Dmaven.test.skip=true 代表跳过测试 , -Dmaven.compile.fork=true 使用多线程编译。

AI知识分享

【深度学习预测】项目介绍 Python实现基于BO-Transformer-LSTM贝叶斯优化算法(BO)优化Transformer-LSTM模型进行多变量时间序列预测(含模型描述及部分示例代码)

内容概要:本文详细介绍了一个基于BO-Transformer-LSTM的多变量时间序列预测项目,通过结合Transformer的全局自注意力机制与LSTM的局部时序建模能力,构建了适用于复杂业务场景的深度学习预测模型。模型输入采用多变量滑动窗口结构,并引入正弦余弦位置编码以保留时间顺序信息;Transformer编码器提取变量间长距离依赖关系,LSTM进一步捕捉动态演化特征,最终通过回归层输出预测值。为优化模型性能,采用贝叶斯优化算法(基于Tree-structured Parzen Estimator)自动搜索最优超参数组合,包括嵌入维度、注意力头数、学习率、窗口长度等,显著提升了调参效率与模型泛化能力。项目还设计了包含周期性、趋势性、均值回归、突发事件和异方差噪声的五因素模拟数据生成机制,确保数据贴近真实业务场景,并建立了从数据预处理、模型训练、验证评估到结果恢复的完整技术链路。; 适合人群:具备一定机器学习与深度学习基础,熟悉PyTorch框架,从事时间序列预测相关研究或工程应用的研发人员、数据科学家及研究生。; 使用场景及目标:①应用于能源负荷预测、设备状态监测、金融风控、供应链需求预测等多变量时间序列预测任务;②解决传统模型在长时依赖、非线性关系和高维特征下的预测瓶颈;③实现高效超参数优化,提升模型调优自动化水平与部署可行性。; 阅读建议:本文含核心模型结构与部分示例代码,建议结合完整项目代码(如GitHub或博客资源)进行复现实践,重点关注数据生成逻辑、模型前向传播流程及贝叶斯优化集成方式,同时可通过调整网络结构或优化策略进一步拓展至多步预测、概率输出与可视化分析等高级功能。

nantangyuxi

城市生命线之长距离输水管线的监测与检测.pdf

城市生命线之长距离输水管线的监测与检测.pdf

公众号:优享智库

复现水下航行器(NMPC)非线性模型预测控制分布式轨迹跟踪(Matlab代码实现)

内容概要:本文档围绕水下航行器(AUV)的非线性模型预测控制(NMPC)分布式轨迹跟踪技术展开,重点复现并实现了国际顶级期刊中提出的先进控制算法。该资源详细提供了基于Matlab的仿真代码,涵盖AUV的非线性动力学建模、多智能体系统协同控制、事件触发通信机制以及复杂海洋环境下分布式轨迹跟踪的优化求解过程。通过系统地构建NMPC控制器,实现对预设轨迹的高精度跟踪,同时有效处理系统约束与外部扰动。研究强调算法在多AUV协同任务中的适用性,突出其在节能通信与实时性方面的优势,是控制理论与工程实践相结合的典型范例; 适合人群:具备自动控制原理、非线性系统理论及Matlab编程基础的研究生、科研人员和工程技术开发者,尤其适用于从事水下机器人、智能控制、多智能体协同、路径规划与优化控制等方向的研究者; 使用场景及目标:① 深入理解非线性模型预测控制(NMPC)在欠驱动AUV轨迹跟踪中的设计与实现机制;② 复现并验证高水平学术论文中的控制策略,支撑科研创新与论文撰写;③ 探索事件触发机制下的分布式协同控制架构,提升多智能体系统的通信效率与控制性能; 阅读建议:建议结合现代控制理论相关教材与原始参考文献,逐行分析Matlab代码结构与算法流程,重点关注系统建模、代价函数构造、约束处理与优化求解器的调用方式。可通过调整控制参数、初始状态或引入环境干扰等方式进行仿真实验,以评估算法的鲁棒性、收敛性与工程实用性。

天天程序猿
评论 1
收藏 已收藏
分享
返回顶部
subjeery
Eclipse 58,440 成员 49,457 内容