Re: Maven variables

2010-07-12 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 I

Re: Maven variables

2010-07-12 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 wrote: > I set that variable via the configuration section of t

RE: bean xml for tests using Maven?

2010-07-12 Thread Jeff Jensen
Yes, src/main/resources for the prod version, src/test/resources. Maven puts test stuff on the classpath first, so your app will find that file first. http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html -Original Message- From: Digant C Kasun

bean xml for tests using Maven?

2010-07-12 Thread Digant C Kasundra
Hello everyone, I'm very new to Maven. I've got a test suite that needs to use a different beans.xml file (so that dummy test beans are injected) from the rest of the code. These files do get filtered but rather than set everything as a property, can I tell maven to use one source directory by

Re: Maven variables

2010-07-12 Thread Manfred Moser
Prior to the version 2.3. of the compiler plugin the default was 1.3 I believe. As of 2.3 it is 1.5. How are you setting the parameter? It is probably set wrongly. manfred > I set that variable via the configuration section of the compiler > plugin of my pom.xml but the result of help:evaluate

Re: Maven variables

2010-07-12 Thread Flavio Pompermaier
I set that variable via the configuration section of the compiler plugin of my pom.xml but the result of help:evaluate of that variable returns null! My question is: how can I retrieve the default values of the parameters of a certain plugin version?if I look at the plugin site I can see that its d

Re: Maven variables

2010-07-12 Thread Anders Hammar
This does work for me: mvn help:evaluate -Dmaven.compiler.source=1.5 -Dexpression=maven.compiler.source I'm setting the maven.compiler.source property here on command line instead of specifying it in the project, which should work the same. /Anders On Mon, Jul 12, 2010 at 23:27, Justin Edelson

Re: Maven variables

2010-07-12 Thread Justin Edelson
>From a shell, help:evaluate should be the right thing to do. Could it be that maven.compiler.source is, in fact, null? On 7/12/10 5:23 PM, Flavio Pompermaier wrote: > I mean,how can I display their value? > > 2010/7/12, Justin Edelson : >> what do you mean by inspect? >> >> On 7/12/10 1:13 PM,

Re: Maven variables

2010-07-12 Thread Flavio Pompermaier
I mean,how can I display their value? 2010/7/12, Justin Edelson : > what do you mean by inspect? > > On 7/12/10 1:13 PM, Flavio Pompermaier wrote: >> Hi to all, >> is there a way to inspect maven.* variables (such as >> ${maven.compiler.source})? >> I tried to use the help:evaluate tool but it tel

Re: Maven variables

2010-07-12 Thread Justin Edelson
what do you mean by inspect? On 7/12/10 1:13 PM, Flavio Pompermaier wrote: > Hi to all, > is there a way to inspect maven.* variables (such as > ${maven.compiler.source})? > I tried to use the help:evaluate tool but it tells me "null object or > invalid expression". > > Any idea?? > > Best rega

Maven variables

2010-07-12 Thread Flavio Pompermaier
Hi to all, is there a way to inspect maven.* variables (such as ${maven.compiler.source})? I tried to use the help:evaluate tool but it tells me "null object or invalid expression". Any idea?? Best regards, Flavio - To unsubscri

Maven variables

2010-07-12 Thread Flavio Pompermaier
Hi to all, is there a way to inspect maven.* variables (such as ${maven.compiler.source})? I tried to use the help:evaluate tool but it tells me "null object or invalid expression". Any idea?? Best regards, Flavio - To unsubscri

Re: Looking for a good Struts2 archetype

2010-07-12 Thread Greg Akins
On Mon, Jul 12, 2010 at 12:46 PM, Martin Gainty wrote: > take a look at > > http://struts.apache.org/2.1.8/docs/struts-2-maven-archetypes.html > > > ping struts-users for implementation specifics and I'll follow the thread > there Thanks Martin. i've been to that link and will take your advice

RE: Looking for a good Struts2 archetype

2010-07-12 Thread Martin Gainty
Greg take a look at http://struts.apache.org/2.1.8/docs/struts-2-maven-archetypes.html ping struts-users for implementation specifics and I'll follow the thread there Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentia

Looking for a good Struts2 archetype

2010-07-12 Thread Greg Akins
Hello, I'm looking for a decent archetype to start a Struts project. The struts2-archetype-starter is a bit more than I need. The struts2-archetype-blank isn't quite enough; and it doesn't appear to be current. Is there anything better? -- Greg Akins http://insomnia-consulting.org http://www

Re: maven installing artifacts to wrong repository location

2010-07-12 Thread paul geer
Thanks for the quick reply. I thought of deleting the settings files, but I need at least one for proxy navigation. Your suggestion did provide a solution, though, and for future users experiencing the problem: I tried it both ways and it worked when I put the proxy data in the install settings

Re: Run external tasks using maven

2010-07-12 Thread Stephen Connolly
I favour laucher projects or profiles with goals bound to the validate phase On 12 July 2010 15:59, Jochen Wiedmann wrote: > On Mon, Jul 12, 2010 at 4:54 PM, Wayne Fay wrote: > >> Is it possible to run ant tasks which is not connected with any build > >> lifecycle phase? > >> In other word I w

Re: Stop integration-test from executing with install phase

2010-07-12 Thread Stephen Connolly
And you should not run mvn integration-test as that does not allow for the post-integration-test phase to execute. only ever type mvn verify to run integration tests if they are executed by default. if they are part of a profile it is customary to call the profile run-its in which case you h

Re: Run external tasks using maven

2010-07-12 Thread Jochen Wiedmann
On Mon, Jul 12, 2010 at 4:54 PM, Wayne Fay wrote: >> Is it possible to run ant tasks which is not connected  with any build >> lifecycle phase? >> In other word I would like to perform some action on demand using maven and >> antrun plugin. > > Why bother??? Just run ant directly in this case. Se

Re: maven installing artifacts to wrong repository location

2010-07-12 Thread Wayne Fay
> This completes successfully, but the jar, pom and dependencies end up in > c:\.m2\repository rather than \.m2\repository.  This line is from Rename the settings.xml files to settings.ignore and try again. Also check the value of environment variables with "set." On Windows, the default should b

Re: Stop integration-test from executing with install phase

2010-07-12 Thread Wendy Smoak
On Mon, Jul 12, 2010 at 10:42 AM, Ross McDonald wrote: > I would like to know if it is possible to only have integration-test execute > when it is specifically requested as a phase.  I would like it ignored upon > all subsequent phases like install. You can't skip a phase of the lifecycle, but if

Re: Run external tasks using maven

2010-07-12 Thread Wayne Fay
> Is it possible to run ant tasks which is not connected  with any build > lifecycle phase? > In other word I would like to perform some action on demand using maven and > antrun plugin. Why bother??? Just run ant directly in this case. Wayne -

Re: Stop integration-test from executing with install phase

2010-07-12 Thread Nick Stolwijk
You cannot skip a phase, but you can add the plugins tied to that phase to a profile and only activate the profile when executing the IT tests. Hth, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Mon, Jul 12, 2010 at 4:42 PM, Ross McDonal

Stop integration-test from executing with install phase

2010-07-12 Thread Ross McDonald
Hi Guys. I would like to know if it is possible to only have integration-test execute when it is specifically requested as a phase. I would like it ignored upon all subsequent phases like install. Thanks for your help, -- Ross -- View this message in context: http://maven.40175.n5.nabble.co

Re: warning from users@maven.apache.org

2010-07-12 Thread Greg Akins
On Mon, Jul 12, 2010 at 10:29 AM, Mathew, George wrote: > My issue is not bouncing, but how to remove myself from getting emails to > george.mat...@boeing.com > I no longer need to work with MAVEN in my project. > I have responded to the users@maven.apache.org  almost two dozen times, but > no u

RE: warning from users@maven.apache.org

2010-07-12 Thread Mathew, George
My issue is not bouncing, but how to remove myself from getting emails to george.mat...@boeing.com I no longer need to work with MAVEN in my project. I have responded to the users@maven.apache.org almost two dozen times, but no use. -Original Message- From: users-h...@maven.apache.org [

Re: Run external tasks using maven

2010-07-12 Thread Wim Deblauwe
You need specify the configuration tag as a child tag of the plugin tag: org.apache.maven.plugins maven-antrun-plugin 1.4

Re: Run external tasks using maven

2010-07-12 Thread QkI
This doesn't work. My configuration: org.apache.maven.plugins maven-antrun-plugin 1.4

maven installing artifacts to wrong repository location

2010-07-12 Thread paul geer
Hello, I am trying to have maven install a jar into my local repository with the following from the command line: mvn install:install-file -DgroupId=org.us.test -DartifactId=JSJava -Dversion=0.0.1 -Dpackaging=jar -Dfile=JSJava-0.0.1.jar This completes successfully, but the jar, pom and dependenc

Re: Run external tasks using maven

2010-07-12 Thread Wim Deblauwe
Just call the run goal of the antrun plugin on the command line, like this: mvn antrun:run regards, Wim 2010/7/12 QkI > > Hi, > Is it possible to run ant tasks which is not connected with any build > lifecycle phase? > In other word I would like to perform some action on demand using maven a

Run external tasks using maven

2010-07-12 Thread QkI
Hi, Is it possible to run ant tasks which is not connected with any build lifecycle phase? In other word I would like to perform some action on demand using maven and antrun plugin. Regards, QkI -- View this message in context: http://maven.40175.n5.nabble.com/Run-external-tasks-using-maven-t

Re: Adding asc files to bundles

2010-07-12 Thread eyp
After update the plugin to version 2.2, it now ask you for files you want to exclude in the command line. Solved. -- View this message in context: http://maven.40175.n5.nabble.com/Adding-asc-files-to-bundles-tp1046238p1046296.html Sent from the Maven - Users mailing list archive at Nabble.com.

Adding asc files to bundles

2010-07-12 Thread eyp
Since this 'improvement' was made on Repository Plugin... How could I add .asc files to bundles? "Release Notes - Maven 2.x Repository Plugin - Version 2.2 ** Improvement * [MREPOSITORY-18] - Repository bundles don't include .asc files or attached artifacts other than sources and javado