使用 Jenkins 导入项目时出现以下异常
[ERROR] Failed to execute goal com.xebialabs.deployit:maven-deployit-plugin:3.8.3:import (default-cli)
on project INFOGCService:
Execution default-cli of goal
com.xebialabs.deployit:maven-deployit-plugin:3.8.3:import failed:
com.xebialabs.deployit.service.importer.ImporterException:
The selected file does not have the expected format for an importable package
所有适当的参数都已分别在 pom 和 deploy-itpom 中设置。
deployit-pom.xml
<parent>
<groupId>something</groupId>
<artifactId>deployit-root</artifactId>
<version>LATEST</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.something.service.war</groupId>
<artifactId>ProjectP</artifactId>
<packaging>dar</packaging>
<version>${pom_version}</version>
<name>DAR archive for project ProjectP.</name>
pom.xml
<parent>
<groupId>com.something.softwarefactory</groupId>
<artifactId>maven-parent</artifactId>
<version>2.0.0</version>
</parent>
<groupId>com.something.service.war</groupId>
<artifactId>ProjectP</artifactId>
<packaging>war</packaging>
<version>2.6.4-SNAPSHOT</version>
<!-- ============ -->
<!-- Informations -->
<!-- ============ -->
如何解决这个问题?