Re: File system repo

2009-12-02 Thread Tamás Cservenák
Hi there, This thread started at Mon, Nov 9, 2009 at 8:00 PM, and last response is sent on Tue, Dec 1, 2009 at 11:58 PM (my local TZ, but i want to point out the duration). Installing _any_ MRM out there lasts certainly well under 1 hrs (some of them even under 10 minutes if you don't count the

Re: File system repo

2009-12-02 Thread Anders Hammar
Seems as we keep on repeating this best-practice. Still people try to prove us wrong... /Anders 2009/12/2 Tamás Cservenák ta...@cservenak.net Hi there, This thread started at Mon, Nov 9, 2009 at 8:00 PM, and last response is sent on Tue, Dec 1, 2009 at 11:58 PM (my local TZ, but i want to

Re: File system repo

2009-12-01 Thread monkeyden
Hi Wayne. I have my build working fine, it's just not including the system scoped jars in my war's WEB-INF/lib directory. It seems the system scope does not include them. Any idea how I can get them into the resulting artifact? Thanks, as always Wayne Fay wrote: System scope is/soon

Re: File system repo

2009-12-01 Thread Wayne Fay
Hi Wayne.  I have my build working fine, it's just not including the system scoped jars in my war's WEB-INF/lib directory.  It seems the system scope does not include them.  Any idea how I can get them into the resulting artifact? This is exactly how system scope is supposed to work -- it

Re: File system repo

2009-12-01 Thread monkeyden
So I guess the question is, how then can you get a jar file, which is not installed in any repository, onto the compile classpath then into your ear/war file? Wayne Fay wrote: Hi Wayne.  I have my build working fine, it's just not including the system scoped jars in my war's WEB-INF/lib

Re: File system repo

2009-12-01 Thread Baptiste MATHUS
Either deploy this file in the third-party part of your maven repository manager, or just install it locally. (using deploy:deploy-file or install:install-file, or directly through the mrm artifact upload gui). Btw, the best choice is the first one : set up a mrm and deploy the jar you need.

Re: File system repo

2009-12-01 Thread Wayne Fay
So I guess the question is, how then can you get a jar file, which is not installed in any repository, onto the compile classpath then into your ear/war file? You can't, at least, I don't know how to do it. Your original post said that you'd prefer not to install them into your repo. Maven is

Re: File system repo

2009-11-11 Thread monkeyden
I own and have read the book. Perhaps repo is overstating what I'm trying to do here. I'm really just trying to pull 2 arbitrary jars into my build. The phrase file system repo just seemed to do what I wanted. Apparently, it doesn't mean what I took it to mean. There is nothing in the book

Re: File system repo

2009-11-11 Thread Adam Leggett (UPCO)
Have you considered/tried specifying the arbitrary jars as system scoped dependencies? http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope On Wed, 2009-11-11 at 08:34 -0800, monkeyden wrote: I own and have read the book. Perhaps repo is

Re: File system repo

2009-11-11 Thread monkeyden
exactly what I was looking for. thanks Adam. Adam Leggett (UPCO) wrote: Have you considered/tried specifying the arbitrary jars as system scoped dependencies? http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope On Wed, 2009-11-11 at

Re: File system repo

2009-11-11 Thread Wayne Fay
Have you considered/tried specifying the arbitrary jars as system scoped dependencies? This is not the way to go. System scope is/soon will be deprecated. You will run into problems with your build if you do this -- system scoped dependencies do not behave the way you might expect (not included

RE: File system repo

2009-11-11 Thread Jim McCaskey
: File system repo Have you considered/tried specifying the arbitrary jars as system scoped dependencies? This is not the way to go. System scope is/soon will be deprecated. You will run into problems with your build if you do this -- system scoped dependencies do not behave the way you might expect

Re: File system repo

2009-11-11 Thread Wayne Fay
System scope is/soon will be deprecated. That really can't be true, can it?  I have found that very useful in any number of situations. I suppose we'd need someone from the Maven PMC to weigh in to know for sure... but this is my understanding. Of course, I haven't seen anything yet about

Re: File system repo

2009-11-10 Thread monkeyden
Hi Wendy, thanks for the response. This is the error I get for each of the 2 jars: Error message: Missing: -- 1) com.mycompany:ProjectNextQuattro:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file

Re: File system repo

2009-11-10 Thread Anders Hammar
If it's a file repo, you just need to copy the jar and the pom to the right directory. /Anders On Tue, Nov 10, 2009 at 09:47, monkeyden monk...@monkeyden.com wrote: Hi Wendy, thanks for the response. This is the error I get for each of the 2 jars: Error message: Missing: -- 1)

Re: File system repo

2009-11-10 Thread Wayne Fay
Is there an install command for file system repos, like there is for installation to the default local repo (~/.m2/..)? Did you read the error message?? Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.mycompany

Re: File system repo

2009-11-10 Thread monkeyden
Right, it only refers to the default local maven repo, not this local one. After having added the following paths to my project: com/mycompany/ProjectNextQuattro/1.0 com/mycompany/ProjectNextPojos/1.0 with the following dependencies: dependency

Re: File system repo

2009-11-10 Thread Anders Hammar
Hmm, I think there is major confusion here regarding Maven terminology here. In Maven, you have ONE local repo. It could be in the default %USER_HOME%/-m2/repository/ or you can change that through settings.xml. However, when you say file system repo I thought you meant a file system based remote

Re: File system repo

2009-11-10 Thread Wendy Smoak
On Tue, Nov 10, 2009 at 12:01 PM, monkeyden monk...@monkeyden.com wrote: Right, it only refers to the default local maven repo, not this local one. As Anders pointed out, you have exactly one local repository, usually in ~/.m2/repository (though it can be moved.) This repo you're trying to

Re: File system repo

2009-11-10 Thread monkeyden
As I said, for a couple different reasons, we can't convert these projects to maven just yet. These are simply directories in my maven project. They are created manually and they each contain a jar file and a pom file. If this isn't possible then what is a file system repository, if anything?

RE: File system repo

2009-11-10 Thread Martin Gainty
fourni. Date: Tue, 10 Nov 2009 14:34:58 -0800 From: monk...@monkeyden.com To: users@maven.apache.org Subject: Re: File system repo As I said, for a couple different reasons, we can't convert these projects to maven just yet. These are simply directories in my maven project

Re: File system repo

2009-11-10 Thread Wendy Smoak
On Tue, Nov 10, 2009 at 3:34 PM, monkeyden monk...@monkeyden.com wrote: These are simply directories in my maven project.  They are created manually and they each contain a jar file and a pom file.  If this isn't possible then what is a file system repository, if anything?  Is it just the

Re: File system repo

2009-11-10 Thread Anders Hammar
I would also argue that you should read up on Maven and how it uses repos. It's much easier if you actually understand the core Maven stuff, than us telling you what to do. Less misunderstandings for one thing. http://www.sonatype.com/documentation/books/maven-defguide /Anders On Wed, Nov 11,

Re: File system repo

2009-11-09 Thread Wendy Smoak
On Mon, Nov 9, 2009 at 12:00 PM, monkeyden monk...@monkeyden.com wrote: I have several projects which can't be converted over to maven right now, mostly because of time constraints.  The artifacts of these projects will be used in a maven project.  I'd prefer not to install them into my

Re: File system repo

2009-11-09 Thread Jörg Schaible
monkeyden wrote: I have several projects which can't be converted over to maven right now, mostly because of time constraints. The artifacts of these projects will be used in a maven project. I'd prefer not to install them into my repository, so I am trying to create a file system

RE: file system repo not work

2008-03-28 Thread Brian E. Fox
Which eclipse plugin are you using? Maven-eclipse-plugin, m2eclipse or q4e? -Original Message- From: Alessandro Ferrucci [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2008 11:29 AM To: users@maven.apache.org Subject: file system repo not work Hello, I have the relevant pom snippet

Re: file system repo not work

2008-03-28 Thread Alessandro Ferrucci
I am using m2eclipse. thanks alessandro ferrucci Brian E. Fox wrote: Which eclipse plugin are you using? Maven-eclipse-plugin, m2eclipse or q4e? -Original Message- From: Alessandro Ferrucci [mailto:[EMAIL PROTECTED] Sent: Friday, March 28, 2008 11:29 AM To: users@maven.apache.org