我对 Azure DevOps SaaS Maven 构建代理问题有疑问。
当我使用 Azure DevOps SaaS (Windows 2019) Maven 构建代理运行 maven 构建时,我收到以下错误消息。我通读了 MojoExecutionException 指南,似乎是 POM.xml 中的插件导致了这个问题。
- 我怎么知道是哪个 POM 造成了这个问题?
- 此问题修复的指导方针是什么?
顺便说一句,该构建在开发人员的本地 Maven 构建环境中运行良好
感谢您一直以来的帮助!
构建错误
[ERROR]
[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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :eorder-base
POM.xml
<?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>
<parent>
<artifactId>eorder</artifactId>
<groupId>kr.co.ob.eorder</groupId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>kr.co.ob.eorder.base</groupId>
<artifactId>eorder-base</artifactId>
<packaging>jar</packaging>
<name>eorder-base</name>
<properties>
<spring-boot.repackage.skip>true</spring-boot.repackage.skip>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/servlets.com/cos -->
<dependency>
<groupId>servlets.com</groupId>
<artifactId>cos</artifactId>
<version>05Nov2002</version>
</dependency>
<!-- JWT -->
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt</artifactId>
<version>0.9.1</version>
</dependency>
<dependency>
<groupId>com.sap.conn</groupId>
<artifactId>sapjco</artifactId>
<version>3.1.3</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/sapjco3.jar</systemPath>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>/**/*</include>
</includes>
</resource>
</resources>
</build>
</project>