maven-dependency-plugin:copy-dependencies sometimes does not copy file in parallel build

2018-05-30 Thread Vivi An
Hi All, Using maven-dependency-plugin to download some dependencies to indicated target folder. Which works fine under serial build. Under parallel build, copy-dependency-to-test works as expected but did not see copy-byteman-dependency gets executed. Is there any restriction of using

copy file renaming to WEB-INF

2015-05-19 Thread Aitor Iturriondobeitia
hello i have some files into one directory: jboss-ejb-client_local.xml jboss-ejb-client_pre.xml jboss-ejb-client_prod.xml i have into my pom some profiles, one for each file (local, pre. prod) if i compiel for one profile, for example, pre, i need to copy the pre file (jboos-ejb-client_pre.xml

Re: copy file renaming to WEB-INF

2015-05-19 Thread Greg Trasuk
Hello Aitor: Using profiles is really the wrong way to do this. You are better off to realize that you have three separate artifacts that are being generated: - The “.war” file for ‘pre’ - The “.war” file for ‘local’ - The “.war” file for ‘prod’. You should treat these as separate artifacts,

AW: AW: copy file from dependent jar

2009-09-29 Thread Entner Harald
position. -Ursprüngliche Nachricht- Von: Brett Porter [mailto:br...@porterclan.net] Im Auftrag von Brett Porter Gesendet: Montag, 28. September 2009 01:29 An: Maven Users List Betreff: Re: AW: copy file from dependent jar On 25/09/2009, at 6:24 PM, Entner Harald wrote: The ant script

Re: AW: copy file from dependent jar

2009-09-27 Thread Brett Porter
On 25/09/2009, at 6:24 PM, Entner Harald wrote: The ant script has in my opinion a bad side effect. The structure is not allowed to change, so i would prefer to use dependencies so structure changes would have no side effects. Currently i use the maven-dependency-plugin that copies the

Re: AW: copy file from dependent jar

2009-09-27 Thread Daniel Kulp
On Sun September 27 2009 7:28:48 pm Brett Porter wrote: On 25/09/2009, at 6:24 PM, Entner Harald wrote: The ant script has in my opinion a bad side effect. The structure is not allowed to change, so i would prefer to use dependencies so structure changes would have no side effects.

AW: copy file from dependent jar

2009-09-25 Thread Entner Harald
03:55 An: Maven Users List Betreff: Re: copy file from dependent jar I'm a bit lost. Is Resource1 already included in Proj1 and is Proj1 a dependency of Proj3? - Brett On 24/09/2009, at 8:01 PM, Entner Harald wrote: Hello, i face the following problem. Currently i'm refactoring a project

copy file from dependent jar

2009-09-24 Thread Entner Harald
Hello, i face the following problem. Currently i'm refactoring a project so that i can move from ant to maven. It works rather well (i have done this in my old company as well), but some special cases occur. Most of them i could fix, but one causes me a headache. This is the simple view of

Re: copy file from dependent jar

2009-09-24 Thread Brett Porter
I'm a bit lost. Is Resource1 already included in Proj1 and is Proj1 a dependency of Proj3? - Brett On 24/09/2009, at 8:01 PM, Entner Harald wrote: Hello, i face the following problem. Currently i'm refactoring a project so that i can move from ant to maven. It works rather well (i have

How to copy file(.jks) KEEPING ORIGINAL FILE DATE in maven

2009-06-09 Thread Flores, Cesar (Genworth, Contractor)
Hello, I'm trying to copy with maven a file (*.jks) so that file keeps the original file date , but no success till now, the copied file get the current date not the original one. Have someone faced something like this? Any advises? Thanks for your kind Help I'm using something like next:

Re: How to copy file(.jks) KEEPING ORIGINAL FILE DATE in maven

2009-06-09 Thread Mick Knutson
Have you tried an assembly instead? --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN: http://linkedin.com/in/mickknutson Vacation

Re: Copy file

2007-06-29 Thread geirgp
? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Copy-file-tf3926772s177.html#a11367687 Sent from the Maven - Users mailing list archive

Re: Copy file

2007-06-28 Thread Ahmet Aytekin
Hi, Did you find an answer for your problem below? I am trying to do the same thing here. I 'd appreciate it if anyone can answer this. Regards, geirgp wrote: Thanks for replying, but I can't see how configuring this plugin can help me copy a file during the process-sources phase. What I

Re: Copy file

2007-06-28 Thread Manos Batsis
AFAIK this can only be done with the antrun plugin. Ahmet Aytekin wrote: Hi, Did you find an answer for your problem below? I am trying to do the same thing here. I 'd appreciate it if anyone can answer this. Regards, geirgp wrote: Thanks for replying, but I can't see how configuring

Re: Copy file

2007-06-28 Thread Nathan Maves
I think the following solution should work for you. Here are two example profiles profile idenv-qa/id activation property nameenv/name valueqa/value /property /activation properties

Re: Copy file

2007-06-21 Thread Maria Odea Ching
Hi, Sorry, I misread your previous email. I thought it was about using a different config file for every profile. Anyway, I don't know of any plugin that can be used for what you wanted to do.. -Deng geirgp wrote: Thanks for replying, but I can't see how configuring this plugin can help me

Re: Copy file

2007-06-21 Thread Stephen Coy
Hi, There's a couple of approaches to this: 1) use separate resources directories for each customer, with each one containing a config.xml. Then configure a resources block in each profile that points at the appropriate directory. 2) use a single config file that has its values specified

Re: Copy file

2007-06-17 Thread geirgp
in context: http://www.nabble.com/Copy-file-tf3926772s177.html#a11168077 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Copy file

2007-06-15 Thread Geir Gullestad Pettersen
Is there a plugin to copy a specified file during the build process? In src/main/resources I have config-customer1.xml, config-customer2.xml, ...3 and so on.. Depending on which profile I activate when running Maven I need one of these files to be copied to src/main/resources/config.xml so that

Re: Copy file

2007-06-15 Thread Maria Odea Ching
In each of your profiles, you could define a separate build block which contains which resources you want to be included in each profile (using the includes and excludes tags). You may want to take a look at this..

Re: Copy file

2007-06-15 Thread Thorsten Heit
Hi, Is there a plugin to copy a specified file during the build process? In src/main/resources I have config-customer1.xml, config-customer2.xml, ...3 and so on.. Depending on which profile I activate when running Maven I need one of these files to be copied to

Re: Copy file

2007-06-15 Thread Maria Odea Ching
In each of your profiles, you could define a separate build block which contains which resources you want to be included in each profile (using the includes and excludes tags). You may want to take a look at this..

Re: copy file in maven

2007-06-15 Thread acec acec
But I do not need scp, I only need file copy on my localhost. :-( Maybe I have to use ant plugin. --- Bernd Bohmann [EMAIL PROTECTED] wrote: Hello Jon, just deployed a little bit documentation about the wagon plugin. http://myfaces.apache.org/wagon-maven-plugin We are using this

Re: copy file in maven

2007-06-15 Thread Ralf Quebbemann
Files can also be copied locally with the wagon-maven-plugin (use file protocol instead of scp). BTW, the plugin is able to copy multiple files, because it takes an input directory as argument. Filtering or multiple source/destination directories do not work currently. I use this plugin for

copy file in maven

2007-06-14 Thread acec acec
hi, What's the easiest way to copy file in maven? Should I use ant plugin to do that? Thanks. Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com

Re: copy file in maven

2007-06-14 Thread Eric Redmond
Yeah, ant is the easiest way. Eric On 6/14/07, acec acec [EMAIL PROTECTED] wrote: hi, What's the easiest way to copy file in maven? Should I use ant plugin to do that? Thanks. Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know

Re: copy file in maven

2007-06-14 Thread Jeff Mutonho
On 6/14/07, Eric Redmond [EMAIL PROTECTED] wrote: Yeah, ant is the easiest way. Eric Or you can try this : http://quebbemann.kicks-ass.net/development/qu-base/maven-plugins/copy-maven-plugin/index.html Don't take the name of root in vain. Jeff Mutonho Cape Town South Africa

Re: copy file in maven

2007-06-14 Thread Nathan Maves
First what is the reason for your need to copy a file? The first thing that triggers in my mind is that you have a resource file that you need copied to your artifact. If this is not the case then you may need to define your problem a little better. Nathan On 6/14/07, Jeff Mutonho [EMAIL

Re: copy file in maven

2007-06-14 Thread acec acec
Hi, We have an old project, which uses ant and could generate a customized tomcat folder. My new project using maven, I need copy some files into old customized tomcat folder. Thanks. Arden --- Nathan Maves [EMAIL PROTECTED] wrote: First what is the reason for your need to copy a file?

Re: copy file in maven

2007-06-14 Thread Ralf Quebbemann
Hi, maybe it's not the best way to use the recommended copy-maven-plugin. Although it does its job (and yes I wrote it) there are plugins out there which have better capabilities. You might want to check out the wagon-maven-plugin from the MyFaces project:

RE: copy file in maven

2007-06-14 Thread Brian E. Fox
If the file is in the repository, you can use the maven-dependency-plugin:copy goal. -Original Message- From: acec acec [mailto:[EMAIL PROTECTED] Sent: Thursday, June 14, 2007 12:01 PM To: users@maven.apache.org Subject: copy file in maven hi, What's the easiest way to copy file

Re: copy file in maven

2007-06-14 Thread Jon Strayer
Is there any documentation on the wagon plugin? On 6/14/07, Ralf Quebbemann [EMAIL PROTECTED] wrote: Hi, maybe it's not the best way to use the recommended copy-maven-plugin. Although it does its job (and yes I wrote it) there are plugins out there which have better capabilities. You might

Re: copy file in maven

2007-06-14 Thread Bernd Bohmann
Hello Jon, just deployed a little bit documentation about the wagon plugin. http://myfaces.apache.org/wagon-maven-plugin We are using this plugin to publish the nightly builds to the nightly build download location. Regards Bernd Jon Strayer wrote: Is there any documentation on the wagon