Add config for publishing to Maven Central

As advised by Eclipse Helpdesk
diff --git a/pom.xml b/pom.xml
index dbb10ac..6f0d3a7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -65,6 +65,16 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.sonatype.central</groupId>
+                <artifactId>central-publishing-maven-plugin</artifactId>
+                <configuration>
+                    <publishingServerId>central</publishingServerId>
+                    <autoPublish>true</autoPublish>
+                    <waitUntil>published</waitUntil>
+                    <centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 </project>