Re: How to configure Maven for an overloaded intranet repository?

2022-09-29 Thread Benjamin Marwell
There are two approaches for your issue. First of all, you can try to use caches, so you don't need to download dependencies over and over again. There are also settings which might help, see the system properties in WAGON-545 [1]. E.g. retries and timeouts. But. To me it sounds from your descrip

How to configure Maven for an overloaded intranet repository?

2022-09-29 Thread David Karr
I work in a very large enterprise that uses a centralized intranet maven repository to get artifacts from. It often has load issues that result in builds failing with "failed to respond". The team that maintains it is working towards eventual mitigations for that, but it will be quite a while bef

how to configure maven-shade-plugin to execute using specific java version?

2019-05-17 Thread Sachin Tiwari
Hi, My default JAVA_HOME points to java 1.6 and I am trying use maven-shade-plugin version 3.2.1 which requires java 1.7+ So I looking for a way to configure my maven-shade-plugin to execute using required java version and not my default JAVA_HOME version. E.g. I had similar issue with maven-sur

How to configure maven to checkout multiple modules before module reactor fails

2019-03-23 Thread garym
How should I configure maven parent pom to checkout code before Module list fails because the pom cannot be found. It seems the maven's reactor test for a module's pom occurs before the generate-sources phase when scm checkouts the projects with the projects' pom. How can I fix this ? thanks

AW: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-18 Thread Markus Karg
ndreas.gud...@gmail.com] Gesendet: Dienstag, 17. März 2015 20:20 An: Maven Users List Betreff: Re: How to configure maven-dependency-plugin's encoding used for unpack? Markus, as for an "ASAP" quick fix, did you try using the vfs-maven-plugin to unpack your zip files? I don't

Re: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-17 Thread Andreas Gudian
e pluging management team. So if you can ensure > this, we will lookup some people coding the solution. > > > > Thanks! > > -Markus > > > > > > -Ursprüngliche Nachricht- > > Von: kristian.rosenv...@zenior.no [mailto:kristian.rosenv...@zenior.no] > Im Auftrag

Re: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-17 Thread Kristian Rosenvold
lookup > some people coding the solution. > > Thanks! > -Markus > > > -Ursprüngliche Nachricht- > Von: kristian.rosenv...@zenior.no [mailto:kristian.rosenv...@zenior.no] Im > Auftrag von Kristian Rosenvold > Gesendet: Dienstag, 17. März 2015 08:39 > An: Mave

AW: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-17 Thread Markus Karg
> > > -Ursprüngliche Nachricht----- > Von: kristian.rosenv...@zenior.no > [mailto:kristian.rosenv...@zenior.no] > Im Auftrag von Kristian Rosenvold > Gesendet: Montag, 16. März 2015 21:19 > An: Maven Users List > Betreff: Re: How to configure maven-dependency-plug

AW: AW: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-17 Thread Markus Karg
st to make me understand. :-) Thanks -Markus -Ursprüngliche Nachricht- Von: Hervé BOUTEMY [mailto:herve.bout...@free.fr] Gesendet: Dienstag, 17. März 2015 08:36 An: Maven Users List Betreff: Re: AW: How to configure maven-dependency-plugin's encoding used for unpack? Le mardi 17

Re: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-17 Thread Kristian Rosenvold
t; I'm talking about http://jira.codehaus.org/browse/MDEP-436 >> >> Thank you for your kind help. >> >> Regards >> -Markus >> >> >> -Ursprüngliche Nachricht- >> Von: kristian.rosenv...@zenior.no [mailto:kristian.rosenv...@zenior.no]

Re: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-17 Thread Kristian Rosenvold
ncy-plugin > for that single artifactItem shall use CP850. :-) > > I'm talking about http://jira.codehaus.org/browse/MDEP-436 > > Thank you for your kind help. > > Regards > -Markus > > > -Ursprüngliche Nachricht- > Von: kristian.rosenv...@zenior.no [

AW: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-17 Thread Markus Karg
: kristian.rosenv...@zenior.no [mailto:kristian.rosenv...@zenior.no] Im Auftrag von Kristian Rosenvold Gesendet: Montag, 16. März 2015 20:25 An: Maven Users List Betreff: Re: How to configure maven-dependency-plugin's encoding used for unpack? I don't really see that the dependency plug

Re: AW: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-17 Thread Hervé BOUTEMY
ctly > > > display them, so people on the Windows world will virtually every > > > create > > > > CP850-ZIPs! > > > > > > > > > > > Do you know about any plans to support this, or what is the intended > > > future of this issue

AW: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-17 Thread Markus Karg
tian.rosenv...@zenior.no] Im Auftrag von Kristian Rosenvold Gesendet: Montag, 16. März 2015 21:19 An: Maven Users List Betreff: Re: How to configure maven-dependency-plugin's encoding used for unpack? There is no way to specify unarchiver encoding in the dependency plugin, I have check

AW: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-17 Thread Markus Karg
...@gmail.com] Im Auftrag von Baptiste Mathus Gesendet: Dienstag, 17. März 2015 06:40 An: Maven Users List Betreff: Re: How to configure maven-dependency-plugin's encoding used for unpack? And this is actually not even always true, CP1252 is also often used on Windows (in France for ex

AW: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-17 Thread Markus Karg
März 2015 07:06 An: Maven Users List Betreff: Re: How to configure maven-dependency-plugin's encoding used for unpack? This is really only a question about the borked "zip file" explorer that is default in windows. Quality zip clients always works fine on Windows. The miserab

Re: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-16 Thread Kristian Rosenvold
ssue? > > > > Thanks > > -Markus > > > > -Ursprüngliche Nachricht- > > Von: kristian.rosenv...@zenior.no [mailto:kristian.rosenv...@zenior.no] > > Im Auftrag von Kristian Rosenvold > > Gesendet: Montag, 16. März 2015 13:46 > > An: Maven User

Re: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-16 Thread Baptiste Mathus
ure of this issue? > > Thanks > -Markus > > -Ursprüngliche Nachricht- > Von: kristian.rosenv...@zenior.no [mailto:kristian.rosenv...@zenior.no] > Im Auftrag von Kristian Rosenvold > Gesendet: Montag, 16. März 2015 13:46 > An: Maven Users List > Betreff: Re: How to conf

Re: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-16 Thread Kristian Rosenvold
old > Gesendet: Montag, 16. März 2015 13:46 > An: Maven Users List > Betreff: Re: How to configure maven-dependency-plugin's encoding used for > unpack? > > I did not actually look at the implementation on the dependency plugin, > but it is actually technically impossible

Re: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-16 Thread Kristian Rosenvold
gliche Nachricht- > Von: kristian.rosenv...@zenior.no [mailto:kristian.rosenv...@zenior.no] > Im Auftrag von Kristian Rosenvold > Gesendet: Montag, 16. März 2015 13:46 > An: Maven Users List > Betreff: Re: How to configure maven-dependency-plugin's encoding used for > unpack?

AW: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-16 Thread Markus Karg
intended future of this issue? Thanks -Markus -Ursprüngliche Nachricht- Von: kristian.rosenv...@zenior.no [mailto:kristian.rosenv...@zenior.no] Im Auftrag von Kristian Rosenvold Gesendet: Montag, 16. März 2015 13:46 An: Maven Users List Betreff: Re: How to configure maven-dependency-plugin&#

Re: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-16 Thread Kristian Rosenvold
I did not actually look at the implementation on the dependency plugin, but it is actually technically impossible to supply the encoding parameter to *unzip* via the tag. So until this is fixed, UTF-8 zip archives are the only ones that will work (with plexus unzip archiver). Kristian 2015-03-1

Re: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-16 Thread Adrien Rivard
If I'm reading the documentation correctly, only apply to filter resources, not to zip them. In any case I would try using utf-8. On Mon, Mar 16, 2015 at 12:34 PM, Kristian Rosenvold < kristian.rosenv...@gmail.com> wrote: > I dont believe there is support for specifying encoding to unzip. At

Re: How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-16 Thread Kristian Rosenvold
I dont believe there is support for specifying encoding to unzip. At least assembly only provides config to zip. Call it a bug, call it a feature :( Kristian 2015-03-16 12:12 GMT+01:00 Markus Karg : > To preserve German umlauts in file names within a ZIP, we are using... > > > CP850 > > > ...

How to configure maven-dependency-plugin's encoding used for unpack?

2015-03-16 Thread Markus Karg
To preserve German umlauts in file names within a ZIP, we are using... CP850 ...in the maven-assembly-plugin configuration, which is working well. :) Next we want to use maven-dependency-plugin to unpack that ZIP. How can we configure maven-dependency-plugin:unpack so it will apply CP850 when

RE: How to configure maven

2014-01-22 Thread Walters, Jay
Sorry - the bad repo is in the rampart pom.xml file. I must have fat fingered the text search first time around. -Original Message- From: Walters, Jay [mailto:walte...@hmc.harvard.edu] Sent: Wednesday, January 22, 2014 11:49 AM To: 'Maven Users List' Subject: RE: How to confi

RE: How to configure maven

2014-01-22 Thread Walters, Jay
To: 'users@maven.apache.org' Subject: How to configure maven Sorry for asking such a easy question, but googling apache maven anything doesn't get to the answer too easily. I have a previously working local repository in my home\.m2 directory. I am on windows and JDK 1.

How to configure maven

2014-01-22 Thread Walters, Jay
Sorry for asking such a easy question, but googling apache maven anything doesn't get to the answer too easily. I have a previously working local repository in my home\.m2 directory. I am on windows and JDK 1.6.0_21. I have previously used this with maven 2.2.1 and 3.0.4. I also downloaded a

Re: how to configure maven plugins using compony repository with nexus

2012-01-13 Thread Ansgar Konermann
Am 13.01.2012 07:12 schrieb "chandrasheker" : > > Hi, > > How to configure maven plugins to company repository with nexus ui.i > download the jar from internal company repository It's described in the manual of Sonatype Nexus. Please rtfm. Besides, the exception

how to configure maven plugins using compony repository with nexus

2012-01-12 Thread chandrasheker
Hi, How to configure maven plugins to company repository with nexus ui.i download the jar from internal company repository while run application but it gives the following excepiton org.apache.maven.lifecycle.LifecycleExecutionException: at

how to configure maven-test-plugin

2010-10-28 Thread mounir sabour
hello all, i want to mock a final class, for that i need to use jdave to do so i need to launch your tests with the following vm parameter: -javaagent:/path/to/workspace/jdave-unfinalizer/target/jdave-unfinalizer-jar-name.jar i did a search and the maven-test-plugin can do this ( i dont under

Fwd: how to configure maven-test-plugin

2010-10-28 Thread mounir sabour
hello all, i want to mock a final class, for that i need to use jdave to do so i need to launch your tests with the following vm parameter: -javaagent:/path/to/workspace/jdave-unfinalizer/target/jdave-unfinalizer-jar-name.jar i did a search and the maven-test-plugin can do this ( i dont under

Re: How to configure maven-site-plugin to publish jar?

2009-04-15 Thread Dennis Lundberg
David Hoffer wrote: > Can and if possible how can I configure the maven-site-plugin so that it > bundles the entire site in a jar and then deploys it? Ideally the whole > process would remain contained within the site-deploy phase. > > -Dave > You can use the site:jar goal for this purpose: htt

How to configure maven-site-plugin to publish jar?

2009-04-13 Thread David Hoffer
Can and if possible how can I configure the maven-site-plugin so that it bundles the entire site in a jar and then deploys it? Ideally the whole process would remain contained within the site-deploy phase. -Dave

How to configure maven-idea-plugin to include/exclude directories?

2009-04-01 Thread David Hoffer
How can I configure maven-idea-plugin to allow target/generated-sources as IDEA source but disallow all others? Having target included by default seriously slows down IDEA when it finds new javadocs, etc. -Dave - To unsubscribe,

How to configure maven-checkstyle-plugin with external ImportControl file in your checkstyle configuration ?

2007-01-18 Thread Cyril MOREAU
How to configure maven-checkstyle-plugin with external ImportControl file in your checkstyle configuration ? My configuration is available in "http://www.xxx.com/repository/rdc";. This address contains this files : my_checstyleconfiguration.xml import-control.x

Re: [m2] How to configure maven-antrun plugin without binding to a lifecycle phase

2006-03-16 Thread Georges Polyzois
Hi If you want to use some of the meta data from Mavens pom file you could always use the maven-ant tasks. I have used it for running Fit integration tests using a plain ant build.xml file which is "including" the Maven pom.xml file and thereby having the dependency path from Maven. A small snipp

Re: [m2] How to configure maven-antrun plugin without binding to a lifecycle phase

2006-03-16 Thread Stephen Duncan
Just by specifying the configuration outside of an execution: maven-antrun-plugin -Stephen On 3/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > We need to execute some ANT tasks (e.g. for >

Re: [m2] How to configure maven-antrun plugin without binding to a lifecycle phase

2006-03-16 Thread haginow2001-nabble
Dan, That's actually a great idea. Let me try that, but that could be what I was looking for ... Thanks Chris --- dan tran <[EMAIL PROTECTED]> wrote: > Bind antrun:run to a phase but profile it > > http://maven.apache.org/guides/introduction/introduction-to-profiles.html > > -D > > On 3/15/0

Re: [m2] How to configure maven-antrun plugin without binding to a lifecycle phase

2006-03-15 Thread dan tran
Bind antrun:run to a phase but profile it http://maven.apache.org/guides/introduction/introduction-to-profiles.html -D On 3/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Doesn't really work, as it doesn't execute anything if > you configure the antrun plugin according to the docs: > >

Re: [m2] How to configure maven-antrun plugin without binding to a lifecycle phase

2006-03-15 Thread haginow2001-nabble
Doesn't really work, as it doesn't execute anything if you configure the antrun plugin according to the docs: maven-antrun-plugin generate-sources

Re: [m2] How to configure maven-antrun plugin without binding to a lifecycle phase

2006-03-15 Thread haginow2001-nabble
This doesn't work unfortunately as the deployment is a little more complex. We need to get some information (e.g. artifact version) to make the deployment work, and we don't want to duplicate that info outside the POM. So, if we invoke ANT directly, we simply don't have that info. Thanks anyways.

Re: [m2] How to configure maven-antrun plugin without binding to a lifecycle phase

2006-03-15 Thread Wayne Fay
I'd leave it in Ant, and call it directly, not via antrun/maven. That's how I'm deploying our j2ee app currently... Just plain old "ant ". ;-) Wayne On 3/16/06, Chris Hagmann <[EMAIL PROTECTED]> wrote: > We need to execute some ANT tasks (e.g. for > redeploying a server configuration) which we

Re: [m2] How to configure maven-antrun plugin without binding to a lifecycle phase

2006-03-15 Thread dan tran
wonder it this would work maven antrun:run -D On 3/15/06, Chris Hagmann <[EMAIL PROTECTED]> wrote: > > We need to execute some ANT tasks (e.g. for > redeploying a server configuration) which we only need > to execute every so often, but which are not part of > the regular build lifecycle. Hence

[m2] How to configure maven-antrun plugin without binding to a lifecycle phase

2006-03-15 Thread haginow2001-nabble
We need to execute some ANT tasks (e.g. for redeploying a server configuration) which we only need to execute every so often, but which are not part of the regular build lifecycle. Hence we need to configure the plugin, but cannot bind it to any of the lifecycle phases of Maven 2. How can we do t

[m2] How to configure maven-antrun plugin without binding to a lifecycle phase

2006-03-15 Thread Chris Hagmann
We need to execute some ANT tasks (e.g. for redeploying a server configuration) which we only need to execute every so often, but which are not part of the regular build lifecycle. Hence we need to configure the plugin, but cannot bind it to any of the lifecycle phases of Maven 2. How can we do t

How to configure Maven to genereate WAS 5 specific delpoyment with XDoclet

2005-06-20 Thread Mick Knutson
I have XDoclet Generating standard SLSB's, but need to generate WAS 5 descriptors as well, from within Maven. Possible? Thank You Mick Knutson Sr. Java/J2EE Consultant BASE logic, inc. (415) 648-1804 (S.F., CA) http://www.BASELogic.com HP Consulting Services (Walnut Creek, CA)