Project POM files

This guide provides insight into the content of the project POM files.

Maven CI friendly version numbers

	<version>${revision}</version>

	<properties>
	  <revision>1.2.4-SNAPSHOT</revision>
	</properties>
    <plugin>
    	<groupId>org.codehaus.mojo</groupId>
    	<artifactId>flatten-maven-plugin</artifactId>
    </plugin>

Repository definition

The <repositories> section should contain, at a minimum, the coordinates of the private repository used by the project. For projects publishing to Maven central this step is not needed.

Maven repositories
<repositories>
	<repository>
		<id>github-christhonie</id>
		<url>https://maven.pkg.github.com/christhonie/event</url>
	  <releases>
	    <enabled>true</enabled>
			<checksumPolicy>fail</checksumPolicy>
	  </releases>
	  <snapshots>
	    <enabled>false</enabled>
	  </snapshots>
	</repository>
</repositories>