Re: Advice on Resolving Maven Circular Dependency

2009-10-16 Thread Kalle Korhonen
I'd just put those tests in domain-builder module and call them integration tests. After all, they are testing the builder classes just as well as the domain classes. Kalle On Fri, Oct 16, 2009 at 10:41 AM, leojhartiv wrote: > > I have the following project hierarchy: > > parent > -pom.xml > -d

Re: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Brian Fox
> I'd like to think of a repo manager as "part of using maven 2". I like a better analogy. You can share source code with a shared folder on a server, but no one does that anymore. They use a tool called Source Control. A repo manager is scm for your binaries. ;-) We have a nexus list if you wan

Re: Standalone Maven Embedder

2009-10-16 Thread Jason van Zyl
On 2009-10-16, at 5:59 PM, dreedyman wrote: Jason, Thanks for the followup. I've taken a look at m2eclipse, and I frankly dont see any examples of how to use embedding in a standalone way. Perhaps you can point me to specific references? The fundamental issue here seems to be bootstrapp

Re: Standalone Maven Embedder

2009-10-16 Thread dreedyman
Jason, Thanks for the followup. I've taken a look at m2eclipse, and I frankly dont see any examples of how to use embedding in a standalone way. Perhaps you can point me to specific references? The fundamental issue here seems to be bootstrapping the maven environment via the plexus container. I

Re: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Larry Shatzer, Jr.
On Fri, Oct 16, 2009 at 5:32 PM, Rob S. wrote: > Hi Larry, > Are you referring to the ability to disable the proxying behaviour while > allowing the group to still serve what it has at that moment time? > > Rob See http://sonatype.com/products/nexus/features/artifact_procurement for some videos a

'Invalid or missing parameters' problem when running plugin

2009-10-16 Thread aldana
hi, i am using mojo-executor extension (http://code.google.com/p/mojo-executor/) which i use for my custom plugin to call up jetty-maven-plugin. problem is that somehow properties are getting overridden, when the jetty plugin is called up: org.mortbay.jetty:maven-jetty-plugin. Reason: Invalid o

Re: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Rob S.
Hi Larry, Are you referring to the ability to disable the proxying behaviour while allowing the group to still serve what it has at that moment time? Rob On Fri, Oct 16, 2009 at 4:26 PM, Larry Shatzer, Jr. wrote: > On Fri, Oct 16, 2009 at 5:14 PM, Rob Slifka wrote: > > Hi everyone, > > Nexus we

Re: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Larry Shatzer, Jr.
On Fri, Oct 16, 2009 at 5:14 PM, Rob Slifka wrote: > Hi everyone, > Nexus went in and is working without a hitch!  I'm proxying everything > through the single /public group and it's working well. > > The only question I have now is how to lock down the proxying behaviour, > with respect to the wo

RE: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Lacoste, Dana (TSG Software San Diego)
I'm using artifactory to do this and do it with two sets of "virtual" repositories. One is used to download anything, the other is used for only "blessed" builds. I haven't used Nexus, but I'm sure there's something similar: basically it would mean that you have one set of settings.xml configur

Re: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Rob Slifka
Hi everyone, Nexus went in and is working without a hitch! I'm proxying everything through the single /public group and it's working well. The only question I have now is how to lock down the proxying behaviour, with respect to the workflow I mentioned previously. Everyone points to /public alth

Re: Standalone Maven Embedder

2009-10-16 Thread Jason van Zyl
That it won't be supported until the 3.0 betas. The APIs are still changing and official will arrive with documentation. Until then there are plenty of examples in m2eclipse. It will be supported as a whole for the whole community when it's ready. There is no ETA for 3.0 yet. On 2009-10-16

JNLP webstart-maven-plugin jar version issue

2009-10-16 Thread chicagopooldude
Hi Every one, First thanks for looking, I am using webstart-maven-plugin to create JNLP files like this from vm files true

Re: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Robert Slifka
Thanks so much Quintin, I don't expect to have any more questions! Have a good weekend everyone, and thanks for the help. Rob -- From: "Quintin Beukes" Sent: Friday, October 16, 2009 1:03 PM To: "Maven Users List" Subject: Re: Hosting a local re

Re: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Quintin Beukes
Here is the nexus book. It explains where to get it, how to install it and how to use it. Took me about 10 minutes from where I finished downloading it for the first time, till where it was setup and configured with scheduled tasks and hosted for the whole network, integrated into the system init,

Re: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Quintin Beukes
In the nexus book they use that as an example. You basically do it when you configure the element in your settings.xml. By matching the mirror against everything, then maven will query your Nexus no matter what the repository's URL is. Quintin Beukes On Fri, Oct 16, 2009 at 9:55 PM, Rob Slifk

Re: speedier builds possible?

2009-10-16 Thread Roger Pack
On Mon, Aug 17, 2009 at 11:50 PM, Kees van Dieren wrote: > Probably you will like this: > http://maven.apache.org/plugins/maven-reactor-plugin/ > > Make for maven. Oh wow that is perfect. You can call it like: $ mvn reactor:resume -Dfrom=some_module # rebuilds some_module and any children that

Re: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Rob Slifka
Alright, alright! :) I'll have a look at Nexus and go from there. Is there a way to tell Maven "Only look at the Nexus repo, fail otherwise" ? Perhaps it will become clear after using Nexus. Rob On Fri, Oct 16, 2009 at 12:08 PM, Quintin Beukes wrote: > > I'd like to think of a repo manager as

Re: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Quintin Beukes
> I'd like to think of a repo manager as "part of using maven 2". This is a very good way of seeing it. If you don't see it as yet another complexity added into the build process, but accepting it as part of Maven in the first place, then you remove this "extra complexity". I completely understand

RE: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread EJ Ciramella
So you don't drown in all this kool-aid being sloshed at you - think of it another way. I'd like to think of a repo manager as "part of using maven 2". Build infrastructures are no longer "sprinkle make all over the place and glue it all together with perl". They've evolved greatly since those

Re: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Quintin Beukes
I'm with the repo manager. I also went the local repo route, and it was alot of hassle, until someone recommended Nexus. I downloaded and was setup in 10 minutes (just start it and use the gui to configure it). I should have done this from the start. Further, overriding your repos in the POM just

Re: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Wendy Smoak
On Fri, Oct 16, 2009 at 11:15 AM, Rob Slifka wrote: > I'm working on wrapping my head around setting up an internal "blessed" > repository and being assured that Maven will fail when a dependency is not > found there. > > (1) Clear my local repo. > (2) Run Maven through our lifecycle (clean, compi

RE: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread EJ Ciramella
I second this opinion (repository manager is the way to go). We started by sharing a local repo and after about oh, say, a week, I was all set with that. Then we tried the deploy mechanism to just a file share on another server. Gave up on that in another week. Then I put archiva in place and

RE: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Todd Thiessen
Thats the thing. Using a repo manager is the simplest way to host a local repo. It would take you far longer and much more maintenance on your part to try and set it up yourself. --- Todd Thiessen > -Original Message- > From: Rob Slifka [mailto:r...@tintri.com] > Sent: Friday, October

Re: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Rob Slifka
Hi Todd, It's just more software to install and maintain which I'd like to avoid. Our 3 projects have a grand total of 2 dependencies at the moment. I love what Maven gives us in terms of a simplified build/project mgmt approach although I'm not interesting in adding more complexity to the build

RE: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Lacoste, Dana (TSG Software San Diego)
My thoughts (we were doing something similar) 1 - Don't copy the local repo. Use the maven "deploy" step to deploy to a local location (file: URL), and share _that_. 2 - Once you've done this for a while, you'll use a repository manager :) Dana Lacoste -Original Message- From: Rob Slif

RE: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Todd Thiessen
Whats wrong with using a repo manager? It simplifies the problem you are trying to solve. --- Todd Thiessen > -Original Message- > From: Rob Slifka [mailto:r...@tintri.com] > Sent: Friday, October 16, 2009 2:16 PM > To: Maven Users List > Subject: Hosting a local repo w/out a Repo Mana

Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Rob Slifka
Hi all, I'm working on wrapping my head around setting up an internal "blessed" repository and being assured that Maven will fail when a dependency is not found there. (1) Clear my local repo. (2) Run Maven through our lifecycle (clean, compile, package, test, etc.). (3) Take the contents of my no

Advice on Resolving Maven Circular Dependency

2009-10-16 Thread leojhartiv
I have the following project hierarchy: parent -pom.xml -domain --pom.xml -domain-builder --pom.xml The domain project contains (surprise) all of my domain objects: Account Person User etc. The domain-builder project represents the "Test Data Builder Pattern" (http://nat.truemesh.com/a

Re: Snow Leopard maven

2009-10-16 Thread Carr, Brian M
Do you have a m2_home environment variable set? This was causing issues for me since the osx version of maven moved to a different path. --b __ Brian M. Carr Identity and Access Management ITS Applications University of Texas at Austin V: 512-232-6419 F: 512-471-574

Snow Leopard maven

2009-10-16 Thread Alexander Petri
Hi, since my update to snowleopard i have the problem that i can start mvn just with "sudo". Is there an option to start maven like under macos x 10.5.8? thanks - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For

Re: Standalone Maven Embedder

2009-10-16 Thread dreedyman
Wow, I cant tell you how disappointed I am. Not just that the Maven team will not be supporting embedding in the 3.0 betas, but the brush off of "go read the source code". So when is the delivery plan for 3.0 release planned? jvanzyl wrote: > > As I've stated on the dev list the embedder, or m

Re: Standalone Maven Embedder

2009-10-16 Thread Jason van Zyl
As I've stated on the dev list the embedder, or more accurately, embedding will not be supported in the Maven 3.0 betas. Reading the source code, or looking at M2Eclipse are your options for now. On 2009-10-16, at 7:54 AM, dreedyman wrote: Hi, I am trying to use the maven-embedder outside

Standalone Maven Embedder

2009-10-16 Thread dreedyman
Hi, I am trying to use the maven-embedder outside of my Maven project and have not been successful. I'm hoping someone can lend some assistance. The code tries to get the PlexusContainer from the embedder in order to lookup the ArtifactResolver, ArtifactFactory, ArtifactMetadataSource and MavenP

Re: Easiest way to build in connectionless environment?

2009-10-16 Thread Nick Stolwijk
Make a copy of your settings file and add to that: /tmp/tmpRepository userrepository User Repository file://${user.home}/.m2/repository * Now do a mvn install -s settings.xml and you have all the plugins and dependencies you need for the current build in /t

Re: How to avoid multiple spring versions?

2009-10-16 Thread Wim Deblauwe
Good tip! Thanks for that. 2009/10/16 Nick Stolwijk > And if you stop using the spring uberjar, you can also use the enforcer > plugin to keep it away. > >org.apache.maven.plugins >maven-enforcer-plugin > > >

Re: How to avoid multiple spring versions?

2009-10-16 Thread Nick Stolwijk
And if you stop using the spring uberjar, you can also use the enforcer plugin to keep it away. org.apache.maven.plugins maven-enforcer-plugin enforce rules

[ANN] Maven Source Plugin 2.1.1 Released

2009-10-16 Thread Arnaud HERITIER
Hi, The Maven team is pleased to announce the release of the Maven Source Plugin, version 2.1.1 The Source Plugin creates a jar archive of the source files of the current project. http://maven.apache.org/plugins/maven-source-plugin/ You should specify the version in your project's plugin config

Re: Easiest way to build in connectionless environment?

2009-10-16 Thread janneefef
janneefef wrote: > > We're using maven day to day in normal developer environment. People do > their builds on the local computer and dependencies get automatically > fetched to the local repositories. > > Now occasionally there's need to build project X on some computer Y which > has no intern

Easiest way to build in connectionless environment?

2009-10-16 Thread janneefef
We're using maven day to day in normal developer environment. People do their builds on the local computer and dependencies get automatically fetched to the local repositories. Now occasionally there's need to build project X on some computer Y which has no internet connection. How can this be do

Re: Turn-off maven-source-plugin during release

2009-10-16 Thread Olivier Lamy
Hi Have a look at useReleaseProfile property [1]. -- Olivier [1] http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#useReleaseProfile 2009/10/16 David Meunier : > Hi, I wonder if it was possible to turn-off the maven-source-plugin during > release (like maven-javadoc-plugin w

Turn-off maven-source-plugin during release

2009-10-16 Thread David Meunier
Hi, I wonder if it was possible to turn-off the maven-source-plugin during release (like maven-javadoc-plugin with "skip" property) ? Best regards, David Meunier.

RE: Property resolution

2009-10-16 Thread Roland Asmann
Yes, I am. But reading that again and checking with a MOJO I wrote, I guess I don't see it because the variable points to a java.io.File and not a String... However, I've found that I can get the local repository in Surefire as it is in the system-properties as 'localRepository'. Roland > Are y

RE: Property resolution

2009-10-16 Thread Jamie Whitehouse
Are you passing these to surefire as system properties? http://maven.apache.org/plugins/maven-surefire-plugin/examples/system-properties.html If not, how are you passing them? -Original Message- From: Roland Asmann [mailto:roland.asm...@cfc.at] Sent: Thursday, October 15, 2009 2:13 PM