Hi Kanchibhotla Dheeraj,
i think the best way to use this libraries is to add them to your local maven repository:
mvn install:install-file -Dfile=<path_to_project>\libraries\myJsonParser.jar
-DgroupId=com.myjsonparser -DartifactId=myjsonparser -Dversion=0.1 -Dpackaging=JAR
It is also important to make sure, that this libraries will be added to your target-JAR that will be added to the GeoEvent Server. I use the Maven Bundle Plugin for that:
Apache Felix - Apache Felix Maven Bundle Plugin (BND)
So the Plugin Part of your POM could look like this:
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>3.0.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
<Bundle-ContactAddress>${sdk.contact.address}</Bundle-ContactAddress>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package/>
<Private-Package>org.foo.myproject.*</Private-Package>
<Import-Package>*;resolution:=optional</Import-Package>
<Embed-Dependency>*;scope=compile|runtime;inline=true</Embed-Dependency>
<Embed-Transitive>true</Embed-Transitive>
</instructions>
</configuration>
</plugin>
</plugins>
Best,
Stefan