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
maven-d
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, w
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 t
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 has in my opinion a bad side effect. The structure is
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.
>
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 file
-Ursprüngliche Nachricht-
Von: Brett Porter [mailto:br...@porterclan.net] Im Auftrag von Brett Porter
Gesendet: Freitag, 25. September 2009 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
dependen
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 do
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
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 Renta
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:
file I activate when running
>>>> Maven
>>>> I need one of these files to be copied to
>>>> "src/main/resources/config.xml" so
>>>> that the correct config for the given customer is used. Is that
>>>> possible?
>>>>
>>>>
>>> ---
I think the following solution should work for you.
Here are two example profiles
env-qa
env
qa
qa
env-prod
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 th
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
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 a
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
that possible?
>>
>
>
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Copy-file
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 co
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 t
In each of your profiles, you could define a separate block
which contains which resources you want to be included in each profile
(using the and tags).
You may want to take a look at this..
http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html
Btw, the resour
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 "src/main/resou
In each of your profiles, you could define a separate block
which contains which resources you want to be included in each profile
(using the and tags).
You may want to take a look at this..
http://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html
-Deng
Geir Gul
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" s
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
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
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 fi
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:
org.apache.myfaces.maven
wago
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?
>
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 PROT
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
Googl
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 wh
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.yaho
33 matches
Mail list logo