Unfortunately not,
you can't use parent project with packaging pom as ear module.
Own module for EAR is a part of Maven paradigm: module - artifact.
EAR plugin just replace JAR plugin in EAR module and it can't be used
just like surefire plugin.
In other words, EAR plugin doesn't attach to
I'll be there, and I'll be sure to make room for it on my agenda.
Looking forward to it :)
-ketil
2009/9/4 Jason van Zyl jvan...@sonatype.com:
Norway has always been a big supporter of Maven (I'm sorry about Maven 1.x)
and so it's the first place that I'm going to give a talk on Maven 3.0. If
Hi,
I have multimodule project. One module has final version number. Is it possible
to lock version number in pom.xml? maven:prepare changes the version number to
-SNAPSHOT.
The only one solution I could find is to remove the module from parent project,
deploy the jar into maven repository and
Hi,
I would like to reference the parent at a child module using variable at
version.
I would like to do this, because I have a lot of projects that are child
of parent. And if I change the version of parent, I will have to change all
modules.
I tried this, but not working:
Try using v 1.0 of the SCM libraries in the extensions to match the
Wagon.
- Brett
On 05/09/2009, at 1:12 AM, droidin.net wrote:
Thanks Brett,
I changed deploy URL to:
snapshotRepository
uniqueVersionfalse/uniqueVersion
idengtools_snapshots/id
Please try site-plugin-2.1-SNAPSHOT. site-plugin-2.0.x uses doxia-1.0 which may
lead to some classpath-confusion.
HTH,
-Lukas
Fred Vos wrote:
Hello,
Im struggling with this for some time now. I'm trying to setup
documentation using reStructuredText as the document format. But I'm
having
Hi folks,
our repo is synced to Maven Central. I'd like to change the contact name
and email to our admin.
Is this a case for the repo maintainers?
Thanks,
Mike
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
Hello!
I've wrestling with the following problem for a few days now. I have
created a junit test that uses a mock of the jboss cache mechanism.
The real jboss jars are included in the POM in the provided scope and
the mock classes reside in the test subtree.
So the project setup is something
How can one pass command-line options to the JVM when using Surefire?
It's easy to do this by editting the POM by adding an argLine tag to
the configuration section.
However I'd like to be able to change the JVM options from the command-line.
Is there a way to do this?
Hi All
As JUG Leader of the JAVAWUG London, we just recently published Jason
van Zyl talk online. The event took place at EMC/Conchango on Wednesday,
17st June 2009 from 18:30 until 20:30. We had the pleasure of welcoming
Jason van Zyl of Sonatype once again to talk us about Maven 3.0,
Hi,
We're using maven for most of our java development projects but need to
integrate with some native code. We have a build system that can build
dlls and shared objects and have integrated this into a maven build so
that it creates a jar containing the dlls or shared objects.
The problem
add a maven property to the pom ( ie
propertiesnamevalue/nameproperties ) , use that prop with
argline, and then override that prop with -Dname=anotherValue
-Dan
On Mon, Sep 7, 2009 at 6:38 AM, sebbseb...@gmail.com wrote:
How can one pass command-line options to the JVM when using Surefire?
Mark Howard wrote:
Hi,
We're using maven for most of our java development projects but need to
integrate with some native code. We have a build system that can build
dlls and shared objects and have integrated this into a maven build so
that it creates a jar containing the dlls or shared
2009/9/7 Mark Howard m...@tildemh.com:
We're using maven for most of our java development projects but need to
integrate with some native code. We have a build system that can build
dlls and shared objects and have integrated this into a maven build so
that it creates a jar containing the dlls
I have a similar situation,
I have native and java in 2 separate project trees and make java
projects to depends on the native artifacts.
The native will be released first, and then fix up java's dependency
management to pickup the released native artifact, and then release
the java tree
For
Dan Tran wrote:
Release plugin cannot proceed with snapshot dependencies including
build plugin.
The main rational is it want to guarantee the release code is
producible. Note snapshots
can go away any time and it can have behaviors changed any time.
-D
Yes that's right but this
2009/9/7 is_maximum mnr...@gmail.com
Dan Tran wrote:
Release plugin cannot proceed with snapshot dependencies including
build plugin.
The main rational is it want to guarantee the release code is
producible. Note snapshots
can go away any time and it can have behaviors changed
On 07/09/2009, Dan Tran dant...@gmail.com wrote:
add a maven property to the pom ( ie
propertiesnamevalue/nameproperties ) , use that prop with
argline, and then override that prop with -Dname=anotherValue
Thanks, I considered that, but I really want to be able to override
the value without
it is a known issue ( dont remember the JIRA# thou )
-D
On Mon, Sep 7, 2009 at 12:43 PM, sebbseb...@gmail.com wrote:
On 07/09/2009, Dan Tran dant...@gmail.com wrote:
add a maven property to the pom ( ie
propertiesnamevalue/nameproperties ) , use that prop with
argline, and then override
On Mon, Sep 07, 2009 at 09:32:53AM +0200, Lukas Theussl wrote:
Please try site-plugin-2.1-SNAPSHOT. site-plugin-2.0.x uses doxia-1.0
which may lead to some classpath-confusion.
Thank you, Lukas, for your quick answer. I want to give this
2.1-SNAPSHOT version a try, but I cannot find it. Does
Can anyone give pointers for this question?
stug23 wrote:
Is there some way to use Plexus injection to accomplish the addition of a
custom Velocity tool in an archetype so that archetype:generate can
leverage the custom Velocity tool?
I recently read an introductory posting on Plexus
Hello,
In my ~/.m2/settings.xml I have:
settings
profiles
profile
idsetup_database_password/id
activation
activeByDefaulttrue/activeByDefault
/activation
properties
environment.typedev/environment.type
database.passwordsecret/database.password
you should be a to search for it
search
maven profile using environment variable
found
http://www.devx.com/Java/Article/32386/1763
good luck.
-D
On Mon, Sep 7, 2009 at 7:33 PM, James Russoj...@halo3.net wrote:
Hello,
In my ~/.m2/settings.xml I have:
settings
profiles
profile
Thanks Dan..
I've looked at that, and it seems that I have it setup correctly.
However, the profile in my pom (which should be activated by an property
defined in my ~/.m2/settings.xml file) is never activated. Using
help:effective-pom it shows that the property is there, so I know it is
Here:
https://repository.apache.org/content/repositories/snapshots/
/Anders
On Mon, Sep 7, 2009 at 22:27, Fred Vos f...@fredvos.org wrote:
On Mon, Sep 07, 2009 at 09:32:53AM +0200, Lukas Theussl wrote:
Please try site-plugin-2.1-SNAPSHOT. site-plugin-2.0.x uses doxia-1.0
which may lead
How can I configure my pom such that it will copy other files, such as
properties and .xml files that are in the default package directory
into the build result? Specifically, I need to copy the
hibernate.cfg.xml file so that crappy hibernate doesn't blow up. I'm
using the simple jar
Hi Bill,
William Hatch wrote at Dienstag, 8. September 2009 07:32:
How can I configure my pom such that it will copy other files, such as
properties and .xml files that are in the default package directory
into the build result? Specifically, I need to copy the
hibernate.cfg.xml file so that
James Russo wrote at Dienstag, 8. September 2009 04:33:
Hello,
In my ~/.m2/settings.xml I have:
settings
profiles
profile
idsetup_database_password/id
activation
activeByDefaulttrue/activeByDefault
/activation
properties
28 matches
Mail list logo