July 2017
Intermediate to advanced
466 pages
11h 24m
English
With that, our new integration is done. To see it in action, we add the dependency to Sunago's POM as follows:
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>instagram</artifactId>
<version>${project.version}</version>
</dependency>
We then run the application.
Clearly, adding a dependency for each new integration is not an ideal solution, if for no other reason than that the user won't be running the application from an IDE or with Maven. What we need, then, is a way for the application to find any modules (or plugins, if you prefer that term) at runtime on the user's machine. The simplest solution would be to launch the application via a shell script like this:
#!/bin/bash JARS=sunago-1.0-SNAPSHOT.jar ...
Read now
Unlock full access