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
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
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
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
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
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
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
>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,
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
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
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
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
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
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
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
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
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
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
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
> 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
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
> 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
-
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
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
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
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 [
You need specify the configuration tag as a child tag of the plugin tag:
org.apache.maven.plugins
maven-antrun-plugin
1.4
This doesn't work.
My configuration:
org.apache.maven.plugins
maven-antrun-plugin
1.4
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
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
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
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.
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
33 matches
Mail list logo