[英]Maven build error - can't deploy zip to S3
我们无法将 zip 文件部署到 AWS S3 存储桶。 它正在工作并突然停止,并且环境没有变化。 我们收到以下构建错误
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file (default-cli) on project aem-coe-project: Execution default-cli of goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file failed: A required class was missing while executing org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-file: javax/xml/bind/JAXBException
16:58:27 Info | [ERROR] -----------------------------------------------------
16:58:27 Info | [ERROR] realm =
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
16:58:27 Info | [ERROR] urls[0] = file:/root/.m2/repository/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.jar
16:58:27 Info | [ERROR] urls[1] = file:/root/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
16:58:27 Info | [ERROR] urls[2] = file:/root/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar
16:58:27 Info | [ERROR] Number of foreign imports: 1
16:58:27 Info | [ERROR] import: Entry[import from realm ClassRealm[project>com.coe:aem-coe-project:0.0.1-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
16:58:27 Info | [ERROR]
16:58:27 Info | [ERROR] -----------------------------------------------------
16:58:27 Info | [ERROR] : javax.xml.bind.JAXBException
Below is the build section of pom.xml
<extensions>
<extension>
<groupId>s3-wagon-private</groupId>
<artifactId>s3-wagon-private</artifactId>
<version>1.3.1</version>
</extension>
</extensions>
Could you please suggest me here.
假设A required class was missing
并且javax/xml/bind/JAXBException
指向同一个地方。 可能有一个 SOAP 服务发生了变化。 检查您使用的 API 和您提供的 API。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.