On 19 August 2010 17:26, emerson echofloripa.y...@gmail.com wrote:
No eclipse was compiling to a bin folder.
Seems that maven thought that the classes shouldn't be re-compiled,
and as a result it didn't actually compiled anything.
I re-run with the clean goal and the classes generated were 1.5
you can make your dependencies timestamped (provided you are deploying
with timestamps) using
http://mojo.codehaus.org/versions-maven-plugin/lock-snapshots-mojo.html
then run the release and finally use
http://mojo.codehaus.org/versions-maven-plugin/unlock-snapshots-mojo.html
to turn the
how about including the customer name in the version number, e.g.
version0.0.1-customerA-SNAPSHOT/version
On 17 August 2010 14:24, Nicola Musatti nicola.musa...@objectway.it wrote:
Nicola Musatti wrote:
I thought of that, but as far as I understand classifiers are meant to
distinguish
On 17 August 2010 16:33, Trevor Harmon tre...@vocaro.com wrote:
On Aug 16, 2010, at 5:19 PM, Trevor Harmon wrote:
On Aug 16, 2010, at 5:04 PM, Justin Edelson wrote:
http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html
Thanks, that looks like just what I need.
I
Your life would be much easier using a repository manager for your
internal repository. Nexus is almost trivial to set up, for example.
As for internal vs external, there is no difference, you don't need a
repository manager... but your life will always be easier if you use one.
-Stephen
P.S.
Search the mailing archives.
IIRC Brian Fox said that it was too complex to handle when they were
initially rewriting the artifact resolution code... and nobody has been
interested in adding back the support, but Brian said that if somebody was
interested in adding support back in then (as long
1. This is a hudson issue so report on the hudson list.
On 16 August 2010 12:54, janne postilista jannepostilis...@gmail.comwrote:
My build craps out because
[HUDSON] Archiving
/home/zzz/.hudson/jobs/ci-build/workspace/trunk/webapp/pom.xml to
://repository.prime.com.tr)
Path to dependency:
1) zzz:webapp:war:1.0-SNAPSHOT
I can't figure out why the same build fails on the linux box and works
on my windows environment...I have tried telnetting repo1.maven.org
successfully.
On Mon, Aug 16, 2010 at 3:45 PM, Stephen
, Stephen Connolly
stephen.alan.conno...@gmail.com wrote:
have you considered using exclusions to knock out the problematic
transitive
dep and then add in a corrected version for your own project
On 16 August 2010 14:41, janne postilista jannepostilis...@gmail.com
wrote:
It's
, Aug 16, 2010 at 5:03 PM, Stephen Connolly
stephen.alan.conno...@gmail.com wrote:
you define the exclusions on your dependencies and that will purge them
from
your entire dependency tree
On 16 August 2010 14:49, janne postilista jannepostilis...@gmail.com
wrote:
I'm not sure what
The Maven team is pleased to announce the release of Surefire, version 2.6
This release includes the maven-surefire-plugin, which executes the
unit tests of an application, the maven-surefire-report-plugin, which
parses surefire/failsafe test results and renders them to DOXIA
creating the web
, Aug 16, 2010 at 5:10 PM, Stephen Connolly
stephen.alan.conno...@gmail.com wrote:
Ohhh!!!
You're using maven-glassfish-plugin well that explains it.
Here is the golden rule.
Friends don't let friends use the java.net maven repositories...
Here is another bad example
Not all mirrors may have synced...
I checked from my work machine (which is not configured for fancy proxying
and from which I did not do the release) and it was downloaded correctly.
Give it 24 hours worst case
On 16 August 2010 16:02, C. Benson Manica cbman...@gmail.com wrote:
Our projects
It's available from central (at least from what I can see):
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.6/
On 16 August 2010 16:08, Stephen Connolly
stephen.alan.conno...@gmail.comwrote:
Not all mirrors may have synced...
I checked from my work machine
if you put the def in pluginManagement and then in the child modules you
just reference the plugin in build/plugins then the config for that plugin
will be pulled from the pluginManagement
On 12 August 2010 10:01, jens.baitin...@innovations.de wrote:
Hi,
Some of my modules has to be build
Easy to write yourself in java
On 10 August 2010 09:06, muss_ malakka...@yahoo.de wrote:
no,
i need it in java like readRepository() and it returns a list of artifackts
or plugins
--
View this message in context:
Have a look at *
http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#releaseProfiles
*
2010/8/10 Martin Schayna martin.scha...@abra.eu
I am using this configuration for firing goal 'install' instead of 'deploy'
in 'release:perform':
build
...
plugins
...
plugin
have a look in versions-maven-plugin @ mojo
On 10 August 2010 10:05, muss_ malakka...@yahoo.de wrote:
I tried to write it i need to build a new MavenProject and
to get a MavenProject out of a POM
file, I need to use the MavenProjectBuilder
/**
* @component
Look in the source code for versions-maven-plugin @ mojo and you will find
an example, probably in one of the Abstract___Mojo classes
On 10 August 2010 13:25, muss_ malakka...@yahoo.de wrote:
i dont know how to use versions-maven-plugin @ mojo
I need to create a new MavenProject with the
Or maybe in UpdateChildModulesMojo
On 10 August 2010 13:47, Stephen Connolly
stephen.alan.conno...@gmail.comwrote:
Look in the source code for versions-maven-plugin @ mojo and you will find
an example, probably in one of the Abstract___Mojo classes
On 10 August 2010 13:25, muss_ malakka
far for this maven annoyance is to force the user to call
twice:
mvn release:perform
mvn exec:exec -P qa
It would have been much better to be able to do:
mvn release:perform -P qa
But that is IMPOSSIBLE with maven.
-Sergio
On Tue, Aug 10, 2010 at 1:50 AM, Stephen Connolly
find ~/.m2/repository/ -name \*.pom -exec fgrep -l
packagingmaven-plugin/packaging {} \;
On 9 August 2010 12:03, muss_ malakka...@yahoo.de wrote:
hi,
is there a way to read plugins from local repository.
I write a mojo and read an another pom.xml
I have to find out if the dependencies from
have a look at the releaseProfiles configuration parameter of
release:perform
On 10 August 2010 05:38, Sergio Oliveira sergio.souj...@gmail.com wrote:
I change goals from release:perform to install instead of the default
deploy.
But maven ignores my profile 'release' for phase 'install'. It
There is a way if he's embedding the .swf file inside a war.
you can use the dependency:copy-dependencies to copy the swf file into the
war and strip the version while doing that
-Stephen
On 3 August 2010 21:52, Anders Hammar and...@hammar.net wrote:
There was a very imilar question on this
IANAL,
The JRE is one thing...
Last time I checked, the JDK required that you display the EULA to the end
user when installing the JDK...
The net result was that we had to split up our one click installer into
four: install the non-java stuff (Apache HTTPD), then the Sun JDK installer,
then the
Use the maven-invoker component (which is also used by the
maven-invoker-plugin so you can see examples of how to use it in that code
base)
On 3 August 2010 08:24, jstrachan james.strac...@gmail.com wrote:
I've seen the how do I call a Mojo from a Mojo question asked a number of
times before
toolchains
On 3 August 2010 12:20, René Krell renda.kr...@gmail.com wrote:
Hi all,
is there anybody who has a good example or can refer to a good
example project using Maven, which compiles and also deploys to different
jars using for instance JDK 1.5 and 1.6 one after the other. I found
to continue to support 1.5 as a dev env. it is
End-Of-Life. If you need to support it as a runtime env, use animal-sniffer
On 3 August 2010 12:36, Stephen Connolly stephen.alan.conno...@gmail.comwrote:
toolchains
On 3 August 2010 12:20, René Krell renda.kr...@gmail.com wrote:
Hi all
why not make the execution in th eparent pom inheritedfalse/inherited?
On 1 August 2010 08:27, eyal edri eyal.e...@gmail.com wrote:
Hi,
i'm trying to run an execution of the exec plugin in a pom.
the build is the default profile:
* plugin*
*groupIdorg.codehaus.mojo/groupId*
mvn versions:set versions:commit -DnewVersion=1.0.0
On 27 July 2010 15:46, prenaud76 patrick.ren...@ericsson.com wrote:
The update-versions goal of the maven-release-plugin:2.0 is driving me
nuts!
No matter what I do it keeps adding a -SNAPSHOT to the version I specify on
the command line,
Some plugins fork the lifecycle... you could look into MavenSession to see
if you can cache the fact that you've run already and therefore skip the
subsequent invocations
On 26 July 2010 15:51, Em DauPhu emdau...@gmail.com wrote:
Hi,
I use a plugin which is attached to the phase validate (I
put the execution in its own module and make that module depend on every
other module (which will force that module to the end of the build plan)
On 23 July 2010 22:50, Benson Margulies bimargul...@gmail.com wrote:
I want to add a project that runs the maven-invoker-plugin to the end
of a
08:30, Stephen Connolly stephen.alan.conno...@gmail.comwrote:
put the execution in its own module and make that module depend on every
other module (which will force that module to the end of the build plan)
On 23 July 2010 22:50, Benson Margulies bimargul...@gmail.com wrote:
I want to add
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
July 2010 08:59, Haszlakiewicz, Eric ehas...@transunion.com wrote:
-Original Message-
From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com]
On 19 July 2010 06:10, Haszlakiewicz, Eric ehas...@transunion.com
wrote:
You can also set the version as a property in a top-level
On 19 July 2010 06:10, Haszlakiewicz, Eric ehas...@transunion.com wrote:
-Original Message-
From: Shan Syed [mailto:shan...@gmail.com]
http://maven.apache.org/plugins/maven-release-plugin/examples/update-
versions.html
On Tue, Jul 6, 2010 at 5:06 PM, Frank Maritato
the reason to bother compiling is to verify that the release build will work
when the version numbers have been transformed. But if you don't mind borked
tags in your SCM
On 19 July 2010 01:26, Zac Thompson zac.thomp...@gmail.com wrote:
I think the preparationGoals property could also be
You recall correctly, uniqueSnapshots will always be true for M3
irrespective of what you try to set it to
-Stephen
P.S. I don't understand exactly why... I think it has something to do with
Repository managers being sufficiently good that they can reclaim the disk
space for you so the
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
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
I favour laucher projects or profiles with goals bound to the validate phase
On 12 July 2010 15:59, Jochen Wiedmann jochen.wiedm...@gmail.com wrote:
On Mon, Jul 12, 2010 at 4:54 PM, Wayne Fay wayne...@gmail.com wrote:
Is it possible to run ant tasks which is not connected with any build
Does Martin have a FAQ entry yet?
On 11 July 2010 05:11, Wayne Fay wayne...@gmail.com wrote:
Another brilliant and oh so helpful post by Martin the Robot!
Wayne
On Sat, Jul 10, 2010 at 8:21 PM, Martin Gainty mgai...@hotmail.com
wrote:
good call ron
i would suggest reading up on
I see everyone ranting on about producing a fully exploded ear AFAIK,
maven already supports doing that (with the caviat that the unexploded war
will have to be produced for each war module [because you need to be able to
store it in the local/remote repo's] If you don't produce a war file as
have you had a look at the unpackTypes configuration option of m-ear-p?
On 8 July 2010 16:28, asookazian asookaz...@gmail.com wrote:
Martin Höller wrote:
Am Mittwoch, 7. Juli 2010 18:46:34 schrieb asookazian:
There is some limited coverage of creating a custom lifecycle here:
write your own assembly descriptor.
you can do exactly what you are after (i.e. copy all the war artifacts to
ABC, copy all the jar artifacts to XYZ and wrap the whole thing up in a
tar.gz file
-Stephen
On 6 July 2010 21:01, Ron Wheeler rwhee...@artifact-software.com wrote:
On 06/07/2010 2:24
The rule for Maven is that the order of plugin execution within a phase is
undefined.
-Stephen
On 6 July 2010 21:47, asookazian asookaz...@gmail.com wrote:
Does the plugin goal below get executed before or after the completion of
the
install phase when I exec 'mvn clean install' command?
On 7 July 2010 07:18, Anders Hammar and...@hammar.net wrote:
AFAIK it's the order they are defined in in the pom. This would depend on
the version of Maven though, as it has not always been like that.
/Anders
On Wed, Jul 7, 2010 at 08:08, Stephen Connolly
stephen.alan.conno...@gmail.com
dependency:unpack-dependencies is most likely the one you want (I'm assuming
the war is produced as part of your build reactor... if not then
dependency:unpack is your man)
-Stephen
On 6 July 2010 16:06, TOM AULT, BLOOMBERG/ 731 LEXIN ta...@bloomberg.netwrote:
I have an “interesting” situation
or use mvn versions:set -DnewVersion=___
On 6 July 2010 23:08, Wayne Fay wayne...@gmail.com wrote:
[INFO] Required goal not found: release:update-versions in
org.apache.maven.plugins:maven-release-plugin:2.0-beta-8
Try mvn -U release... You have an older version of release plugin it
built in since intellij 7.0.x
when opening a project just select the pom.xml file and intellij will do the
rest
-Stephen
On 2 July 2010 09:09, Peter Schuller peter.schul...@infidyne.com wrote:
hi everyone. i'm begginer for maven. i don't now how to configure maven
for
intellij. what jar
profile activation is based on _SYSTEM_ properties.
you cannot activate profiles based on properties defined in your pom
you cannot activate profiles based on system properties defined after the
build plan has started execution
-Stephen
On 2 July 2010 08:37, Søren Krogh Neigaard
or try
mvn versions:set -DnewVersion=1.11
On 2 July 2010 08:56, tbee t...@tbee.org wrote:
Nevermind: versions:update-child-modules
--
View this message in context:
http://maven.40175.n5.nabble.com/Multi-project-release-without-SCM-tp511922p512572.html
Sent from the Maven - Users mailing
I am going to state this once and only once:
Friends don't let friends use the java.net maven repositories (at
least without protection (e.g. a maven repository manager))
It's fine for following a tutorial, but don't keep the bad habit when you
start writing real code.
-Stephen
P.S.
the
:
to back Stephens word: it's even worse - they recently dropped 'old' JSF-1
artifacts from their repo without any noticing...
So really only use the java.net maven repo via a repo manager like Nexus
or Archiva.
LieGrue,
strub
- Original Message
From: Stephen Connolly
On 1 July 2010 15:02, benjamin.woot...@ubs.com wrote:
I am experiencing the common problem of links broken in multi module
sites with parent poms.
I understand that* mvn site* builds individual module sites but doesn't
link them, and the* mvn site:deploy* should repair the links. The
, at 16:05, Stephen Connolly stephen.alan.conno...@gmail.com
wrote:
On 1 July 2010 15:02, benjamin.woot...@ubs.com wrote:
I am experiencing the common problem of links broken in multi module
sites with parent pons
I understand that* mvn site* builds individual module sites but doesn't
AFAIK,
When I first got a device like that, Brian might even have been one of the
people who complained about the tag line (which I subsequently change to
Send from my rhymes with myPod)
On 1 July 2010 18:33, Kathryn Huxtable kath...@kathrynhuxtable.org wrote:
BTW, Sent from my iPad (or
most likely the pom you were copypasting from either inherited a
dependencyManagement section which is specifying the version in that pom.xml
-S.
On 1 July 2010 16:52, Konovalov, Oleg oleg.konova...@aurorabankfsb.comwrote:
Hi,
I am very new to Maven, writing my first POM file.
I am
surefire forks a java process (unless you set forkmode to none)
On 30 June 2010 09:06, Thomas Porschberg porschb...@osp-dd.de wrote:
Hi,
after my trouble with the surefire plugin my test is running successful
now.
But I wonder about some output from shell functions I have defined in
my
not to fork?
Regards,
Thomas
Am Wed, 30 Jun 2010 09:53:52 +0100
schrieb Stephen Connolly stephen.alan.conno...@gmail.com:
surefire forks a java process (unless you set forkmode to none)
On 30 June 2010 09:06, Thomas Porschberg porschb...@osp-dd.de wrote:
Hi,
after my trouble
is : valid within a urn?
On 30 June 2010 13:34, lukewpatterson lukewpatter...@gmail.com wrote:
Stan Devitt-2 wrote:
Why would the recommended format here be different than the format used
by
the dependency plugin?
(e.g. junit:junit:jar:3.8.1:test )
I was looking more for a URN
put the configuration for the shade plugin in pluginManagement and then just
reference the sade plugin in the modules you want to use shade in
On 28 June 2010 13:51, MartyMcFly martymc...@smart-mail.de wrote:
Hi,
I have a multimodule project for which I want to use the shade plugin. All
is
What is wrong with using a CI system to do this for you?, e.g. Hudson
It's trivial to run Hudson on your own machine
-Stephen
On 26 June 2010 03:39, Greg Akins angryg...@gmail.com wrote:
I feel like creating a plug-in that will monitor for file changes and
run test when notified of a change.
[Returning reply to the list so that others may benefit]
http://wiki.hudson-ci.org/display/HUDSON/File+System+SCM
I've not used it though
On 26 June 2010 11:38, Greg Akins angryg...@gmail.com wrote:
On Sat, Jun 26, 2010 at 3:25 AM, Stephen Connolly
stephen.alan.conno...@gmail.com wrote
This is a really bad plan.
Your dependencies should not depend on what profile is active.
IMHO it was a mistake to allow specification of dependencies from profiles.
The best solution is to have either:
1. A project for spring 3 and a project for spring 2.5 that defines the
You might get somewhere using dependency:upack-dependencies to unpack the
webapp into your test module (or copy-dependencies and then jetty:run-war)
On 24 June 2010 10:26, ykyuen yingkity...@gmail.com wrote:
Hi all,
i got a maven parent project with 2 child modules
1. The webapp project
you can right click on one of the project root folders, select the maven
item and one of the sub-menu items will do what you want
-S
On 17 June 2010 12:28, Daniele Dellafiore ilde...@gmail.com wrote:
M2Eclipse does some things fine but not all.
Use case:
pom A define a resource folder
I
I'm not sure it's possible to get the execution id, just as it's not
possible AFAIK to get the phase the execution is bound to
-Stephen
On 14 June 2010 17:05, giuseppe.gr...@b-source.ch wrote:
Maybe this is the wrong list... Shall I move this question to the
Developers list?
Jeff
have you tried changing the forkMode?
Additionally the version of surefire that is locked down is AFAIK different
between 2.0.9 and 2.2.1.
I think, but I am not sure, that 2.0.9 uses 2.4.2 unless you have locked
down the plugin version
whereas 2.1.0 and 2.2.1 use 2.4.3 unless you have locked
On 4 June 2010 09:18, MartyMcFly martymc...@smart-mail.de wrote:
Hi,
I have a multimodule project in which some modules need an additional
sourcefolder, whereas other modules dont.
To avoid redefining this in each of the relevant modules I want to add this
to the parent pom and activate
are
required to find another solution :(
Stephen Connolly-2 wrote:
On 4 June 2010 09:18, MartyMcFly martymc...@smart-mail.de wrote:
Hi,
I have a multimodule project in which some modules need an additional
sourcefolder, whereas other modules dont.
To avoid redefining this in each
create a branch from the tag, then create the release from the branch.
you should not be modifying the tag, which is why you should go through the
branch step
-S
On 3 June 2010 23:29, Max Grigoriev max.grigor...@webamg.com wrote:
Hi everybody,
Is it possible and if yes then how to create
Nope. you will still have the issue of the plugin metadata being incorrect.
It will only be less bad (because plugin versions are not based on first
version seen in the reactor in M3)
Short answer: [image: donny_dont_22.jpg] Don't do what Donny Don't Does
-Stephen
On 2 June 2010 08:21, tbee
I have not used it. if you can guarantee that m3 only then in theory you'd
be fine... but just don't do it
On 2 June 2010 13:05, tbee t...@tbee.org wrote:
What about this one?
http://www.jfrog.org/sites/mvn-anno-mojo/latest/
--
View this message in context:
don't forget to file the JIRA
On 31 May 2010 12:18, vanyatka ibalas...@gmail.com wrote:
Thanks, Stephen
Custom variable to skip surefire is fine for now.
Stephen Connolly-2 wrote:
file a JIRA for this enhancement
until then the solution is to define a property in your pom
We just use the latest version at the time of the downstream project's
release.
using
mvn versions:update-parent
helps make this easy.
On 1 June 2010 15:09, Andrew Close acl...@gmail.com wrote:
the organization that i currently work at is in the process of
updating our POM hierarchy. we're
That would be because maven-jar-plugin does _not_ fork the jar command but
builds the jar itself
On 31 May 2010 11:00, Julien HENRY henr...@yahoo.fr wrote:
Hi,
I would like to add a parameter to the execution of the jar command:
-J-Dsun.misc.JarIndex.metaInfFilenames=true (see:
file a JIRA for this enhancement
until then the solution is to define a property in your pom with value false
project
...
properties
skipUnitTestsfalse/skipUnitTests
/properties
...
build
...
plugins
...
plugin
artifactIdmaven-surefire-plugin/artifactId
configuration
mvn package -DskipTests is better and shorter to type and easier to
remember
On 26 May 2010 08:50, fradj zayen zaye...@gmail.com wrote:
Hi,
you should run the following command line:
mvn package -Dtest=false -DfailIFNoTests=false
Hope it helps
Regards
2010/5/26 A. Fuat Sungur
define a profile for deploying your app with cargo:deploy bound to the
install phase in module A... you can even define defaultGoals in the profile
so that all you need to type is
mvn -Pmy-deploy-profile
-Stephen
On 26 May 2010 17:08, Daniel Hoffmann biggibig...@googlemail.com wrote:
Defining
Dan Tran is pretty darn familiar with mojo development (#2 on
http://www.ohloh.net/p/mojo/contributors)
You should start by copying wagon:download and tweak that from there
-Stephen
On 25 May 2010 05:40, Lachlan Deck lachlan.d...@gmail.com wrote:
Anyone more familiar with mojo development
See
http://old.nabble.com/Re%3A-Trying-to-extend-AbstractAssemblyMojo-p28662893.html
On 25 May 2010 07:41, Lachlan Deck lachlan.d...@gmail.com wrote:
On 25/05/2010, at 4:11 PM, Stephen Connolly wrote:
Dan Tran is pretty darn familiar with mojo development (#2 on
http://www.ohloh.net/p/mojo
-to-plugins.html
first
-D
On Mon, May 24, 2010 at 11:41 PM, Lachlan Deck lachlan.d...@gmail.com
wrote:
On 25/05/2010, at 4:11 PM, Stephen Connolly wrote:
Dan Tran is pretty darn familiar with mojo development (#2 on
http://www.ohloh.net/p/mojo/contributors)
Apologies Dan :) I just
On 25 May 2010 07:26, Jörg Schaible joerg.schai...@gmx.de wrote:
Lachlan Deck wrote:
I'm not sure I understand your question? My dependencies already contains
wagon-maven-plugin
which is a very bad idea unless you intend to run in Maven 3 only. Due to
classloader constraints in M2 you
that source from being packaged. I am not sure if there are
more complications . . .
regards Kristian
On Tue, May 25, 2010 at 12:38 PM, Stephen Connolly steph...@apache.org
wrote:
See
http://old.nabble.com/Re%3A-Trying-to-extend-AbstractAssemblyMojo-p28662893.html
On 25 May 2010 07:41
On 26 May 2010 01:02, leonfranzen leon_fran...@tvworks.com wrote:
For now, my plan is to :
1. Build the DependencyNode tree with the maven DependencyTreeBuilder for
the top-level POM
2. Traverse the tree and find each war Node
3. Serialize the node tree to disk
4. Separately run the
better off using maven-failsafe-plugin for that
On 24 May 2010 20:00, kristian m.krist...@web.de wrote:
run your tests after the package phase, i.e.
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
version2.5/version
failsafe is surefire just bound to theintegration-test phase.
changing surefire to be bound to the integration-test phase can cause subtle
issues as you use more plugins.
we should be able to convince failsafe to use the jars if they are
available... can you file an enhancement request in JIRA?
The point is that if your mojo is invoked from an IDE (i.e. using maven
embedded) then the equivalent of command line properties will only be
available from MavenSession and you mojo will be broken if you use
System.getProperties to get them.
So it's not just better to use MavenSession, but it is
not
you need to define what system properties to pass through in the config
section of surefire plugin
On 21 May 2010 13:24, Benson Margulies bimargul...@gmail.com wrote:
If I set -Dfile.encoding=utf8 in my MAVEN_OPTS, should I expect forked
JVMs from surefire to inherit this, or not?
The Mojo team is pleased to announce the release of the Versions Maven
Plugin, version 1.2.
The Versions Plugin has the following goals.
* versions:display-dependency-
updates scans a project's
dependencies and produces a report of those dependencies which have
newer versions available.
*
profile activation by properties is activation by _SYSTEM_PROPERTIES_ (i.e.
-Dname=value on the CLI)
so properties defined in the pom will never trigger the profile activation.
so profile b being active will never trigger profile A.
-Stephen
On 19 May 2010 16:48, sebb seb...@gmail.com wrote:
no variables in
/project/parent/groupId
/project/parent/artifactId
/project/parent/version
/project/groupId
/project/artifactId
/project/version
is the policy you are refering to... which is to ensure that the project
model can be constructed from the pom.xml
that has no impact on using
On 18 May 2010 08:40, Markus Muenkel markus.muen...@fernuni-hagen.dewrote:
I'm releasing a Maven2 multi-module project. One of the modules is a POM
project (assembly project) that uses the maven-assembly-plugin in
order
to
build an assembly (zip archive). The artifacts to be assembled are
On 18 May 2010 11:56, Markus Muenkel markus.muen...@fernuni-hagen.dewrote:
Am Tue, 18 May 2010 09:10:05 +0100 hat
Stephen Connolly stephen.alan.conno...@gmail.com geschrieben:
On 18 May 2010 08:40, Markus Muenkel markus.muen...@fernuni-hagen.de
wrote:
I'm releasing a Maven2 multi
You are completely off standard maven behaviour.
easiest solution is to create two files: myAlias.sh and myAlias.bat
myAlias.sh
#!/bin/sh
mvn clean:clean dependency:copy-dependencies ...
myAlias.bat
@mvn clean:clean dependency:copy-dependencies ...
Either that or use ANT.
Maven has a
Frédéric
On Mon, May 17, 2010 at 9:51 AM, Stephen Connolly
stephen.alan.conno...@gmail.com wrote:
You are completely off standard maven behaviour.
easiest solution is to create two files: myAlias.sh and myAlias.bat
myAlias.sh
#!/bin/sh
mvn clean:clean dependency:copy-dependencies
On 17 May 2010 14:13, Markus Muenkel markus.muen...@fernuni-hagen.dewrote:
I'm releasing a Maven2 multi-module project. One of the modules is a POM
project (assembly project) that uses the maven-assembly-plugin in order
to
build an assembly (zip archive). The artifacts to be assembled are
you have to use the previously release version
On 17 May 2010 22:24, Kathryn Huxtable kath...@kathrynhuxtable.org wrote:
So how do I use my documentation-producing plugin in its own documentation
without a variable version number?
See
or switch to maven 3.0-beta-1
On 14 May 2010 18:30, Wayne Fay wayne...@gmail.com wrote:
seeing that maven always uses the version 1.0 for all projects. It seem's
that maven caches the version of used plugin and don't apply the correct
version for the last project
Yes, that's what
1301 - 1400 of 2415 matches
Mail list logo