Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Steve Francolla
Yes, it includes the classes of the 3rd party lib directly extracted within your classpath. In my opinion... a project exists in two forms, source and package. The package can be referenced as a dependency in other projects. The source is the manager of what gets built into the package. So, as

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Benoît Thiébault
I'm at chapter 11, I guess I read this part too quickly. Very good book by the way Regarding mvn-shade, I'm not really sure I understood what it does: does it include the classes of this third party library within my software package ? Seems good to me (even though I have no idea if this is a rec

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Steve Francolla
Forgot to mention that mvn-shade will also produce an updated-dependency-pom.xml (or similarly named) where white-listed lib's dependency on your local repo will be removed from the packaged pom.xml. I use mvn-shade with mvn release plugin to deploy to Nexus OSS repo with those adjustments. On

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Steve Francolla
You can install the lib to your local system repo and then completely avoid others having the anticipated dependency build problem by applying the mvn-shade-plugin: (1) mvn install the lib to my local system repo. mvn install:install-file -Dfile=lib\.jar -DgroupId= -DartifactId= -Dversion= -Dpack

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread David Hoffer
I don't work on open source projects so I haven't faced this issue. However I would think that the same server you plan to use to host your project on could be used to host the dependency; the key is that it has to be available just like yours. -Dave 2010/3/30 Benoît Thiébault : > My software is

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread nicolas de loof
you should read chapter 6, it explains the issue you get here :) The short term solution is to write a custom pom and use mvn install:install-file If you plan to share the project with other in your company, or on the Net, you will have to document this step and loose some advantages of Maven. Wo

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Benoît Thiébault
My software is an open source project (not released yet). I currently compile it with Ant and I store in my lib folder the JAR I manually downloaded on the net. What will happen when I release the software ? I guess I will have to provide this dependency JAR as well to new developers... This is

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Wendy Smoak
2010/3/30 Benoît Thiébault : > My software depends on an open source software, jlibeps > (http://jlibeps.sourceforge.net/), but I can't find it in any Maven > repository. This library seems not very maintained anymore, but it does what > I need it to do. I don't want (yet) to host my own Maven r

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread David Hoffer
You need local maven repository manager...something like Artifactory...very easy to setup. -Dave 2010/3/30 Benoît Thiébault : > Hello everyone, > > I am currently reading the very good Maven book from Nicolas De loof and > Arnaud Héritier (written in French) and I have decided to convert one of

Re: Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Jeff MAURY
If it does not exist on the cloud, don't try to put it there, there are probably many reasons for that. I would recommand that you install a Maven repository manager like Nexus and once you've set it up, then deploy on it the missing jar and all your internal Maven projects will see it now !!! Reg

Beginner question: I can't find the library i'm using on the repository

2010-03-30 Thread Benoît Thiébault
Hello everyone, I am currently reading the very good Maven book from Nicolas De loof and Arnaud Héritier (written in French) and I have decided to convert one of my test projects to Maven. Unfortunately, I already have a problem :-). My software depends on an open source software, jlibeps (htt