Re: Unmanaged dependency question

2014-06-01 Thread Matt Whiteman
Er hrm, I'm not sure why this sent again, but ignore it. Question already answered, thanks! Matt On May 30, 2014 at 4:39 PM Matt Whiteman wrote: > Hi, > > > > This has probably been answered before, but I haven't been able to find the > answer and I'm hoping someone knows. > > > > I'm writing se

Unmanaged dependency question

2014-06-01 Thread Matt Whiteman
Hi, This has probably been answered before, but I haven't been able to find the answer and I'm hoping someone knows. I'm writing several apps that talk to a Microsoft SQL database, so I'm using the Hibernate dependency. Since Microsoft doesn't make the sqljdbc4 jar available on Maven, I've

Re: Unmanaged dependency question

2014-05-31 Thread Wayne Fay
> so that I can do everything right. What I had been trying to do in the > meantime > is having it set up > so that when we set up a new development station, the user can simply clone > the > Github repo that > has these dependency projects and just do 'mvn install' on each one, then > build Ar

Re: Unmanaged dependency question

2014-05-31 Thread Jeff MAURY
The install-file is the way to go and it will be successful as soon as your work on your machine. If you want to distributed setup, then you must upload the JAR to a repository manager or install it on a shared maven repository and use that remote maven repository in your POM files Jeff On Sat,

Re: Unmanaged dependency question

2014-05-30 Thread Paul Benedict
I understand but you can't achieve this using a project to represent a pre-existing jar. Your attempt won't work. The "install-file" command is the correct solution; that is how you get it into your local repo without downloading it from a remote repo. On May 30, 2014 4:36 PM, "Matt Whiteman" wrot

Re: Unmanaged dependency question

2014-05-30 Thread Matt Whiteman
Hi Curtis, I'll take a look at that, thanks! Ideally, I'll eventually be able to have an internal Maven repository so that I can do everything right. What I had been trying to do in the meantime is having it set up so that when we set up a new development station, the user can simply clone the Git

Re: Unmanaged dependency question

2014-05-30 Thread Paul Benedict
I don't think you should make a project for your sql jar. My guess is when you build+install that, you're creating an empty and useless jar file and overwriting the good one you already placed in your local repo. The mvn:install:install-file thing works and is what I would expect as the answer. C

Re: Unmanaged dependency question

2014-05-30 Thread Curtis Rueden
Hi Matt, Have you seen this article? http://developer-blog.cloudbees.com/2013/03/playing-trade-offs-with-maven.html If you cannot deploy the Microsoft JARs to your own internal Maven repository, then you could try the non-maven-jar-plugin approach. It is strongly recommended over the "basedir rep

Unmanaged dependency question

2014-05-30 Thread Matt Whiteman
Hi, This has probably been answered before, but I haven't been able to find the answer and I'm hoping someone knows. I'm writing several apps that talk to a Microsoft SQL database, so I'm using the Hibernate dependency. Since Microsoft doesn't make the sqljdbc4 jar available on Maven, I've