The issue is not the dependecies of the project but the artifact generated by
the project.
Our hudson server generated the jar file for the project and deployed it
into our snapshot repo. Now we want to create a couple of zips that contain
the jar, its dependecies, and an environment specific pr
Both - there is a dependencies element in the assembly descriptor that
can use the dependencies listed in the POM (with filters applied) to
add them to the assembly. This should certainly be used for them
rather than referring to directories outside of the project.
Cheers,
Brett
On 07/01/2
Are you referring to the dependencies element of the POM?
brettporter wrote:
>
> If you are including it in the assembly using the dependencies
> element, it uses whatever was retrieved by Maven. Maven will retrieve
> it from the repository if it hasn't already been built. I'm not quite
> In that way a user could arbitrate the path for either unc, or a mounted
> share on linux.
> but it doesn't seem that maven-antrun picks these property files up.
>
> So perhaps there's a better way
> Some uses build on linux, others build on win32. How do i copy files from a
> unc path such
If you are including it in the assembly using the dependencies
element, it uses whatever was retrieved by Maven. Maven will retrieve
it from the repository if it hasn't already been built. I'm not quite
sure what additional functionality you are looking for?
Cheers,
Brett
On 07/01/2009, at
On Tue, Jan 6, 2009 at 2:27 PM, solo1970
wrote:
> Here is my dilemna, I have a POM file that calls one of our in-house plugins
> that produces a set of files that I need to be deployed in the same place
> that my jar is deployed (but not included in the jar).
>
> How can I do this, any ideas?
Yo
You might want to have a look at jcifs
There'd be some work involved, but if you absolutely must have the file on a
Windows share, that's what you'd need to do...
better might be to have the windows share accessible via http or some other
nice protocol
-Stephen
2009/1/6 Dave Brosius
> Greetin
look at the build-helper-maven-plugin
2009/1/6 solo1970
>
> Hello,
>
> Here is my dilemna, I have a POM file that calls one of our in-house
> plugins
> that produces a set of files that I need to be deployed in the same place
> that my jar is deployed (but not included in the jar).
>
> How can I
Greetings,
I am using the maven-antrun-plugin to copy files from a network into my build
that is specified by unc path. This works on windows, but not linux,
understandably.
The ant portion does
where pr.help.dir is specified in the properties section of the pom.
To make it work on both,
Hello,
Here is my dilemna, I have a POM file that calls one of our in-house plugins
that produces a set of files that I need to be deployed in the same place
that my jar is deployed (but not included in the jar).
How can I do this, any ideas?
Sonia
--
View this message in context:
http://www.
When creating *.zip assemblies for our various environments we would like to
retrieve the project artifact directly the repository, we do not want to
have to rebuild our project artifacts each time.
Is it possible to modify our assembly descriptors to retrieve a project
artifact out of the reposi
Have you looked into the possibility that running your coverage tests might
be run with or without instrumented code? (I don't know precisely how
cobertura works: namely by instrumenting code at load-time or at
compile-time, so please bear that in mind before taking my word in account
:)).
Or some
Aha, just found the cause of this.. in my case, someone clobbered my
Artifactory instance yesterday... sorry my fault for not thinking of
checking on it before, thanks for your help anyway.
Regards,
Ross
Baptiste MATHUS-4 wrote:
>
> 2009/1/6 rossputin
>
>>
>> Can someone explain why the be
No one replied to my initial posting, so on the chance that this issue
was overlooked by the *one* person who might be able shed some light on
it ...
After exploring the possibility, I'm no longer inclined to think that
the presence/absence of debug info is involved.
Brad
> -Original Message
Thanks a lot for all the work, this release was truly awaited !
Le Monday 05 January 2009 21:25:04 John Casey, vous avez écrit :
> The Maven team is pleased to announce the release of the Maven Assembly
> Plugin, version 2.2-beta-3
>
> This plugin is used to create custom archives using the buil
When running an mvn scm:changelog command I was not getting any result
indicating the changes that I have made to my project. Since I would
like to include a change log report in my project, I decided to dig into
this further to see if I could find out why.
It looks like scm:changelog does not pro
2009/1/6 rossputin
>
> Can someone explain why the behaviour has changed.. was I remiss in not
> providing the version before, or did I miss out on an important
> announcement
In short, yes :-). Though it's a quite common mistake, it's good practice to
always specify the versions of the plugin
*supposedly*version is a noop if you have a local repository already setup you
can override either the settings.xml or pom.xml plugin declaration e.g.
foo
org.apache.maven.plugins
/LookHereFirst
I have not been able to get this to work in 2.0.9
Perhaps John Casey or
Yes, Maven has a mecanism used to get the latest version of the plugin
assumed the latest has been registered. I think this is stored in the Maven
metadata (XML file) of the plugin artifact. If you did not change your Maven
configuration (settings, repository), I don't understand why it is not
work
Hi
Thank you for your reply.
I used the following code inside the build element to make it possible to
use my own manifest file but it is not including the file into the final
archite.
org.apache.maven.plugins
maven-jar-plugin
Hi,
I don't recall changing anything in the local Maven repository...
things are building now that I have provided versions, but I was under the
impression that if I did not provide versions, the latest would be used ?
Regards,
Ross
jeffma...@jeffmaury.com wrote:
>
> Did you change somethi
Did you change something in your local Maven repository ?
Regards
Jeff MAURY
On Tue, Jan 6, 2009 at 12:10 PM, rossputin wrote:
>
> Hi guys,
>
> wondering if someone can enlighten me a little. Since I came back from the
> Christmas holidays, all of a sudden various plugins are working different
I presume I'm missing something obvious, because this has to be reasonably
common. But I haven't found anything after a couple of hours of searching so
here goes.
I have a Mojo parameter that needs the capability of being specified as an
empty String. Eg
though I'd settle for being ab
23 matches
Mail list logo