Restricting versions of transitive dependencies

2012-01-15 Thread Stuart Sierra
Hello, list! I have a project A that has a dependency on library B. Library B has a dependency on library C with a version range like [2.1,3.0). I want to pin library C to a specific version in my project A. But I also want to declare, in the POM, that library C is not a *direct* dependency of my

Re: Maven release from Git branch

2011-09-23 Thread Stuart Sierra
On 17/09/2011, at 12:37 AM, Stuart Sierra wrote: I use Git, maven-release-plugin, Hudson, and the Hudson M2 Release Plugin. Can I perform a release from a Git branch other than master? On Mon, Sep 19, 2011 at 4:17 AM, Brett Porter br...@apache.org wrote: I believe so. You may need to set

Maven release from Git branch

2011-09-16 Thread Stuart Sierra
Steps Plugin runs git push origin master `git tag | grep -v ^hudson` to update Git tags. If I change my Hudson config to build a different branch, like 1.2.x, will the maven-release-plugin still do the right thing? Thanks, -Stuart Sierra clojure.com

Lifecycle for interactive development

2011-05-13 Thread Stuart Sierra
for listening, comments welcome. -Stuart Sierra clojure.com - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Multiple log4j properties file

2010-09-25 Thread Stuart Sierra
On Thu, Sep 23, 2010 at 11:38 PM, Sridhar Laxmipuram Srinivasan sridh...@yahoo-inc.com wrote: Oh! So you are including a different log4j file thru system properties ? No, I use one Log4J properties file, with system properties inside it. Like this: log4j.rootLogger=debug, R

Re: Release version numbers in large multi-module project

2010-09-23 Thread Stuart Sierra
On Tue, Sep 21, 2010 at 8:16 AM, Anders Hammar and...@hammar.net wrote: Not sure I understand. But basically, the end user controls the transitive dependencies. Your artifacts can't do that. So if he wants to use version A of Clojure, he can do that regardless of the version of your artifacts

Re: Multiple log4j properties file

2010-09-23 Thread Stuart Sierra
One technique I've used is to embed Java system properties in the log4j.properties file with the ${property.name} syntax. Then I set that property to a different value for each process. -S On Tue, Sep 21, 2010 at 6:39 AM, Sridhar Laxmipuram Srinivasan sridh...@yahoo-inc.com wrote: Hi, Can

Re: Release version numbers in large multi-module project

2010-09-21 Thread Stuart Sierra
On Tue, Sep 21, 2010 at 7:32 AM, Mark Derricutt m...@talios.com wrote: Neat :)  Is the plan here to have 61 individual releases/version numbers or a single release for the entire collection? 61 individual versions was my original plan, but now I'm balking at the complexity of that. I'm open to

Re: Release version numbers in large multi-module project

2010-09-21 Thread Stuart Sierra
On Tue, Sep 21, 2010 at 4:12 PM, Mark Derricutt m...@talios.com wrote: From my understanding of the clojure-contrib library, there's currently two project trees for clojure 1.1.0 and 1.2.0 - which differ where there are incompatibles in clojure library versions. Not really. There are branches

Release version numbers in large multi-module project

2010-09-20 Thread Stuart Sierra
Hello, Maveners, I'm managing the build for clojure-contrib, a diverse collection of libraries for the Clojure programming language. After several releases as a monolithic JAR, I nudged ;-) the community into a multi-module build. Now I have 61 sub-modules, all depending on a single parent

What happened to commons-net 2.1?

2010-07-27 Thread Stuart Sierra
Does anyone know what happened to Apache commons-net version 2.1? It was in the Maven central repository as of a couple of weeks ago. I was using it in my projects. Now it's disappeared. See for yourself: http://repo2.maven.org/maven2/commons-net/commons-net/ Even the metadata file at

Re: Missing javac in maven-antrun-plugin task

2009-09-30 Thread Stuart Sierra
On Tue, Sep 29, 2009 at 3:39 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: set javac to fork I could, but not without mofifying the original JRuby build.xml. That's what I'm trying to avoid. Running with the Maven exec plugin works for my purposes, though. -SS

Missing javac in maven-antrun-plugin task

2009-09-29 Thread Stuart Sierra
Hi, I have a Maven project that needs to call an Ant script (to build a customized JRuby), which calls another Ant script (to compile JRuby itself). My POM contains: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId

Depending on all submodules of a parent

2009-09-11 Thread Stuart Sierra
Hi folks, Getting started with Maven 2.0.9, I want to use the Sesame RDF library. The POM is here: http://repo.aduna-software.org/maven2/releases/org/openrdf/sesame/sesame/2.2.4/sesame-2.2.4.pom It has 3 modules, and those modules contain many submodules. Can I include ALL the submodules of