java - I just started learning Maven. How does Eclipse build without it? -
i've been coding java in eclipse awhile without needing specify dependencies. learned how maven it, i'm wondering: how did eclipse build projects on own? how did eclipse figure out versions of imports, , dependencies of dependencies, needed make work?
finally, advantages , disadvantages of building project in eclipse starting new->other->maven project instead of new->java project?
to first question: eclipse doesn't add dependency in standard java project. have manually add build path needed jars, otherwise you'll have compilation errors.
to second question: if create standard java project maven not used, if create pom.xml file in root of project. can convert standard java project in maven project (see convert existing eclipse project maven project).
Comments
Post a Comment