Seems as we keep on repeating this best-practice. Still people try to prove
us wrong...
/Anders
2009/12/2 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 d
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 d
> 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. Mave
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.
Che
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/
> 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
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
>> 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 abou
ject: Re: 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
> 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
include
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-
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 over
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 boo
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, 200
On Tue, Nov 10, 2009 at 3:34 PM, monkeyden 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 local maven repo (in
esponsabilité
pour le contenu 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
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?
On Tue, Nov 10, 2009 at 12:01 PM, monkeyden 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 create in the 'lib' di
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 remot
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:
com.mycompany
> 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
> -
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 wrote:
>
> Hi Wendy, thanks for the response. This is the error I get for each of the
> 2
> jars:
>
> Error message: Missing:
> --
> 1) com.mycompany:
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
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 r
On Mon, Nov 9, 2009 at 12:00 PM, 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 try
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
Su
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 b
27 matches
Mail list logo