aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes how to configure my already existing project in Maven Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "how to configure my already existing project in Maven" Watch "how to configure my already existing project in Maven" New topic
Author

how to configure my already existing project in Maven

pallavi chaudhari
Ranch Hand

Joined: Jul 02, 2008
Posts: 54
hello friends,

plese tell me, how to configure my already existing project in Maven???
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

What have you tried so far? Have you read the Maven quickstart guides on their website?


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
pallavi chaudhari
Ranch Hand

Joined: Jul 02, 2008
Posts: 54
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

Joined: Jun 24, 2003
Posts: 3274
    
    5

Well firstly, have you enabled the Maven plugin for Netbeans?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

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


JBoss In Action
pallavi chaudhari
Ranch Hand

Joined: Jul 02, 2008
Posts: 54
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

Joined: Jul 02, 2008
Posts: 54
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

Joined: Jun 24, 2003
Posts: 3274
    
    5

You generally have to manually change your project yes.
pallavi chaudhari
Ranch Hand

Joined: Jul 02, 2008
Posts: 54
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

Joined: Jun 24, 2003
Posts: 3274
    
    5

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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to configure my already existing project in Maven