File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to configure my already existing project in Maven

 
pallavi chaudhari
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello friends,

plese tell me, how to configure my already existing project in Maven???
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you tried so far? Have you read the Maven quickstart guides on their website?
 
pallavi chaudhari
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Martijn Verburg wrote:What have you tried so far? Have you read the Maven quickstart guides on their website?



not whole...but somewhat.....

please provide link......if any for mavenizing existing project in Netbeans
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well firstly, have you enabled the Maven plugin for Netbeans?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, Maven is very opinionated about how a project is managed. You might have to create a new Maven project (after installing the Maven plugin) and copy your sources into that project. If your current project build multiple artifacts, you will need multiple Maven projects.

For the benefit of the forum readers, Pallavi posted his pom.xml here:
http://www.coderanch.com/t/463400/Ant-Maven-Other-Build-Tools/use-pom-xml-preexisting-project
 
pallavi chaudhari
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Martijn Verburg wrote:Well firstly, have you enabled the Maven plugin for Netbeans?


hi Martijn,

yes i have enabled Maven plugin.And created new Maven Project.

 
pallavi chaudhari
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter Johnson wrote:Also, Maven is very opinionated about how a project is managed. You might have to create a new Maven project (after installing the Maven plugin) and copy your sources into that project. If your current project build multiple artifacts, you will need multiple Maven projects.

For the benefit of the forum readers, Pallavi posted his pom.xml here:
http://www.coderanch.com/t/463400/Ant-Maven-Other-Build-Tools/use-pom-xml-preexisting-project


Hello Peter,

Shall I have to do this manually......netbeans does not provide this conversion from existing java project to Maven Project??(But I think its possible using Eclipse...Am i correct???)

 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You generally have to manually change your project yes.
 
pallavi chaudhari
Ranch Hand
Posts: 54
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Martijn Verburg wrote:You generally have to manually change your project yes.



Ok.....I am doing that.....I need artifact id for org.apache.commons.pool.ObectPool

please tell......i searched but not getting...
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look in mvnrepository.com and also search for "Maven Search sites" in google, it'll come up with a few more, best of luck!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic