Java Plugin Parent Introduction
What ¶
Just like the well-known Sprint Boot Starter Parent, java-plugin-parent is Maven parent of all Java Plugin.
Why ¶
java-plugin-parent is created for the purpose to simplify Java Plugin develop process, it helps Plugin Engineers to develop a Java Plugin faster and easier, and helps MCT Engineers to integrate the plugin into platform simpler.
How to use ¶
It is quite easy to inherited, simply add java-plugin-parent as a pom parent (as well as the related maven repo address). Below is an example:
<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 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.webex.mct</groupId>
<artifactId>hello-world</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<name>hello-world</name>
<parent>
<groupId>com.webex.mct</groupId>
<artifactId>java-plugin-parent</artifactId>
<!-- please use the latest version of "java-plugin-parent" -->
<version>1.1</version>
</parent>
<!-- add engci maven repo, so that "java-plugin-parent" could be downloaded -->
<repositories>
<repository>
<id>bms-artifactory-rel</id>
<name>bms-artifactory-releases</name>
<url>https://engci-maven.cisco.com/artifactory/cscmse-release</url>
</repository>
</repositories>
</project>