さまざまな POM を調べると<version>
、セクションにのみタグが付いている場合があることがわかりました<parent>
。場合によっては<version>${parent.version}</version>
、メイン セクションに次のコードと、親のバージョンが含まれていることがあります。
これらのさまざまなケースでどのバージョン値が使用されますか?
さまざまな POM を調べると<version>
、セクションにのみタグが付いている場合があることがわかりました<parent>
。場合によっては<version>${parent.version}</version>
、メイン セクションに次のコードと、親のバージョンが含まれていることがあります。
これらのさまざまなケースでどのバージョン値が使用されますか?
The version from the parent, in both cases.
See the "Introduction to the POM" for implicit version inheritance info.
See this document for further information regarding what else is inherited.
It will "inherit" the version from the parent and it does many other pieces of configuration. The groupId
and dependencies
can come from the parent as well.