How to make such sevlet?

I need to create a servlet which will download the file at url. And in this way to the file you want to download has been added to the project dependency.

<dependency>
<groupid>doc</groupid>
<artifactid>com.asciidoc</artifactid>
<version>1.0</version>
<scope>system</scope>
<systempath>FilePath</systempath>
 </dependency>


How do I get this file from the dependencies in the servlet?
July 9th 19 at 12:54
1 answer
July 9th 19 at 12:56
I think You should look at maven-resources-plugin as in this example

Find more questions by tags JavaApache Maven