0

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 -->
<!-- ============ -->

これを解決するには?

4

1 に答える 1

1

にいくつかの設定が欠けていると思いますdeployit-pom.xml。に存在するアーティファクトやリソースを指定する必要もありますdar(このも参照してください)。また、プラグインv6.0.1の最新バージョンに更新することもできます。

于 2017-09-25T17:16:38.550 に答える