Re: Maven variables

2010-07-13 Thread Anders Hammar
No, you're not configuring the property that way. You're configuring the plugin, but you're not setting the property. A property is set in hte properties section of the pom. /Anders On Tue, Jul 13, 2010 at 00:34, Flavio Pompermaier fla8...@gmail.com wrote: I set that variable via the

Re: Maven variables

2010-07-13 Thread Flavio Pompermaier
This is the description on the source paramenter of the compiler plugin page (of the goal compile:compile): source: The -source argument for the Java compiler. * Type: java.lang.String * Since: 2.0 * Required: No * Expression: ${maven.compiler.source} * Default: 1.5 How can

Re: Maven variables

2010-07-13 Thread Stephen Connolly
On 13 July 2010 07:40, Flavio Pompermaier fla8...@gmail.com wrote: This is the description on the source paramenter of the compiler plugin page (of the goal compile:compile): source: The -source argument for the Java compiler. * Type: java.lang.String * Since: 2.0 * Required: No

Use separate property filters for the varaible in war file and the assembly files

2010-07-13 Thread bangalore
Hi, The project structure: |-- pom.xml `-- src `-- main |-- java | `-- com | `-- example | `-- projects | `-- SampleAction.java |-- resources | `-- assembly.xml

Use separate property filters for the varaible in war file and the assembly files.

2010-07-13 Thread Joice, Binny
Hi, The project structure: |-- pom.xml `-- src `-- main |-- java | `-- com | `-- example | `-- projects | `-- SampleAction.java |-- resources | `-- assembly.xml `--

Running antrun plugin twice in same phase with another plugin in between?

2010-07-13 Thread Wim Deblauwe
Hi, I need to run the antrun plugin twice in the packaging phase. I found this on the wiki: http://docs.codehaus.org/display/MAVENUSER/MiniGuide-AntMultiPhase However, it speaks of different lifecycle phases. I tried with the same phase and that works, however, I need to run another plugin in

Re : Running antrun plugin twice in same phase with another plugin in between?

2010-07-13 Thread Julien HENRY
Hi, Have you tried the following configuration? build plugins plugin artifactIdmaven-antrun-plugin/artifactId executions execution idtask1/id phaseyourphase/phase configuration tasks !-- Some

Nexus Cluster

2010-07-13 Thread bpommerenke
Is there anyone use Nexus in cluster mode Active/Active or Active/Standby? Many thanks, Benoit. -- View this message in context: http://maven.40175.n5.nabble.com/Nexus-Cluster-tp1046651p1046651.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Re : Running antrun plugin twice in same phase with another plugin in between?

2010-07-13 Thread Wim Deblauwe
Hi Julien, yes, I tried that too and it does not work. task1 does not get executed :( regards, Wim 2010/7/13 Julien HENRY henr...@yahoo.fr Hi, Have you tried the following configuration? build plugins plugin artifactIdmaven-antrun-plugin/artifactId executions

call maven-jar-plugin after build-helper-plugin

2010-07-13 Thread Kapila Kohli
Hi, I am facing an issue in which have settings in pom.xml as generate war as default artifactid package, also generate jar with some specific folder set. Once done copy this new jar to some other machine. Issue is- once build is done, it calls plugin-build-helper instead of calling first

JUnit test fails with Javamail

2010-07-13 Thread Gajo Csaba
Hello, I wrote a simple JUnit 4 test. It just sends a plain email with JavaMail. When I run this test class from Eclipse, it passes without problems. However, when I run it with mvn test, the test will fail. Here is part of the stack trace: DEBUG SMTP: trying to connect to host

Re: call maven-jar-plugin after build-helper-plugin

2010-07-13 Thread Justin Edelson
On 7/13/10 6:31 AM, Kapila Kohli wrote: Hi, I am facing an issue in which have settings in pom.xml as generate war as default artifactid package, also generate jar with some specific folder set. Once done copy this new jar to some other machine. Issue is- once build is done, it calls

Re: Running antrun plugin twice in same phase with another plugin in between?

2010-07-13 Thread Justin Edelson
You can't do this. On 7/13/10 5:09 AM, Wim Deblauwe wrote: Hi, I need to run the antrun plugin twice in the packaging phase. I found this on the wiki: http://docs.codehaus.org/display/MAVENUSER/MiniGuide-AntMultiPhase However, it speaks of different lifecycle phases. I tried with the

Re: Running antrun plugin twice in same phase with another plugin in between?

2010-07-13 Thread Wayne Fay
However, it speaks of different lifecycle phases. I tried with the same phase and that works, however, I need to run another plugin in between. Is this possible? You could: release the maven-antrun-plugin under your own artifactId, say wim-antrun-plugin then use (in order): m-antrun-p,

Re: Running antrun plugin twice in same phase with another plugin in between?

2010-07-13 Thread Wim Deblauwe
I had a look at the maven 2.2.x code and I created a small patch that does it. See http://jira.codehaus.org/browse/MNG-4727 All the patch does is sorting the 'MojoExecution' classes based on their id. It is very few lines of code really. It is a bit hackish as you need to use step- in your id/

Using Eclipse without maven plugin (multiple module project)

2010-07-13 Thread Bahadýr Konu
To create a multimodule project and use it with eclipse+SVN I have done everything that is described here: http://maven.apache.org/guides/mini/guide-ide-eclipse.html Multiple Module Project I have created my multi-module project and checked in to SVN I checked out the project to a directory,

Re: Using Eclipse without maven plugin (multiple module project)

2010-07-13 Thread Ron Wheeler
Why aren't you checking the project out in Eclipse? BTW. I suggest using the STS version of Eclipse since all your plug-ins come preinstalled except for Subversion which is mostly included. On 13/07/2010 11:31 AM, Bahadýr Konu wrote: To create a multimodule project and use it with

GWT on Maven Central

2010-07-13 Thread Justin Edelson
Does anyone know who is responsible for getting the GWT jars up on Maven Central? Thanks, Justin - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Using Eclipse without maven plugin (multiple module project)

2010-07-13 Thread Antonio Petrelli
2010/7/13 Bahadýr Konu bahadir_k...@yahoo.com: I have created my multi-module project and checked in to SVN I checked out the project to a directory, ran mvn eclipse:eclipse then I import the project to Eclipse (import existing project) Try using m2eclipse, it's a life-saver. Remember to

Re: Using Eclipse without maven plugin (multiple module project)

2010-07-13 Thread Ron Wheeler
On 13/07/2010 2:19 PM, Antonio Petrelli wrote: 2010/7/13 Bahadýr Konubahadir_k...@yahoo.com: I have created my multi-module project and checked in to SVN I checked out the project to a directory, ran mvn eclipse:eclipse then I import the project to Eclipse (import existing project) Try using

Re: Using Eclipse without maven plugin (multiple module project)

2010-07-13 Thread Antonio Petrelli
2010/7/13 Ron Wheeler rwhee...@artifact-software.com:  On 13/07/2010 2:19 PM, Antonio Petrelli wrote: 2010/7/13 Bahadır Konubahadir_k...@yahoo.com: I have created my multi-module project and checked in to SVN I checked out the project to a directory, ran mvn eclipse:eclipse then I import

Re: GWT on Maven Central

2010-07-13 Thread Brett Randall
The developer: http://maven.apache.org/guides/mini/guide-central-repository-upload.html Send a request to the project developers/maintainers in the first instance. Brett On 7/14/10, Justin Edelson justinedel...@gmail.com wrote: Does anyone know who is responsible for getting the GWT jars up

Re: GWT on Maven Central

2010-07-13 Thread Justin Edelson
I understand that's the case most of the time, but AFAIK, it is not the case with GWT. Justin On 7/13/10 6:39 PM, Brett Randall wrote: The developer: http://maven.apache.org/guides/mini/guide-central-repository-upload.html Send a request to the project developers/maintainers in the first

What does reloading a plugin container mean in maven?

2010-07-13 Thread Rajesh Koilpillai
What does reloading a plug-in container mean in maven? This happens in just a single machine, every other machine seems to be fine. How do I fix this issue? [INFO] Reloading plugin container for: org.apache.maven.plugins:m aven-clean-plugin:2.4.1. The plugin artifact has changed. [INFO]