Re: Confused about compiler used for release

2010-07-22 Thread Stephen Connolly
probably you have a disconnect between your PATH and JAVA_HOME environment variables. release:prepare sort of forks a maven process and the environment may be different in that case. For example we have a project that is half built with ANT and half built with Maven. currently our release process

Re: Writing a plugin, intercepting resource plugin...

2010-07-22 Thread Wayne Fay
> I am thinking about a plugin, that when present in a maven pom plugins > set should automatically adds some special source and target folder to > the resources plugin, so that some special resources are copied > without having to configure them in the resources plugin itself. How > do I do that ?

Writing a plugin, intercepting resource plugin...

2010-07-22 Thread Kai Hackemesser
Hello, I am thinking about a plugin, that when present in a maven pom plugins set should automatically adds some special source and target folder to the resources plugin, so that some special resources are copied without having to configure them in the resources plugin itself. How do I do that ?

RE: Confused about compiler used for release

2010-07-22 Thread Martin Gainty
If the goal has a default phase binding then it will execute in that phase. But if the goal is not bound to any lifecycle phase then it simply won't be executed during the build lifecycle. to make sure you get the configuration attributes for each bind each execution phase to the plugins c

[ANN] Maven Ant Tasks 2.1.1 Released

2010-07-22 Thread Hervé Boutemy
The Maven team is pleased to announce the release of the Maven Ant Tasks, version 2.1.1 The Maven Ant Tasks allow several features of Maven to be used in an Ant build. This includes dependency management, reading and writing pom files, and deployment to a Maven repository. More information is

SCP javadoc to web server?

2010-07-22 Thread Meeusen, Christopher W.
Hi, I'm using the maven-javadoc-plugin to generate javadoc it works fine, but I'd like to know how to SCP the javadoc to our webserver. I have a server setup with apache2 and openSSH. Can I configure the javadoc plugin to SCP the files to my web server or do I need another plugin to deploy th

Re: dependency:copy with resolve, or dependency:copy-dependencies with specified artifact

2010-07-22 Thread Brian Fox
copy-dependencies has filters you can use to filter on scope, group, artifact etc On Thu, Jul 22, 2010 at 6:03 AM, Tom wrote: > I'm converting an applet project to use Maven. > > This means I have a applet artifact which uses all kinds of other Swing > related libraries and the actual WAR artifac

Confused about compiler used for release

2010-07-22 Thread Timothy Mcginnis
I am confused about something. I have a project where I have specified that the compiler target and source are to be 1.6. I can run mvn deploy and everything works fine. When I try to run mvn release:prepare it tells me the compiler (javac) does not support 1.6. Why is it using two different

Re: accessing the path of a jar in local repository

2010-07-22 Thread Jochen Stiepel
Hi Jason, sorry I don't know a direct way. Maybe you can reuse some of this code or output: http://maven.apache.org/plugins/maven-dependency-plugin/usage.html -> "The dependency:build-classpath mojo" which can be used to write the complete path into a file e.g. /home/foo/.m2/repository/org/jav

Re: Eclipse Maven WAS

2010-07-22 Thread Refr Bruhl
Excellent! Thanks! - Original Message From: Timothy Mcginnis To: Maven Users List Cc: users@maven.apache.org Sent: Thu, July 22, 2010 9:41:30 AM Subject: Re: Eclipse Maven WAS Yes. We use M2Eclipse (9.8 I know its old) and just configure the poms normally. In RSA make a few prefe

not respected in assembly descriptor within

2010-07-22 Thread Steve Cohen
Given the following POM and assembly descriptor, and assuming that one or more of the submodules defined has a transitive test-scope dependency on JUnit, I find that when I run my assembly, all works as expected except that JUnit is included in the assembly archive. I would prefer that it not be,

Re: Eclipse Maven WAS

2010-07-22 Thread Timothy Mcginnis
Yes. We use M2Eclipse (9.8 I know its old) and just configure the poms normally. In RSA make a few preference changes. Java EE - in the Classpath containers box uncheck Use Ear Libraries classpath container Java EE->Project --- uncheck Add project to an EAR

Re: Complex-valued maps as plugin parameter possible?

2010-07-22 Thread Andreas Sewe
Hi all, any takers for this one? I am writing a Maven plugin and have trouble getting a parameter defined as follows to work: /** * @parameter */ private Map map; Not matter how I configure in my POM, it only ever maps Strings to null, not to an instance of ComplexObjext:

Eclipse Maven WAS

2010-07-22 Thread Refr Bruhl
Team This is probably a newbie question. We're trying to integrate maven with eclipse and websphere. The goal is to use "class reloading" in our development environment to allow for rapid developtment. Has anyone else done this and gotten it to work? If so what steps did you use? Thanks! -Ro

Re: dependency:copy with resolve, or dependency:copy-dependencies with specified artifact

2010-07-22 Thread Jörg Schaible
Hi Tom, Tom wrote: > I'm converting an applet project to use Maven. > > This means I have a applet artifact which uses all kinds of other Swing > related libraries and the actual WAR artifact. There also is a "shared" > artifact that both use to communicate with each other. The applet is > compi

dependency:copy with resolve, or dependency:copy-dependencies with specified artifact

2010-07-22 Thread Tom
I'm converting an applet project to use Maven. This means I have a applet artifact which uses all kinds of other Swing related libraries and the actual WAR artifact. There also is a "shared" artifact that both use to communicate with each other. The applet is compiled with Java 1.6, the WAR wi

Re : Issue with Maven WAR plugin and overlay when using war:inplace

2010-07-22 Thread Julien HENRY
I will try your suggestion but according to the documentation, my use case should be the default one (without configuration). In addition, war:exploded produces the correct result but war:inplace produces a different result so I definitely think there is an issue. Regards, Julien - Mes