File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Include external jars during maven build Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Include external jars during maven build" Watch "Include external jars during maven build" New topic
Author

Include external jars during maven build

Jhinuk Mitra
Greenhorn

Joined: Jul 22, 2012
Posts: 1

Hi,

http://www.tutorialspoint.com/maven/maven_external_dependencies.htm

I followed the step given in the above tutorial to include external jars during maven build.
But the jars are not getting included in the target jar.
Please provide a suitable solution for this.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5846
    
    7

You need to use the Assembly plugin to create a JAR file that includes all of the dependencies needed to run. In your assembly descriptor, mention 'jar' as a desired output format.
http://maven.apache.org/plugins/maven-assembly-plugin/index.html


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Include external jars during maven build