Ok, thanks!
On Tue, 25 Oct 2011 11:15:49 +0200, Olivier Lamy wrote:
2011/10/24 Johan Lindquist jo...@kawoo.co.uk:
Hi All,
I am curious what the expected behavior with is when using the -f
alternate-pom-file command line option with respect to the working
directory.
I am running 'mvn -f sub
Hi All,
I am curious what the expected behavior with is when using the -f
alternate-pom-file command line option with respect to the working
directory.
I am running 'mvn -f sub-dir/pom.xml' and it seems Maven will change
the working directory to 'sub-dir' before executing the actual build.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi All,
Using Maven 3.0-alpha6, I have a project which contains snapshot
dependencies of my local artifacts in both the dependency section of the
pom in the ant-run plugin. In addition, I am pointing Maven to a
local artifactory repository (using
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Agree with Stephen - this is then one (the latter) that worked for me.
Cheers,
Johan
Stephen Connolly wrote:
you'll want to set inherited to false, or else create a special module
which has the config
On Friday, June 19, 2009, Dmitry
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Not sure what you are generating the sources from, but for generated
SOAP client code, we usually build this as a separate module (jar) and
have our code depend on it - saves us generating code all the time.
For other generated code (from the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
The deploy plugin accepts a classifier parameter (-Dclassifier=) - use
this with the values 'tests', 'test-sources' and 'sources' and it should
work. See also [1].
Cheers,
Johan
[1]
already tried the -Dclassifier parameter but maybe i did it wrong...
When just appending the -Dclassifier=tests parameter to the command it still
just deploys one file.
So is it right that i have to deloy the classifier with a second deploy-cmd
after deploying the artifact-file?
Johan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The compilerArguments are passed directly to javac executable as far as
I can tell and javac does not support these flags.
Could you use the MAVEN_OPTS environment variable to enable assertions
in within the Maven code perhaps?
Cheers,
Johan
Mick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Of course they are - I wasn't stating otherwise ...
Johan
Jochen Wiedmann wrote:
On Thu, Feb 5, 2009 at 3:59 PM, Johan Lindquist jo...@kawoo.co.uk wrote:
The compilerArguments are passed directly to javac executable as far as
I can tell
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
that should of course be 'of course they are not supported' ... opps ;)
Johan Lindquist wrote:
Of course they are - I wasn't stating otherwise ...
Johan
Jochen Wiedmann wrote:
On Thu, Feb 5, 2009 at 3:59 PM, Johan Lindquist jo...@kawoo.co.uk
Hi Ray,
I may be well off, but this usually works for me - the only thing
different is that I use the scpexe protocol.
Cheers,
Johan
Tang, Ray wrote:
Can someone please advise how this can get done without entering
password or yes?
I am enclosing the settings.xml for reference.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Add list of the objects to your mojo
/**
* List of Orders
*
* @parameter
*/
private ListOrder orders = new ArrayListOrder();
and in your pom.xml (within the config section of your mojo), specify
the following:
orders
order
moduleSets
moduleSet
includes
include*:Api/include
include*:Common/include
includes
/moduleSet
/moduleSets
/assembly
On Mon, Dec 29, 2008 at 5:48 PM, Johan Lindquist jo...@kawoo.co.uk wrote:
Hi Bahri,
My assembly
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Bahri,
The assembly plugin should install it's artifacts by default - not sure
why it is not doing so in this case.
Could you try running it without the output directory specified?
If not working, try adding the the following (just after your
was:
mvn clean install package assembly:assembly
i.e, I was explicitly calling assembly after package. I am not sure why this
approach was fit for me, probably was because of inter dependencies of sub
modules.
Bahri
On Mon, Dec 29, 2008 at 4:39 PM, Johan Lindquist jo...@kawoo.co.uk wrote
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Works for me - are you using a proxy?
Cheers,
Johan
Mo Mal wrote:
Sorry for the general question.
I am trying to build something using Maven, running mvn in the directory
gives a build failure, because the following link is not available. (
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
My thought as well - Hudson would have each branch (as well as trunk)
using a separate repository (config option).
Johan
Dan Tran wrote:
My team is about to venture into this situation, my plan is to have
each team should have its own internal
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I have looked around but fail to find any docs on how to activate a
certain proxy (configured in my settings.xml) from the command line.
The docs for settings.xml hints that this could (should?) be possible.
Anyone used this or know if it is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I have a similar setup, only I declare the dependency versions in the
parent pom (using dependency management). Of course, not tried to use
a property there
(define the versions explicitly), but maven happily updates the
dependency management
That rings a bell - and that would explain why it works for me - my root
pom (not the project root pom - declared a long while back) defines this
for the release plugin. Apologies for the misleading post ...
Cheers,
Johan
Kalle Korhonen wrote:
Why don't you just run install during
For 1) also check that you shutting down the db in the tearDown (if you
don't already do this of course). Found hsqldb to require a clean
shutdown and it fixed things for me.
Cheers,
Johan
Dan Fabulich wrote:
vetalok wrote:
1. Is it possible to add some delaying between few execution
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I don't think this is currently possible; I would investigate using the
release plugin though, as this ensures that versions are always incremented.
Cheers,
Johan
Leder, Leslie (NSN - DE/Greifswald) wrote:
Hello,
assume there is a module A
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi All,
I am having an issue with the release plugin. I am getting an assertion
failure just after the plugin asks for the release version to be built
(see below for stack trace).
Debugging it, it seems the plugin adds the root project id to the
Hi,
You can do that through your settings.xml file (using the
localRepository/ tag) but of course that won't help if you are looking
at a runtime option.
Johan
Howard Lewis Ship wrote:
Is there a way to control what the local repository is? I've done
some searching found -Dmaven.repo.local,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Stefan,
I don't think you are allowed to have a property in the parent
reference. I tried this before and it would work in most other places
of the pom apart from the parent reference.
If I remember correctly, the rationale behind it is that
Hi Marcos,
Check out the assembly plugin (see [1]), which should be able to help
you with you what you want.
Cheers,
Johan
[1] http://maven.apache.org/plugins/maven-assembly-plugin/
Marcos wrote:
Hi all :-)
I've been using Maven to build my application and it's structured in the
Hi Alexandre,
You should be able to specify a plugin's dependancies within the plugin
definition in your pom (build/plugins/plugin). I am not fully sure, but
this may also be possible using a profile, which would allow you to not
make this visibile to those who *dont* activate the profile in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi All,
I have a war file which I can build to include either MySQL or Oracle
database configurations and I was wondering how I can get the classifier
into the final name of the artifact created?
In a dependency, I can specify which classifier to
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-war-plugin/artifactId
configuration
classifiermyclassifierclassifier/
/configuration
/plugin
/plugins
/build
[...]
/project
-Tim
Johan Lindquist
Hi Baz,
Try to specify the JDK in the Clover config. I believe the jdk property
described in [1] defines this.
Cheers,
Johan
[1] http://maven.apache.org/plugins/maven-clover-plugin/instrument-mojo.html
Baz wrote:
Wayne, read the link you sent. Are you saying that i should use
different
:
http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compi
ler-source-and-target.html
Is that mean i need a proper version of 1.5? or other version?
B.
On 4/7/07, Johan Lindquist [EMAIL PROTECTED] wrote:
Hi Baz,
Try to specify the JDK in the Clover config. I believe the jdk
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Mac,
Do you want them enabled when simply running maven or in (for example)
surefire?
To enable when running maven, you should be able to use the environment
variable MAVEN_OPTS and set it to include '-ea' (without the quotes)
For enabling (for
. Are you on every mailing list? :-)
On 4/3/07, Johan Lindquist [EMAIL PROTECTED] wrote:
Hi James,
Try using the following property in you Mojo.
/**
* The classpath elements of the project.
*
* @parameter expression=${project.runtimeClasspathElements} *
@required
?
Shouldn't the dependencies show up too?
James
On 4/4/07, James Carman [EMAIL PROTECTED] wrote:
Johan,
I think I see what you mean. I'll give it a whirl when I get to work
today. Thanks for your help!
James
On 4/4/07, Johan Lindquist [EMAIL PROTECTED] wrote:
Hi James James
Hi James,
Try using the following property in you Mojo.
/**
* The classpath elements of the project.
*
* @parameter expression=${project.runtimeClasspathElements}
* @required
* @readonly
*/
private List classpathElements;
I think in this case, you would
?
James
p.s. Are you on every mailing list? :-)
On 4/3/07, Johan Lindquist [EMAIL PROTECTED] wrote:
Hi James,
Try using the following property in you Mojo.
/**
* The classpath elements of the project.
*
* @parameter expression=${project.runtimeClasspathElements
to be sure all your snapshots are
in your remote repository. Without them, your builds will fail
Emmanuel
Johan Lindquist a écrit :
Do you mean the local repository? If so, no, i pretty sure it doesn't.
But have a look at the maven dependancy purge-local-repository plugin
[1], which can clear
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Do you mean the local repository? If so, no, i pretty sure it doesn't.
But have a look at the maven dependancy purge-local-repository plugin
[1], which can clear out all depdencies for the project.
Cheers,
Johan
[1]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Gregory,
Is it Continuum or Maven that hangs? I found that if the Maven process
was not given enough memory (on windows) the build process would hang
without any indication what was wrong. By giving the process more
memory (in particular, the
Hi,
Looks like you are running with snapshots enabled (surefire plugin uses
v2.3-SNAPSHOT) - not sure how exactly maven behaves when snapshot
versions of plugins are enabled, but it may be that it requires to be
online all the time.
Regards,
Johan
Marilyn Sander -X (marilysa - Digital-X, Inc.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Alexander,
I like this idea, and if I may, I'd like to add one suggestion. How
about allowing the users settings.xml to 'include' a settings.xml from a
different location (file, url, whatever). This would allow developers
to customize the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Out of curiosity - you running on Windows? I had problems with JBoss
JNDI lookups because there were spaces in the classpath (repository is
in Documents and Settings. Fixed the problems by moving my repository
to a directory without spaces.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Remy,
Try
rsync -rlHtSv [EMAIL PROTECTED]::maven2 /var/www/maven2
where /var/www/maven2 is the location where you want to put the files.
You would then have to make the location available over HTTP.
Cheers,
Johan
Rémy Sanlaville wrote:
Hi,
Emmanuel Venisse wrote:
Already answered on this list ;)
Click on Show projects link, then click on Build all button.
Emmanuel
Johan Lindquist a écrit :
Hi all,
For some reason I am getting builds that are stuck in the building
mode even though the build process has long gone away
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
For some reason I am getting builds that are stuck in the building
mode even though the build process has long gone away. is there a quick
way of clearing these out of the status screens?
Thanks,
Johan
- --
you too?
-BEGIN PGP
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I was wondering what the status of the surefire plugin is - was hoping
to be able to take advantage of the new redirect stdout to file.
Planning to release a new version soon?
Thanks,
Joahn
- --
you too?
-BEGIN PGP SIGNATURE-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi All,
Are the Maven 2.0 core jars not in the repository or have I missed
something? I need to depend on the maven-artifact-ant-X-dep.jar and I
can't find it anywhere.
Thanks,
Johan
- --
you too?
-BEGIN PGP SIGNATURE-
Version: GnuPG
47 matches
Mail list logo