On Wed, Dec 24, 2008 at 9:20 AM, Alex Athanasopoulos
alex.a.athens...@gmail.com wrote:
Is there a way to convert a local repository into a remote repository, or
should I upload each artifact to Nexus again? (I have a few dozen).
I understand that Nexus 1.2 features some command-line scripts to
Yes we do have a tool for this
--Brian (mobile)
On Dec 24, 2008, at 3:55 PM, John Stoneham ly...@lyrically.net
wrote:
On Wed, Dec 24, 2008 at 9:20 AM, Alex Athanasopoulos
alex.a.athens...@gmail.com wrote:
Is there a way to convert a local repository into a remote
repository, or
should
Thank you Brian,
I am now using Nexus Repository Manager, and it does save me from a lot of
hassle. It was easier than I thought. I just resisted at first, because
switching from Ant to Maven was more work than I thought it would be, so I
didn't want to get deeper into trouble with repository
: Stephen Connolly [mailto:[EMAIL PROTECTED]
Sent: 01 December 2008 08:49
To: Maven Users List
Subject: Re: Third party jars
mvn deploy:deploy-file -DgroupId=foo -DartifactId=bar
-Dversion=1.0-foo -Dpackaging=jar -DgeneratePom=true
-Dfile=foo.jar ...
And with newer versions of the maven
Thanks for the suggestion, but I was already aware of this and I was
wondering if there's an easier mechanism? Such as mvn being smart with
the jar name and coming up with the group/artifact ID, but I suspect
that's beginning to ask too much!
This just isn't something Maven can help you
(~/.m2/repository) and generate a set of dependency
information for me? Or even a pom with all the dependencies!
John
-Original Message-
From: Alex Athanasopoulos [mailto:[EMAIL PROTECTED]
Sent: 29 November 2008 10:34
To: Maven Users List
Subject: Re: Third party jars
Why
/repository) and generate a set of dependency
information for me? Or even a pom with all the dependencies!
John
-Original Message-
From: Alex Athanasopoulos [mailto:[EMAIL PROTECTED]
Sent: 29 November 2008 10:34
To: Maven Users List
Subject: Re: Third party jars
Why not put
consuming - is there an easier way to do this? I.e. Is there a maven
Depend on fewer third-party jars...
But seriously, the first couple Maven projects are a little painful
due to things like this and the usual learning curve with a new tool,
but then it gets much easier.
Wayne
Why not put the jars in a repository? A repository is perfect for
containing 3rd party jars, and one of maven's major benefits. Once you do
that, you don't need to refer to the jars through a hardcoded path, but
simply by a portable artifact identifier. You don't need any special tools
or
You could save youself a lot of hassle with a repo manager. You
shouldn't use local repos as remote repos because the metadata is
different. Also with unmanaged repos, snapshot accumulation will
become a problem.
--Brian (mobile)
On Nov 29, 2008, at 5:33 AM, Alex Athanasopoulos [EMAIL
The assembly plugin can add arbitrary files to your package.
[EMAIL PROTECTED] wrote:
Hi,
Is there any way to get the maven build process to include a set of jars
when compiling/packaging that are not in the repository? I have some
vendor jars and I don't fancy packing them all up and
Excellent - do you happen to have a pom extract to, say, include the
contents of ./lib on the compile path?
-Original Message-
From: David C. Hicks [mailto:[EMAIL PROTECTED]
Sent: 28 November 2008 20:45
To: Maven Users List
Subject: Re: Third party jars
The assembly plugin can
Message-
From: David C. Hicks [mailto:[EMAIL PROTECTED]
Sent: 28 November 2008 20:45
To: Maven Users List
Subject: Re: Third party jars
The assembly plugin can add arbitrary files to your package.
[EMAIL PROTECTED] wrote:
Hi,
Is there any way to get the maven build process to include
. Hicks [mailto:[EMAIL PROTECTED]
Sent: Friday, November 28, 2008 3:54 PM
To: Maven Users List
Subject: Re: Third party jars
Sure. The attached assembly.xml is used by the following profile. The
profile just makes sure that the assembly plugin runs during the
package phase and includes all attached
Oops! I missed the part about compiling. True, that won't help if you
need those jars for the actual build. Nexus would be my suggestion for
that. Easy to install and maintain. I just set it up at my company a
couple of weeks ago.
Brian E. Fox wrote:
This won't help when compiling
?
---
Todd Thiessen
-Original Message-
From: David C. Hicks [mailto:[EMAIL PROTECTED]
Sent: Friday, November 28, 2008 4:09 PM
To: Maven Users List
Subject: Re: Third party jars
Oops! I missed the part about compiling. True, that won't help if you
need those jars for the actual build
:[EMAIL PROTECTED]
Sent: Friday, November 28, 2008 4:13 PM
To: Maven Users List
Subject: RE: Third party jars
I am curious about this myself. I have Nexus running but I don't see an
option in the UI to upload a jar. I was hopeful of somekind of option
like this that would create the pom and all
SWEET I can't believe I missed that.
Thanks.
---
Todd Thiessen
-Original Message-
From: Brian E. Fox [mailto:[EMAIL PROTECTED]
Sent: Friday, November 28, 2008 4:18 PM
To: Maven Users List
Subject: RE: Third party jars
Right click on a hosted release repository in the browse repo
[EMAIL PROTECTED] wrote:
Is there any way to get the maven build process to include a set of jars
when compiling/packaging that are not in the repository? I have some
vendor jars and I don't fancy packing them all up and placing them into
the repository - I just want to point maven at a lib
I think it's because you forgot -DgeneratePom=true. Should fix the
problem. Or you can always write the pom by hand if you need to
specify some transitive dependencies and specify it using
-DpomFile=mypom. It's more work but more reliable :)
Another advice, keep a fresh copy of your files or use
20 matches
Mail list logo