1

pom.xml で、親プロジェクトのバージョンを環境変数に設定する必要があります。

例:

   <parent>
     <groupId>edu.university.se.se_parent_project</groupId>
     <artifactId>SE_ParentProject</artifactId>
     <version>${parent.version}</version>  
     <relativePath>../SE_ParentProject/pom.xml</relativePath>
   </parent>

それ、どうやったら出来るの?

${parent.version} を使用すると、次のエラーが表示されます: [ERROR] 解決できない親 POM: アーティファクト edu.university.se.se_parent_project:SE_ParentProject:pom:${parent.version} を中央から/中央に転送できませんでした

4

1 に答える 1