BTW I find distribution management should be in a parent (shared and hidden) or not in there at all. I prefer my POMs as landscape independent as possible.
-- http://bernd.eckenfels.net ________________________________ Von: [email protected] <[email protected]> Gesendet: Friday, September 24, 2021 7:08:46 PM An: [email protected] <[email protected]> Betreff: Questions on best practice for POM Code Convention setup and how to know what tags can be setup where I'm cleaning up the POM files that I have based on the Maven documentation, especially using the POM Code Convention as reference. Want to ask this, to confirm that I'm following the best practice(https://maven.apache.org/developers/conventions/code.html#pom-code-convention) for setting up the correct over for the tags in the POM file that is using deploy plugin: <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 https://maven.apache.org/xsd/maven-4.0.0.xsd<http://maven.apache.org/POM/4.0.0%20https:/maven.apache.org/xsd/maven-4.0.0.xsd>> <modelVersion/> <groupID/> <artifactID/> <version/> <distributionManagement/> <properties/> <build/> Also, I'm still not understanding the following: What tags can I use? And where can I use certain tags? For example under the <build> tags, I've inherited a POM file that has the tag <packaging>iso</packaging> and <type>iso</type> I know that packaging for ISO isn't one that can be setup where <groupID>, <artifactID> and <version> tags are setup as this isn't one of the artifacts that can be generated. So how do I know that I can setup <packaging> and <type> tags here? That will deploy an iso file to a remote repo? Thanks
