Hi,
I'm facing a problem in the release process when running Integration Tests.
We have different profiles for the different environments the release is
made for, namely DEV, TEST, PROD.
Each profile has its own values for DB access.
Now the IT are made to work on the development environment,
I guess you have tried to increase the heap?
E.g export MAVEN_OPTS="-Xmx512m -Xms256m"
/Lucas
On 02/02/2011 05:00 AM, Sridhar Laxmipuram Srinivasan wrote:
I get this weird error when I try to run maven...
[INFO] Compilation failure
Failure
On 02/01/2011 10:23 PM, Wayne Fay wrote:
How do I access the maven version from my java code.
For what purpose, exactly? Are you building a Maven plugin, or simply
building some Java project with Maven?
I have done this by reading version number during runtime from
MANIFEST.MF file:
I can not resist ;-)
this.getClass().getPackage().getImplementationVersion();
And you need to instruct maven jar plugin to include version info
the MANIFEST.MF
E.g.
configuration
archive
manifest
Unfortunately, this does not work when executing unit tests as the jar has
not been created yet.
/Anders
2011/2/2 Lucas Persson lucas.pers...@oracle.com
I can not resist ;-)
this.getClass().getPackage().getImplementationVersion();
And you need to instruct maven jar plugin to include version
Hello,
I'm using:
* Maven 2.2.1
* JDK 1.6
* the standard maven folder structure.
I'm getting a strange error only on the Ubuntu integration server. Some
tests fail with the following error:
Caused by: java.util.MissingResourceException: Can't find bundle for
Do you have support for French locales in your app?
If not I would guess that the default locale on the Ubuntu server is fr_FR.
If so, the solution would be to configure a default locale in the app you're
building. Otherwise the default locale is platform dependent.
/Ludwig
From: Yevgen
Marcin Kuthan wrote:
Hi Lukas
Sorry for inconvenience with my example. I extracted self-contained
test project:
http://m4enterprise.googlecode.com/svn/trunk/test2/
The example is prepared to use m-site-p version 2.3-SNAPSHOT. You can
customize plugin version with
This is a frequent issue.
There has been lost of discussion about this.
The Best Practice is to move the deployment info out of your projects
into JNDI or some other mechanism that ties the variable information to
the thing causing the variability.
Profiles is not the right way to do this.
On Wed, Jan 19, 2011 at 21:59, Phillip Hellewell ssh...@gmail.com wrote:
Has anyone else run into this? I run into it all the time. It
appears to be because unpack-dependencies is not updating the
timestamp on the marker files like it should.
I found this bug which seems to be exactly my
Hi Joachim,
Joachim Van der Auwera wrote:
On 02/01/2011 11:03 PM, Jörg Schaible wrote:
Hi Joachim,
Joachim Van der Auwera wrote:
On 02/01/2011 10:55 AM, Jörg Schaible wrote:
Joachim Van der Auwera wrote:
Hi,
I have a build for a GWT module. This includes the GWT plug-in for
Hi Fredy,
You can use the dependency scope
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope.
On Wed, Feb 2, 2011 at 12:59 PM, Hauschel Fred Robert
fredrobert.hausc...@cirquent.de wrote:
Hi all,
I have to add a jar (maven
2011/2/2 Hauschel Fred Robert fredrobert.hausc...@cirquent.de:
The jar should not be added to the classpath at build, runtime! And it
should not be included in WEB-INF/lib.
Not at build, not at runtime and not in WEB-INF/lib? What do you need it for?
Antonio
I'd suggest it could be a JAR containing an Applet.
The maven-dependency-plugin might help You out. Use on of the following
approaches:
http://maven.apache.org/plugins/maven-dependency-plugin/examples/copying-artifacts.html
Thanks for the links but actually I've read a bunch of stuff on Maven.
Unfortunately, I've found diverse examples, mostly generic, and none that
address the exact specifics of precisely, in every possible detail, the exact
structure that one needs for a multi-module project and every _single_
On 2 February 2011 08:50, Kenneth Litwak klit...@apu.edu wrote:
Thanks for the links but actually I've read a bunch of stuff on Maven.
Unfortunately, I've found diverse examples, mostly generic, and none that
address the exact specifics of precisely, in every possible detail, the exact
On 02/02/2011 12:46 PM, Hilco Wijbenga wrote:
On 2 February 2011 08:50, Kenneth Litwakklit...@apu.edu wrote:
Thanks for the links but actually I've read a bunch of stuff on Maven.
Unfortunately, I've found diverse examples, mostly generic, and none that
address the exact specifics of
On 2 February 2011 11:04, Ron Wheeler rwhee...@artifact-software.com wrote:
On 02/02/2011 12:46 PM, Hilco Wijbenga wrote:
On 2 February 2011 08:50, Kenneth Litwakklit...@apu.edu wrote:
Thanks for the links but actually I've read a bunch of stuff on Maven.
Unfortunately, I've found diverse
Here's something that happens to me frequently.
Goal: make a local release off the trunk of some FOSS thing that will
be a while releasing a fix that I need.
Typical set of activities:
1: git svn clone
2: branch
3: edit poms, change version, scm paths, deploymentRepository
4: run release
Why do you need to re-release? I typically checkout/clone, build, edit
the pom directly and change the version to
existingversion-mycompany-1, then take both the pom and the
(snapshot) library and deploy them to Nexus.
Kalle
On Wed, Feb 2, 2011 at 2:17 PM, Benson Margulies bimargul...@gmail.com
I am currently invoking mvn from ant. However, when there is a BUILD FAILURE
inside mvn, the ant script is still showing that the build is successful.
How could I determine what the error code is from mvn and read it into ant?
Any ideas?
--
View this message in context:
For a simple 'just-a-jar' project, that's fine. If I need some stuff
from someone's release profile .. The local change case is probably
more compelling.
On Wed, Feb 2, 2011 at 5:25 PM, Kalle Korhonen
kalle.o.korho...@gmail.com wrote:
Why do you need to re-release? I typically checkout/clone,
you can run mvn in ant as a java task
suggested attributes::
spawn=false
fork=false
output=SomeOutputFIle
error=SomeErrorFile
be sure all the necessary maven jars are on classpath before invoking
BTW: this is the command line you want to emulate in your Java task..you'll
need to supply all
Hi Craig, there's also release-disc...@apache.org to talk about
release processes specific to Apache.
On Tue, Feb 1, 2011 at 5:54 PM, Craig L Russell
craig.russ...@oracle.com wrote:
Thanks Kalle, looks like the right level for me to master before I ask more
detailed questions.
Craig
On Feb
Invaluable piece of information Ron, thanks a lot.
I've been searching the archives without success, with 'profile plugin'
'failsafe profile', all woudn't yield much relevant results.
But I'd still be happy if you could point me to some efficient keywords to
search for.
I don't remember JNDI as
(toots own horn) you might find the doc attached to the JIRA MPOM-5 useful.
On Wed, Feb 2, 2011 at 9:08 PM, Brian Fox bri...@infinity.nu wrote:
Hi Craig, there's also release-disc...@apache.org to talk about
release processes specific to Apache.
On Tue, Feb 1, 2011 at 5:54 PM, Craig L Russell
Thanks for the quick response.
I am actually already running maven from within ANT, except I am not sure
how to signal ant to say 'build failure' when the maven build fails.
Currently it is saying 'build successful' in ANT but 'build failure' in
maven.
--
View this message in context:
Hi Marc,
that is exactly what I need! Thank you very much!!
@Antonio, Martin:
Because of classpath manipulation (switching 3rdParty libraries) while runtime!
The library should not be loaded from the webapp classloader.
Fredy
-Ursprüngliche Nachricht-
Von: Marc Rohlfs
28 matches
Mail list logo