Check out example codes for "how to add jar in maven java application in netbeans". It will help you in understanding the concepts better.

Code Example 1

<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-bundle</artifactId>
<version>2.7.3</version>
</dependency>

Learn ReactJs, React Native from akashmittal.com