Reputation: 105
I know this could be a duplicate of many questions, but i cannot really understand how does maven works. Basically i want to include a dependency on my final project, but i cannot understand how. For the moment; this is my pom.xml
<dependency>
<groupId>bla.bla</groupId>
<artifactId>bla-bla-bla</artifactId>
<version>aVersion</version>
<scope>shade</scope>
</dependency>
(Not the original pom.xml, i just hided names)
But when i export it, open it with winrar i cannot see the dependency included in my .jar. Anyone would be able to help?
Upvotes: 0
Views: 41
Reputation: 482
Eclipse automatically export the jars from the maven repository. you can manually build this project from command line mvn clean install -U and check the logs whether the above jar is getting downloaded or not.
Upvotes: 1