java - importing a whole project into Maven (Eclipse Juno) -


i have folder contains java code, written linux.

there pom.xml file , 2 folders called: src , build

i have installed eclipse juno on mac (10.7.5) , understand has maven included. on linux machine, code executed entering mvn package @ command line.

but after stage, during execution of build artifact, doesn't run on mac, because of commands specific linux (i told).

how import whole project maven on mac? mean copy folders , pom file?

thank you, h

complementing evgeniy dorofeev's answer:

if project in git repository , use egit, might want import this:

file->import->git->projects git 

after import can convert project maven project , update project settings.


Comments

Popular posts from this blog

asp.net mvc 3 - Using mvc3, I need to add a username/password to the sql connection string at runtime -

kineticjs - draw multiple lines and delete individual line -

thumbnails - jQuery image rotate on hover -