How to inject settings into an EAR archive?

2006-01-31 Thread Grothaus, Christoph
Hi maven-users! I want to use m2 to build a J2EE app. So far I've set up a multiproject layout with modules for EJB-JAR, WAR and for EAR. Pretty straightforward. Now there come some extra requirements into play. I produce artefacts for different appservers, which all need slightly different setti

[maven-proxy] Problems with http proxies?

2006-02-06 Thread Grothaus, Christoph
Hi maven-users! I know this is a maven-proxy-related question, but I hope you can help me nevertheless, as the archives of maven-proxy (http://archive.maven-proxy.codehaus.org/user/) seem to be empty. I am trying to get up running maven-proxy 0.2 (http://dist.codehaus.org/maven-proxy/distribut

Re: [maven-proxy] Problems with http proxies?

2006-02-06 Thread Grothaus, Christoph
> 3) Configure the repositories that are being proxied by maven-proxy to use > the internet proxy just configured. > > repo.www-ibiblio-org.proxy=one > repo.dist-codehaus-org.proxy=one Damn! I must have overlooked those tiny last two lines for hundreds of times. Maybe there should be a hint in t

[m2] Multi-Project setup and

2006-02-08 Thread Grothaus, Christoph
Hi maven-users! I've got a m2 project with several levels of sub-modules, held together by a main pom of packaging type "pom". In each sub-module there is a entry pointing to the module above, including the tag pointing to "../" . I don't quite understand the use of the tag. If I build the

[m2] Is there a way to fork maven submodule processing in a reactor build?

2006-02-08 Thread Grothaus, Christoph
H maven-users? Is there a way to fork the execution of maven when doing a reactor build? I'm having a problem with the xdoclet-maven-plugin because of a bug in xdoclet itself (http://jira.codehaus.org/browse/MOJO-223). It's that issue where you can't use xdoclet when you call ejbdoclet as well

AW: Local repositories and POM/Checksum.

2006-02-09 Thread Grothaus, Christoph
Not install-file, but deploy-file! mvn deploy:deploy-file -DgroupId=GROUP_ID -DartifactId=ARTIFACT_ID -Dversion=VERSION -DgeneratePom=true -Dpackaging=jar -DrepositoryId=REPO_ID -Durl=scp://your.repo.host/PATH/TO/REPO -Dfile=PATH/TO/JAR Greets Christoph -Ursprüngliche Nachricht- Von: J

RE: [m2] Multi-Project setup and

2006-02-14 Thread Grothaus, Christoph
-Original Message- From: Edwin Punzalan [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 14, 2006 10:40 AM To: Maven Users List Subject: Re: [m2] Multi-Project setup and [...] > So the approach is, if you want to use an artifact, then that artifact > must have been previously built a

[m2] Antrun-Plugin not working

2006-02-14 Thread Grothaus, Christoph
Hi there, I have a problem here that didn't occur until yesterday. Have there been made any changes to the maven-antrun-plugin or to how maven handles classpaths? Situation: I have a multi-module J2EE project. In the EJB module I compile an EJB client, not with the maven-ejb-plugin, as it doesn

RE: [m2] Antrun-Plugin not working

2006-02-14 Thread Grothaus, Christoph
nment variables in a reactor build? It seems that maven does not propagate environment to child modules, so the task does not see JAVA_HOME, and thus does not find the rmic executable. How do I get around that? Regards, Christoph -Original Message----- From: Grothaus, Christoph [mailto:[E

RE: [m2] Antrun-Plugin not working

2006-02-15 Thread Grothaus, Christoph
he first time the plugin > is declared. > > The workaround is to put the antrun plugin in the toplevel, and add the > java jar to its plugin dependencies. > > Ruel Loehr > JBoss QA > > -Original Message- > From: Grothaus, Christoph [mailto:[EMAIL PROTECTED]

[m2] maven-antrun-plugin: detect maven lifecycle phase that is run

2006-02-15 Thread Grothaus, Christoph
Hi maven-users! Is there any way to detect which lifecycle phase / goal was called on the command line from inside the maven-antrun-plugin? Maybe via a pom property that is set accordingly? Background: I want to do some ant work with the antrun plugin, but only when the "deploy" phase is calle

RE: [m2] maven-antrun-plugin: detect maven lifecycle phase that is run

2006-02-15 Thread Grothaus, Christoph
Carlos, that's not what I meant. I mean to do some work in the compile phase, but only if the user requested the lifecycle to go as far as the deploy phase. But maybe I should not want to do this. Christoph -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of

RE: [m202] can I use filters to externalize my artifact version number?

2006-02-16 Thread Grothaus, Christoph
Bad idea. At least in the tags of your submodules you have to explicitly define the parent version number. If you do a reactor build, everything is fine without that. If you want to build a submodule standalone, Maven will ask the repository for the parent pom. Without version number, that wil