mvn install - skipping modules that only contain test code

2010-04-06 Thread sebb
I have a multi-module project which includes several modules that only contain test code. At present the install goal copies all the test jars to the local repository. Is there any way of skipping the install phase for these modules?

Re: mvn install - skipping modules that only contain test code

2010-04-06 Thread Wayne Fay
At present the install goal copies all the test jars to the local repository. Is there any way of skipping the install phase for these modules? Does it really hurt to copy them to the local repo? This is how Maven works. Wayne

RE: mvn install - skipping modules that only contain test code

2010-04-06 Thread Ludwig Magnusson
modules that only contain test code At present the install goal copies all the test jars to the local repository. Is there any way of skipping the install phase for these modules? Does it really hurt to copy them to the local repo? This is how Maven works. Wayne

Re: mvn install - skipping modules that only contain test code

2010-04-06 Thread Kathryn Huxtable
Subject: Re: mvn install - skipping modules that only contain test code At present the install goal copies all the test jars to the local repository. Is there any way of skipping the install phase for these modules? Does it really hurt to copy them to the local repo? This is how Maven works

RE: mvn install - skipping modules that only contain test code

2010-04-06 Thread Ludwig Magnusson
:32 To: Maven Users List Subject: Re: mvn install - skipping modules that only contain test code But why would anyone care what gets pulled into the local repository? I'm with Wayne on this one. That's how Maven works. An artifact is like a point in spacetime. It has coordinates and is immutable

Re: mvn install - skipping modules that only contain test code

2010-04-06 Thread Kathryn Huxtable
: Kathryn Huxtable [mailto:kath...@kathrynhuxtable.org] Sent: den 6 april 2010 21:32 To: Maven Users List Subject: Re: mvn install - skipping modules that only contain test code But why would anyone care what gets pulled into the local repository? I'm with Wayne on this one. That's how Maven

Re: mvn install - skipping modules that only contain test code

2010-04-06 Thread David Hoffer
[mailto:kath...@kathrynhuxtable.org] Sent: den 6 april 2010 21:32 To: Maven Users List Subject: Re: mvn install - skipping modules that only contain test code But why would anyone care what gets pulled into the local repository? I'm with Wayne on this one. That's how Maven works. An artifact is like

Re: mvn install - skipping modules that only contain test code

2010-04-06 Thread Jörg Schaible
sebb wrote: I have a multi-module project which includes several modules that only contain test code. At present the install goal copies all the test jars to the local repository. Is there any way of skipping the install phase for these modules? Did you already try to define local repo

RE: mvn install - skipping modules that only contain test code

2010-04-06 Thread Ludwig Magnusson
Subject: Re: mvn install - skipping modules that only contain test code Ah. I misunderstood. I thought you meant it wouldn't pull in dependencies. No, the repository only makes sense for things that can be dependencies, or are used in building or deploying artifacts. My two current projects

RE: mvn install - skipping modules that only contain test code

2010-04-06 Thread Ludwig Magnusson
Huxtable [mailto:kath...@kathrynhuxtable.org] Sent: den 6 april 2010 21:32 To: Maven Users List Subject: Re: mvn install - skipping modules that only contain test code But why would anyone care what gets pulled into the local repository? I'm with Wayne on this one. That's how Maven works