Hi Nick,
On 24/04/2008, at 6:50 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
wrote:
It would be something like:
org.apache.maven.plugins
maven-dependency-plugin
2.0
list-deps
generate-resources
Hth,
Nick S.
-Original Message-
From: Lachlan Deck [mailto:[EMAIL PROTECTED]
Sent: Thu 4/24/2008 04:40
To: Maven Users List
Subject: Re: [newby] how to include/package private libs/*.jar
Hi Joshua,
On 23/04/2008, at 11:23 PM, Joshua ChaitinPollak wrote:
> On Apr
Hi Joshua,
On 23/04/2008, at 11:23 PM, Joshua ChaitinPollak wrote:
On Apr 23, 2008, at 1:05 AM, Lachlan Deck wrote:
- append to the text file a list of the jars bundled (prefixing
each with a custom path).
That's a tricky one. I'd have to say start with the dependency or
assembly plugin a
On Apr 23, 2008, at 1:05 AM, Lachlan Deck wrote:
- append to the text file a list of the jars bundled (prefixing
each with a custom path).
That's a tricky one. I'd have to say start with the dependency or
assembly plugin and see if they can do what you need. I know one of
the plugins can
Hi Joshua,
On 23/04/2008, at 10:40 AM, Joshua ChaitinPollak wrote:
On Apr 22, 2008, at 8:16 PM, Lachlan Deck wrote:
On 23/04/2008, at 12:56 AM, Joshua ChaitinPollak wrote:
Have you tried, or has anyone suggested using the system scope?
I had thought about it, but, unless I'm mistaken, tha
On Apr 22, 2008, at 8:16 PM, Lachlan Deck wrote:
Hi Joshua,
On 23/04/2008, at 12:56 AM, Joshua ChaitinPollak wrote:
Have you tried, or has anyone suggested using the system scope?
I had thought about it, but, unless I'm mistaken, that assumes that
the jar will be found in that location a
Hi Joshua,
On 23/04/2008, at 12:56 AM, Joshua ChaitinPollak wrote:
Have you tried, or has anyone suggested using the system scope?
I had thought about it, but, unless I'm mistaken, that assumes that
the jar will be found in that location at runtime/deployment also
(which it won't).
On t
Lachlan,
Have you tried, or has anyone suggested using the system scope? You
should be able to do something like this:
...
javax.sql
jdbc-stdext
2.0
system
Hi Wayne,
On 20/04/2008, at 1:35 AM, Wayne Fay wrote:
You also need to quite simply understand that Maven is not Ant (!).
While there are some similarities in the two (they both build Java
code), there are far more dissimilarities.
I do understand this actually ... and from what I've seen so
Lachlan,
You also need to quite simply understand that Maven is not Ant (!).
While there are some similarities in the two (they both build Java
code), there are far more dissimilarities.
Maven has certain beliefs based on best practices about how builds
should be organized and performed. One of t
> > A Maven Repository Manager can store the artifacts on a file system and
> you
> > can delete old -SNAPSHOTs (which is allowed)
>
> How is this done?
You were already told this -- Archiva, Nexus, Artifactory, etc are
"Maven Repository Managers". They can manage snapshots for you.
> > Deleting
Hi Lachlan,
On Sat, Apr 19, 2008 at 8:31 AM, Lachlan Deck <[EMAIL PROTECTED]> wrote:
> On 19/04/2008, at 8:51 PM, Stephen Connolly wrote:
>
> > Deleting old releases is not really the way a repository is designed to
> > work.
> >
>
> Not really - but is there a command for doing so?
>
Could you
On 19/04/2008, at 8:51 PM, Stephen Connolly wrote:
Okay I think my next question would be: is there an easy maven
command for
culling jars prior to a certain version from a repository?
e.g., say I've added versions 1, 2, 3 and 4 to the repository (such
as
nightly builds or something)... is t
> Okay I think my next question would be: is there an easy maven command for
> culling jars prior to a certain version from a repository?
> e.g., say I've added versions 1, 2, 3 and 4 to the repository (such as
> nightly builds or something)... is there a command that would easily remove
> versions
Maven repositories are designed to be write once, delete never... so you'd
have to script that yourself.
On Sat, Apr 19, 2008 at 11:31 AM, Lachlan Deck <[EMAIL PROTECTED]>
wrote:
> Hi Stephen,
>
> On 19/04/2008, at 6:10 PM, Stephen Connolly wrote:
>
> The following is _not_ recommended.
> >
> >
Hi Stephen,
On 19/04/2008, at 6:10 PM, Stephen Connolly wrote:
The following is _not_ recommended.
Once you get more used to Maven you will realize that storing your
binary
artifacts in SVN is a "bad thing".
Fundamentally, they are a different creature from the source code.
I mostly conc
The following is _not_ recommended.
Once you get more used to Maven you will realize that storing your binary
artifacts in SVN is a "bad thing".
Fundamentally, they are a different creature from the source code.
What you should do is use a Maven repository manager (e.g. Nexus,
Artifactory, etc)
Hi Mark,
On 19/04/2008, at 5:13 PM, Mark Struberg wrote:
To be more specific:
Look at the maven-deploy-plugin
http://maven.apache.org/plugins/maven-deploy-plugin/usage.html
and use the
mvn deploy:deploy-file
mojo
Example:
mvn deploy:deploy-file -DrepositoryId=myrepo.id \
Hi Henrique,
On 19/04/2008, at 6:52 AM, Henrique Prange wrote:
It is not recommended that you store your jars in SVN. So, there is
no simple way to do what you want with Maven.
Recommended or not - I simply cannot go another route. The project
needs to be self-contained which requires anot
To be more specific:
Look at the maven-deploy-plugin
http://maven.apache.org/plugins/maven-deploy-plugin/usage.html
and use the
> mvn deploy:deploy-file
mojo
Example:
mvn deploy:deploy-file -DrepositoryId=myrepo.id \
-Dfile=myjartoupload.jar \
-Dgr
You need to put them in you local repo. You don't need to create a pom
for them.
/Johan
18 apr 2008 kl. 22.05 Lachlan Deck <[EMAIL PROTECTED]> skrev:
Hi there,
I'm quite new to maven, but I would have thought this question would
have been included on the FAQ page for maven - but it's no
Hi Lachan,
It is not recommended that you store your jars in SVN. So, there is no
simple way to do what you want with Maven. But you can create a
repository to share your own libraries (Maven can generate the pom.xml
for you). Take a look at [1] and [2].
[1]http://maven.apache.org/guides/int
Hi there,
I'm quite new to maven, but I would have thought this question would
have been included on the FAQ page for maven - but it's not. I've
googled around but mustn't be putting in the right search phrase or
something... as obviously I've not found the answer :-)
The simple question
23 matches
Mail list logo