Link to home
Start Free TrialLog in
Avatar of mdoland
mdoland

asked on

Mavenproject with NetBeans

Sometimes I have a Maven project and want to add dependencies to files that I don't have a POM for. What do I do then? SOmetimes it's just a quick fix I want to achieve. Is there another way to do it than just register the POM to my local repository accordingly? Or is there  a fast way to do it? Any good tools? How do you do this? Please elaborate...
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Since no one has answered this question, I would like to interject, and say that I didn't know that you could have a Maven project without a pom.xml file, since it is the "build file" or "make file"?  I am curious how it can work without one.

I also have to say that I don't have much experience with Maven, so I am interested in learning different approaches.
Avatar of mdoland
mdoland

ASKER

Thanks for the reply. I have one project X that has a POM-file. Then I have some .jar files that I want to add as a dependecy to the X-project. To my understanding the normal way of doing this would be to insert the "Maven-path" to each .jar file with version number and so on.

So, what if a person sent me 2 .jar files Y.jar and Z.jar? What is prefered way of doing it? Put Y.jar and Z.jar in my local Maven repository?
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial