Re: list of libraries in maven local repository

2021-03-09 Thread Oliver B. Fischer
The directory tree is build out of your groupId. If your groupId is 
a.b.c, it should be a/b/c


I am sure Gradle has a verbose mode (--verbose) or something like this. 
Can you turn it on and check it for helpful messages?


Did you try find to find your artifact? I mean something like find . 
-name "myJar.jar"?


Am 09.03.21 um 12:03 schrieb Nikos Karamolegkos:

I know but in which sub-folder of the repository?

On 9/3/21 12:47 μ.μ., Oliver B. Fischer wrote:
The default configuration of Maven is to have its local repository in 
the directory ./m2/repository. Below this directory you should find 
your artifact.


Am 09.03.21 um 11:25 schrieb Nikos Karamolegkos:
Hello, I am trying to add a library to my maven local repository 
using ./gradlew publishToMavenLocal. How can I check that the 
library is really installed to the repository?


Thank you


--
N Oliver B. Fischer
A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538
E o.b.fisc...@swe-blog.net
S oliver.b.fischer
J oliver.b.fisc...@jabber.org
X http://xing.to/obf


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: list of libraries in maven local repository

2021-03-09 Thread Nikos Karamolegkos

I know but in which sub-folder of the repository?

On 9/3/21 12:47 μ.μ., Oliver B. Fischer wrote:
The default configuration of Maven is to have its local repository in 
the directory ./m2/repository. Below this directory you should find 
your artifact.


Am 09.03.21 um 11:25 schrieb Nikos Karamolegkos:
Hello, I am trying to add a library to my maven local repository 
using ./gradlew publishToMavenLocal. How can I check that the library 
is really installed to the repository?


Thank you


--
Nikos Karamolegkos
R & D engineer at ICS-FORTH
Telecommunications and Networks Lab (TNL)


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: list of libraries in maven local repository

2021-03-09 Thread Oliver B. Fischer
The default configuration of Maven is to have its local repository in 
the directory ./m2/repository. Below this directory you should find your 
artifact.


Am 09.03.21 um 11:25 schrieb Nikos Karamolegkos:
Hello, I am trying to add a library to my maven local repository using 
./gradlew publishToMavenLocal. How can I check that the library is 
really installed to the repository?


Thank you


--
N Oliver B. Fischer
A Schönhauser Allee 64, 10437 Berlin, Deutschland/Germany
P +49 30 44793251
M +49 178 7903538
E o.b.fisc...@swe-blog.net
S oliver.b.fischer
J oliver.b.fisc...@jabber.org
X http://xing.to/obf


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



list of libraries in maven local repository

2021-03-09 Thread Nikos Karamolegkos
Hello, I am trying to add a library to my maven local repository using 
./gradlew publishToMavenLocal. How can I check that the library is 
really installed to the repository?


Thank you

--
Nikos Karamolegkos
R & D engineer at ICS-FORTH
Telecommunications and Networks Lab (TNL)


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: How to create a maven local repository

2009-12-31 Thread Roland Asmann
> On 12/31/09 10:15 AM, Mezigue wrote:
>> Hi Roland,
>>
>> Thanks for your advice.
>>
>> You are certainly right ; to be true, I should say "you are surely
>> right" !
>> :)
>>
>> Of course, I have no reason to initiate a local repository, but, why was
>> this necessary in the previous version of Maven ?? And I've not found
>> any
>> advertisement about this in release notes.
>>
> Just a word of advice - don't think of Maven 2 and Maven 1 as being the
> same piece of software - they share some concepts, but ultimately are
> very different. Maven 2 release notes are unlikely to reference changes
> from Maven 1.
>
> Justin

And exactly THAT was probably the reason you needed to do that before:
because you were using Maven 1. :-)

Roland



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: How to create a maven local repository

2009-12-31 Thread Justin Edelson

On 12/31/09 10:15 AM, Mezigue wrote:

Hi Roland,

Thanks for your advice.

You are certainly right ; to be true, I should say "you are surely right" !
:)

Of course, I have no reason to initiate a local repository, but, why was
this necessary in the previous version of Maven ?? And I've not found any
advertisement about this in release notes.
   
Just a word of advice - don't think of Maven 2 and Maven 1 as being the 
same piece of software - they share some concepts, but ultimately are 
very different. Maven 2 release notes are unlikely to reference changes 
from Maven 1.


Justin

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: How to create a maven local repository

2009-12-31 Thread Mezigue
Hi Roland,

Thanks for your advice.

You are certainly right ; to be true, I should say "you are surely right" !
:)

Of course, I have no reason to initiate a local repository, but, why was
this necessary in the previous version of Maven ?? And I've not found any
advertisement about this in release notes.

Alain 

-Message d'origine-
De : Roland Asmann [mailto:roland.asm...@adesso.at] 
Envoyé : jeudi 31 décembre 2009 1:42 Juliane
À : Maven Users List
Objet : Re: How to create a maven local repository

Hi,

Just run Maven on a project and everything will solve itself!

Or is there a specific reason you only want this initial repository?

Roland


>
>
> Hi,
>
>
>
> In preceeding Maven version, there was a way to build and initiate a local
> repository via the CLI :
>
> %MAVEN_HOME%\bin\install_repo.bat %HOME%\.maven\repository
>
> And this command created a repository and loaded some core .jar
>
>
>
> By now, when I unzip maven2, under \bin I don't find any more a script to
> build a local repository.
>
>
>
> Looking at the Maven doc, I found I have to use Nexus ?!? Why not, but
> it's
> a so different way to build a local repository !
>
> And, on Nexus site, I found either to buy Nexus pro !!! or use m2eclipse ;
> why should I use eclipe ??
>
>
>
> Well, I'm lost.
>
>
>
> Isn't it a simple way as before to build and initiate de local repository
> ?
>
>
>
> Thanks for help
>
>
>
>
>
>
>
>



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: How to create a maven local repository

2009-12-31 Thread Roland Asmann
Hi,

Just run Maven on a project and everything will solve itself!

Or is there a specific reason you only want this initial repository?

Roland


>
>
> Hi,
>
>
>
> In preceeding Maven version, there was a way to build and initiate a local
> repository via the CLI :
>
> %MAVEN_HOME%\bin\install_repo.bat %HOME%\.maven\repository
>
> And this command created a repository and loaded some core .jar
>
>
>
> By now, when I unzip maven2, under \bin I don't find any more a script to
> build a local repository.
>
>
>
> Looking at the Maven doc, I found I have to use Nexus ?!? Why not, but
> it's
> a so different way to build a local repository !
>
> And, on Nexus site, I found either to buy Nexus pro !!! or use m2eclipse ;
> why should I use eclipe ??
>
>
>
> Well, I'm lost.
>
>
>
> Isn't it a simple way as before to build and initiate de local repository
> ?
>
>
>
> Thanks for help
>
>
>
>
>
>
>
>



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



How to create a maven local repository

2009-12-31 Thread Mezigue
 

Hi,

 

In preceeding Maven version, there was a way to build and initiate a local
repository via the CLI :

%MAVEN_HOME%\bin\install_repo.bat %HOME%\.maven\repository

And this command created a repository and loaded some core .jar

 

By now, when I unzip maven2, under \bin I don't find any more a script to
build a local repository.

 

Looking at the Maven doc, I found I have to use Nexus ?!? Why not, but it's
a so different way to build a local repository ! 

And, on Nexus site, I found either to buy Nexus pro !!! or use m2eclipse ;
why should I use eclipe ??

 

Well, I'm lost.

 

Isn't it a simple way as before to build and initiate de local repository ?

 

Thanks for help

 

 

 



RE: Can multiple processes download artifacts and access them from one Maven local repository without failure?

2008-01-05 Thread Kurt Roy
Thanks for the prompt reply. 

We will look into a "mirror" local repository.

Kurt

-Original Message-
From: Piotr Tabor [mailto:[EMAIL PROTECTED] 
Sent: Saturday, January 05, 2008 10:39 AM
To: Maven Users List
Subject: Re: Can multiple processes download artifacts and access them
from one Maven local repository without failure?

Hey Roy,

It cannot handle multiple download or even parallel builds.

Look into this proposal:
http://docs.codehaus.org/display/MAVEN/Local+repository+separation
It is not implemented and nobody knows if it will be implemented. There
was discussion on dev
group about this proposal - you can find it - if you want to know more.

I'm afraid you have to create multiple local repositories. You may have
local "mirror" repository
to avoid multiple downloads problem.

Piotr Tabor

Kurt Roy pisze:
> Hello,
>
>  
>
> We are integrating some new software being built by Maven with our
main
> software being built with ant. We are using the Maven ant lib ant
tasks
> to copy jars from the Maven repository into the local ant build
> environment.
>
>  
>
> Our automated build system runs all builds from one UNIX user id whose
> home is on one shared drive. Every night, our build system can have up
> to 4 or 5 builds running concurrently under this one user id on the
same
> or different machines (we are building about 20 different products
every
> night that share many reusable components).
>
>  
>
> My question is this: 
>
>  
>
> Can all these builds share the SAME default Maven local repository
> stored in the one UNIX user id's home directory? I assume for reads
this
> is not a problem. But what if two (or three) separate processes start
> downloading the same artifact to the local repository at the same
time?
> Is this supported?
>
>  
>
> I realize that the Maven ant lib ant tasks have the ability to point
to
> a local repository (), where I can
> construct a unique repository "path" from ant properties. However,
with
> this approach, there will be a lot of duplication of artifacts being
> downloaded. This will have a negative performance impact, not to
mention
> taking up more disk space. 
>
>  
>
> Using the one default local repository is simple, and will perform the
> best. I am just not sure if local repository can handle concurrent
> downloads of the same artifacts.
>
>  
>
> Thanks for your support.
>
> Kurt Roy | PROS | Software Architect, Software Development
> phone: +1 713-335-8007 | email: [EMAIL PROTECTED] 
>
> Save the Date for the 14th Annual PROS Summit * April 20-23, 2008 at
the
> Hilton Americas Hotel in Houston, Texas * www.prospricing.com
> <http://www.prospricing.com/> 
>
>  
>
>
>   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Can multiple processes download artifacts and access them from one Maven local repository without failure?

2008-01-05 Thread Piotr Tabor
Hey Roy,

It cannot handle multiple download or even parallel builds.

Look into this proposal:
http://docs.codehaus.org/display/MAVEN/Local+repository+separation
It is not implemented and nobody knows if it will be implemented. There
was discussion on dev
group about this proposal - you can find it - if you want to know more.

I'm afraid you have to create multiple local repositories. You may have
local "mirror" repository
to avoid multiple downloads problem.

Piotr Tabor

Kurt Roy pisze:
> Hello,
>
>  
>
> We are integrating some new software being built by Maven with our main
> software being built with ant. We are using the Maven ant lib ant tasks
> to copy jars from the Maven repository into the local ant build
> environment.
>
>  
>
> Our automated build system runs all builds from one UNIX user id whose
> home is on one shared drive. Every night, our build system can have up
> to 4 or 5 builds running concurrently under this one user id on the same
> or different machines (we are building about 20 different products every
> night that share many reusable components).
>
>  
>
> My question is this: 
>
>  
>
> Can all these builds share the SAME default Maven local repository
> stored in the one UNIX user id's home directory? I assume for reads this
> is not a problem. But what if two (or three) separate processes start
> downloading the same artifact to the local repository at the same time?
> Is this supported?
>
>  
>
> I realize that the Maven ant lib ant tasks have the ability to point to
> a local repository (), where I can
> construct a unique repository "path" from ant properties. However, with
> this approach, there will be a lot of duplication of artifacts being
> downloaded. This will have a negative performance impact, not to mention
> taking up more disk space. 
>
>  
>
> Using the one default local repository is simple, and will perform the
> best. I am just not sure if local repository can handle concurrent
> downloads of the same artifacts.
>
>  
>
> Thanks for your support.
>
> Kurt Roy | PROS | Software Architect, Software Development
> phone: +1 713-335-8007 | email: [EMAIL PROTECTED] 
>
> Save the Date for the 14th Annual PROS Summit * April 20-23, 2008 at the
> Hilton Americas Hotel in Houston, Texas * www.prospricing.com
> <http://www.prospricing.com/> 
>
>  
>
>
>   


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Can multiple processes download artifacts and access them from one Maven local repository without failure?

2008-01-05 Thread Kurt Roy
Hello,

 

We are integrating some new software being built by Maven with our main
software being built with ant. We are using the Maven ant lib ant tasks
to copy jars from the Maven repository into the local ant build
environment.

 

Our automated build system runs all builds from one UNIX user id whose
home is on one shared drive. Every night, our build system can have up
to 4 or 5 builds running concurrently under this one user id on the same
or different machines (we are building about 20 different products every
night that share many reusable components).

 

My question is this: 

 

Can all these builds share the SAME default Maven local repository
stored in the one UNIX user id's home directory? I assume for reads this
is not a problem. But what if two (or three) separate processes start
downloading the same artifact to the local repository at the same time?
Is this supported?

 

I realize that the Maven ant lib ant tasks have the ability to point to
a local repository (), where I can
construct a unique repository "path" from ant properties. However, with
this approach, there will be a lot of duplication of artifacts being
downloaded. This will have a negative performance impact, not to mention
taking up more disk space. 

 

Using the one default local repository is simple, and will perform the
best. I am just not sure if local repository can handle concurrent
downloads of the same artifacts.

 

Thanks for your support.

Kurt Roy | PROS | Software Architect, Software Development
phone: +1 713-335-8007 | email: [EMAIL PROTECTED] 

Save the Date for the 14th Annual PROS Summit * April 20-23, 2008 at the
Hilton Americas Hotel in Houston, Texas * www.prospricing.com
<http://www.prospricing.com/> 

 



Re: Maven Local Repository

2007-09-14 Thread Brett Porter
I think so, but it's not very convenient. You might be better to
delete that metadata file from your local repository - and hopefully
the issue will be corrected in a version of Maven shortly.

- Brett

On 14/09/2007, De Vleeschauwer Nele <[EMAIL PROTECTED]> wrote:
> But what if you are e.g. using Eclipse to update your pom file. Eclipse
> uses the Maven plugin underneath to donwload the necessary artifacts.
> Can I configure the -U option also somewhere in there ?
>
>
>
> -Original Message-
> From: Brett Porter [mailto:[EMAIL PROTECTED]
> Sent: vrijdag 14 september 2007 13:22
> To: Maven Users List
> Subject: Re: Maven Local Repository
>
> it's a known problem - you can use -U to force it to try again.
>
> On 14/09/2007, De Vleeschauwer Nele <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have a question concerning the Maven local repository on my pc.
> > When I add a new dependency to the pom file of my project then my
> maven
> > installation will try to download the necessary artifacts in my local
> > repository.
> > If for one reason or another, my connection with the central site can
> > not be established, maven will create the artifacts folder structure
> in
> > my local repository and will also create a metadata xml file.
> > When my connection with the central repo is up again, I can still not
> > download the artifacts. I need to delete the earlier created xml files
> > first.
> >
> > How can this be avoided ?
> >
> > Nele.
> >
> > -
> > Visit our website! http://www.nbb.be
> >
> > "DISCLAIMER: The content of this e-mail message should not be
> > construed as binding on the part of the National Bank of Belgium
> > (NBB) unless otherwise and previously stated. The opinions
> > expressed in this message are solely those of the author and do not
> > necessarily reflect NBB viewpoints, particularly when the content
> > of this message, or part thereof, is private by nature or does not
> > fall within the professional scope of its author."
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Brett Porter
> Blog: http://www.devzuz.org/blogs/bporter/
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Brett Porter
Blog: http://www.devzuz.org/blogs/bporter/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Maven Local Repository

2007-09-14 Thread De Vleeschauwer Nele
But what if you are e.g. using Eclipse to update your pom file. Eclipse
uses the Maven plugin underneath to donwload the necessary artifacts.
Can I configure the -U option also somewhere in there ?

 

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: vrijdag 14 september 2007 13:22
To: Maven Users List
Subject: Re: Maven Local Repository

it's a known problem - you can use -U to force it to try again.

On 14/09/2007, De Vleeschauwer Nele <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a question concerning the Maven local repository on my pc.
> When I add a new dependency to the pom file of my project then my
maven
> installation will try to download the necessary artifacts in my local
> repository.
> If for one reason or another, my connection with the central site can
> not be established, maven will create the artifacts folder structure
in
> my local repository and will also create a metadata xml file.
> When my connection with the central repo is up again, I can still not
> download the artifacts. I need to delete the earlier created xml files
> first.
>
> How can this be avoided ?
>
> Nele.
>
> -
> Visit our website! http://www.nbb.be
>
> "DISCLAIMER: The content of this e-mail message should not be
> construed as binding on the part of the National Bank of Belgium
> (NBB) unless otherwise and previously stated. The opinions
> expressed in this message are solely those of the author and do not
> necessarily reflect NBB viewpoints, particularly when the content
> of this message, or part thereof, is private by nature or does not
> fall within the professional scope of its author."
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Brett Porter
Blog: http://www.devzuz.org/blogs/bporter/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven Local Repository

2007-09-14 Thread Brett Porter
it's a known problem - you can use -U to force it to try again.

On 14/09/2007, De Vleeschauwer Nele <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a question concerning the Maven local repository on my pc.
> When I add a new dependency to the pom file of my project then my maven
> installation will try to download the necessary artifacts in my local
> repository.
> If for one reason or another, my connection with the central site can
> not be established, maven will create the artifacts folder structure in
> my local repository and will also create a metadata xml file.
> When my connection with the central repo is up again, I can still not
> download the artifacts. I need to delete the earlier created xml files
> first.
>
> How can this be avoided ?
>
> Nele.
>
> -
> Visit our website! http://www.nbb.be
>
> "DISCLAIMER: The content of this e-mail message should not be
> construed as binding on the part of the National Bank of Belgium
> (NBB) unless otherwise and previously stated. The opinions
> expressed in this message are solely those of the author and do not
> necessarily reflect NBB viewpoints, particularly when the content
> of this message, or part thereof, is private by nature or does not
> fall within the professional scope of its author."
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Brett Porter
Blog: http://www.devzuz.org/blogs/bporter/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Maven Local Repository

2007-09-14 Thread De Vleeschauwer Nele
Hi,

I have a question concerning the Maven local repository on my pc.
When I add a new dependency to the pom file of my project then my maven
installation will try to download the necessary artifacts in my local
repository.
If for one reason or another, my connection with the central site can
not be established, maven will create the artifacts folder structure in
my local repository and will also create a metadata xml file.
When my connection with the central repo is up again, I can still not
download the artifacts. I need to delete the earlier created xml files
first.

How can this be avoided ?

Nele.

-
Visit our website! http://www.nbb.be

"DISCLAIMER: The content of this e-mail message should not be
construed as binding on the part of the National Bank of Belgium
(NBB) unless otherwise and previously stated. The opinions
expressed in this message are solely those of the author and do not
necessarily reflect NBB viewpoints, particularly when the content
of this message, or part thereof, is private by nature or does not
fall within the professional scope of its author."

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven local repository location

2007-03-30 Thread Eric Redmond

Try a field in your mojo with an expression = ${settings.localRepository}

Eric

On 3/29/07, Rahul Khot <[EMAIL PROTECTED]> wrote:


Is there a way to access maven local repository location in the plugin or
in
the pom.xml.



I have tried the following vars:



${maven.repo.local}

${localRepository}



I try to pass them as a parameter in the plugin metadata file.



Any help will be highly appreciated.







Thanks,

Rahul

6605







--
Eric Redmond
http://codehaus.org/~eredmond


Maven local repository location

2007-03-29 Thread Rahul Khot
Is there a way to access maven local repository location in the plugin or in
the pom.xml.

 

I have tried the following vars:

 

${maven.repo.local}

${localRepository}

 

I try to pass them as a parameter in the plugin metadata file.

 

Any help will be highly appreciated.

 

 

 

Thanks,

Rahul

6605

 



maven local repository within SVN..

2007-02-01 Thread Morgovsky, Alexander \(US - Glen Mills\)
Well, you could could install SVN on the machine, and have your build
call a bootstrapping project which checks out whatever you need from
SVN.  Then, control would flow to the build, etc.  Thanks. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


maven local repository within SVN..

2007-02-01 Thread Wojtek Ciesielski

Hi there,


We're trying to set up continuous building infrastructure and 
incorporate  Maven 2.0 in line with know best-practices. What I've read 
is that it's a good idea to put maven installation to the SCM system - 
because of this we can share maven-wide settings.xml among members of a 
team. There are several obvious advantages of this solution but a 
question arises - how can I configure continuum building server if a 
maven installation is in the same svn repository as the project I'm 
trying to build? The same goes with putting whole local repository into 
the SVN - but If I understand well we could skip it when we create 
internal remote maven repository.


BTW - do you know any materials regarding setting up full building 
system with maven 2.0? Currently I'm basing my knowledge on the "Better 
Builds with Maven" book.


Thanks in advance,
Wojtek