• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

compile with my lib folder jar files

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everyone,

I am a newbie to maven and i am compiling my lots of code through it.
I am migrating my project from ant to maven.We have lots of jar files in lib folder of our project and custom created folder structure.Now i am trying to configuring it with my local libraries with so many ideas like repository tags etc but its not compiling my .java files,it doesn't find its lib jars .
how should i configure my lib folder jars to compile my .java files.

Any help is appreciated.


Thanks in Advance.

 
Ranch Hand
Posts: 1609
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

shekhar john wrote:Hello everyone,

I am migrating my project from ant to maven.



Why?
 
Saloon Keeper
Posts: 26554
187
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maven is based on dependencies. You need to define these libraries as dependencies. If the jars are standard jars such as the hibernate jars, you can define standard repository dependencies. For site-local jars, you should set up a Maven repository and install them there.
 
reply
    Bookmark Topic Watch Topic
  • New Topic