Deprecate dependency:purge-local-repository, build-helper:remove-project-artifact

2024-05-12 Thread Slawomir Jaranowski
Hi We have similar goals in two plugins: - https://www.mojohaus.org/build-helper-maven-plugin/remove-project-artifact-mojo.html - https://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html By the way, using such goals is not recommended today with Maven 3 and so

Re: Maven resilience to interrupted install to local repository

2024-02-29 Thread Stanimir Stamenkov
Thu, 29 Feb 2024, /Tamás Cservenák/: am not Windows user, but we had several reports about issues, like this one: https://issues.apache.org/jira/browse/MRESOLVER-372 I see. Thank you for the reference. As far as I'm aware, such "access denied" exceptions on Windows are not specific to atomi

Re: Maven resilience to interrupted install to local repository

2024-02-29 Thread Tamás Cservenák
Howdy, am not Windows user, but we had several reports about issues, like this one: https://issues.apache.org/jira/browse/MRESOLVER-372 T On Thu, Feb 29, 2024 at 1:40 PM Stanimir Stamenkov wrote: > Thu, 29 Feb 2024, /Tamás Cservenák/: > > > Resolver 1.9.18 uses the temp file technique you desc

Re: Maven resilience to interrupted install to local repository

2024-02-29 Thread Stanimir Stamenkov
Thu, 29 Feb 2024, /Tamás Cservenák/: Resolver 1.9.18 uses the temp file technique you describe: copies to (random) temp file located in the same directory where target file is, and then atomically moves the file to its place (unless OS is windows, for obvious reasons). Doesn't atomic file mo

Re: Maven resilience to interrupted install to local repository

2024-02-29 Thread Tamás Cservenák
Hi. > > How resilient is Maven to JVM being killed (K8s POD being killed) while it > is installing artifact files into a local repository? Does it do the copy > into a temporary file then rename method or does it copy into the target > artifact file directly? > > -- > VH >

Maven resilience to interrupted install to local repository

2024-02-29 Thread Václav Haisman
Hi. How resilient is Maven to JVM being killed (K8s POD being killed) while it is installing artifact files into a local repository? Does it do the copy into a temporary file then rename method or does it copy into the target artifact file directly? -- VH

Re: Maven 4.0.0-aplha3 [MNG-7612] - Chained Local Repository

2022-12-16 Thread Arnaud bourree
lo, > > > > I'm interested by [MNG-7612 < > > https://issues.apache.org/jira/browse/MNG-7612>] > > - Chained Local Repository. > > In Jira, feature is described to be for IT testings, I suppose Maven > plugin > > IT. > > Does it trully limited?

Re: Maven 4.0.0-aplha3 [MNG-7612] - Chained Local Repository

2022-12-16 Thread Tamás Cservenák
e: > Hello, > > I'm interested by [MNG-7612 < > https://issues.apache.org/jira/browse/MNG-7612>] > - Chained Local Repository. > In Jira, feature is described to be for IT testings, I suppose Maven plugin > IT. > Does it trully limited? Or can we image using it in ot

Maven 4.0.0-aplha3 [MNG-7612] - Chained Local Repository

2022-12-16 Thread Arnaud bourree
Hello, I'm interested by [MNG-7612 <https://issues.apache.org/jira/browse/MNG-7612>] - Chained Local Repository. In Jira, feature is described to be for IT testings, I suppose Maven plugin IT. Does it trully limited? Or can we image using it in others usecases? I've in mind share

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-12-02 Thread Michael Osipov
* Build this one first: https://github.com/apache/maven/tree/maven-3.8.x-resolver-1.7.x (https://maven.apache.org/resolver/maven-3.8.x.html) * Follow this guide: https://maven.apache.org/resolver/maven-resolver-named-locks-redisson/index.html If you have failures, follow this guide: * https:/

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-11-28 Thread Delany
Hi Tamas, I've been trying the Redisson approach for the last 7 weeks, but my machine locks up every second or third build for long periods of time 5-20min. I'm on Ubuntu running the Redis 6.2.6 snap using the Maven 3.8.3 and 3.8.4 wrapper. I followed these instructions to setup Edit the file *${

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-08 Thread Delany
Thanks Tamás. Since I use the wrapper, I was thinking there's a case for Maven wrapper variants. But I guess this is what containers are all about anyway. Delany On Thu, 7 Oct 2021 at 11:32, Tamás Cservenák wrote: > Hi Delany, > > from Sisu website: "Sisu is a modular JSR330-based container that

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-07 Thread Tamás Cservenák
Hi Delany, from Sisu website: "Sisu is a modular JSR330-based container that supports *classpath scanning*, *auto-binding*, and *dynamic auto-wiring*. Sisu uses Google-Guice to perform dependency injection and provide the core JSR330 support, but removes the need to write explicit bindings in Guic

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-07 Thread Delany
Michael, could you clarify this line pls: "It only works when Sisu DI is used and not the bundled AetherModule or ServiceLocator (Maven uses Sisu dependency injection)." https://maven.apache.org/resolver/maven-resolver-named-locks-redisson/index.html What should I do about this issue? Thanks, Del

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-06 Thread Michael Osipov
Am 2021-10-06 um 21:05 schrieb Francois Marot: Michael, I do not agree. As a user and maintainer of the build chain in my company, I think Maven would really benefit from an out of the box solution. I think any user is susceptible to the bug by launching multiple Maven instances at the same time

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-06 Thread Francois Marot
Michael, I do not agree. As a user and maintainer of the build chain in my company, I think Maven would really benefit from an out of the box solution. I think any user is susceptible to the bug by launching multiple Maven instances at the same time on his computer. Bugs then encountered are really

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-06 Thread Jacques Etienne Beaudet
not to use your work right now mostly because it would involve > setting up a Redis Database and my 'hack' still works (despite using a lot > of disk space and being a bit slow). > > If I understand correctly after Tams' message, your work is mostly geared > toward ru

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Michael Osipov
after Tams' message, your work is mostly geared toward running multiple Maven build in parallel and on multiple hosts, all sharing one big "local" repository through the network. Am I correct ? In my case, I have multiple Jenkins workers but never thought about making them collaborat

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Francois Marot
geared toward running multiple Maven build in parallel and on multiple hosts, all sharing one big "local" repository through the network. Am I correct ? In my case, I have multiple Jenkins workers but never thought about making them collaborate on a shared "local" repo. I'll have

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Bernd Eckenfels
Betreff: Re: Local repository accessed by multiple Maven instances - how is it solved ? Hi Bernd, nothing is wrong with advisory file locking, as long as you don't store local repo on NFS ;) Will re-add file locking once I get there, as in my opinion it is the most "lightweight" MP

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Michael Osipov
Tamás, Redis is so easy to install and get going in 5 minutes that I would rather see your energy go into areas which need more attention. M Am 2021-10-04 um 22:02 schrieb Tamás Cservenák: Hi Bernd, nothing is wrong with advisory file locking, as long as you don't store local repo on NFS ;)

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Tamás Cservenák
Hi Bernd, nothing is wrong with advisory file locking, as long as you don't store local repo on NFS ;) Will re-add file locking once I get there, as in my opinion it is the most "lightweight" MP (multi process) solution on a single host. Redis and Hazelcast are more for "farms", where several host

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Bernd Eckenfels
Von: Michael Osipov Gesendet: Monday, October 4, 2021 9:15:23 PM An: users@maven.apache.org Betreff: Re: Local repository accessed by multiple Maven instances - how is it solved ? Am 2021-10-04 um 14:31 schrieb Francois Marot: > Hello all, > > I would like clarificatio

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Michael Osipov
Am 2021-10-04 um 14:31 schrieb Francois Marot: Hello all, I would like clarifications on MNG-2802[*] that seems to be solved. If I understand correctly it solves the problem where multiple simultaneous Maven executions shared the same local repository. I have been keeping for years a bit of

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Oliver Fischer
/resolver/maven-resolver-named-locks/index.html On Mon, Oct 4, 2021 at 2:32 PM Francois Marot wrote: Hello all, I would like clarifications on MNG-2802[*] that seems to be solved. If I understand correctly it solves the problem where multiple simultaneous Maven executions shared the same local

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Francois Marot
ms to be solved. If I > > understand correctly it solves the problem where multiple simultaneous > > Maven executions shared the same local repository. > > I have been keeping for years a bit of code in my Jenkinsfiles ensuring > the > > local repos were accessed only by a singl

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Thomas Broyer
t 2:32 PM Francois Marot wrote: > Hello all, > > I would like clarifications on MNG-2802[*] that seems to be solved. If I > understand correctly it solves the problem where multiple simultaneous > Maven executions shared the same local repository. > I have been keeping for year

Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-04 Thread Francois Marot
Hello all, I would like clarifications on MNG-2802[*] that seems to be solved. If I understand correctly it solves the problem where multiple simultaneous Maven executions shared the same local repository. I have been keeping for years a bit of code in my Jenkinsfiles ensuring the local repos

Re: list of libraries in maven local repository

2021-03-09 Thread Oliver B. Fischer
. -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

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

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

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

Re: not storing/getting artifacts in/from local repository

2020-05-08 Thread Bernd Eckenfels
could also show differences. Gruss Bernd -- http://bernd.eckenfels.net Von: Enrique Mingorance Cano Gesendet: Friday, May 8, 2020 2:09:42 PM An: users@maven.apache.org Betreff: not storing/getting artifacts in/from local repository Hello, I have a question about

not storing/getting artifacts in/from local repository

2020-05-08 Thread Enrique Mingorance Cano
/settings.xml [DEBUG] Reading user settings from /home/user/settings.xml [DEBUG] Reading global toolchains from /opt/tools/apache-maven-3.5.2/conf/toolchains.xml [DEBUG] Reading user toolchains from /home/user/.m2/toolchains.xml [DEBUG] Using local repository at /home/user/.m2/repository [DEBUG] Using

Re: Installing a File into Local Repository

2020-01-24 Thread Anthony Whitford
g/plugins/maven-install-plugin/install-file-mojo.html> ? Perhaps inspecting the source code for these plugins will help you. > On Jan 24, 2020, at 8:18 AM, Andreas Schaefer > wrote: > > Hi > > I want to install a file into my local repository. The code below did wor

Installing a File into Local Repository

2020-01-24 Thread Andreas Schaefer
Hi I want to install a file into my local repository. The code below did work at one time but now it is creating the file in the local repository but that file is empty. Any idea on how to fix it or is there another way to do that? Current Maven version: mvn --version Apache Maven 3.6.3

Re: mvn dependency:purge-local-repository

2018-06-15 Thread Jeff MAURY
/spring-projects/spring-boot/issues/12398 > > But, when I run mvn dependency:purge-local-repository, I get another error > : > > Unknown lifecycle phase "mvn". You must specify a valid lifecycle phase or > a goal in the format : or > :[:]:. Available > lifecycle phas

Re: mvn dependency:purge-local-repository

2018-06-15 Thread Thomas Broyer
On Fri, Jun 15, 2018 at 5:45 PM Karen Goh wrote: > Hi, > > I run into a problem in my Spring Boot Web project and then there's an > advice following this URL : > > https://github.com/spring-projects/spring-boot/issues/12398 > > But, when I run mvn dependency:purge-lo

mvn dependency:purge-local-repository

2018-06-15 Thread Karen Goh
Hi, I run into a problem in my Spring Boot Web project and then there's an advice following this URL : https://github.com/spring-projects/spring-boot/issues/12398 But, when I run mvn dependency:purge-local-repository, I get another error : Unknown lifecycle phase "mvn". You

Re: Question regarding Maven's local repository use

2018-02-12 Thread Paul Benedict
es aren't in best condition, this is a way to > > make sure the intended artifact of the intended repository is downloaded? > > Okay. If that's the case, that sounds like a really weird edge case that > > shouldn't figure into normal use. If I ever encountered such a pro

Re: Question regarding Maven's local repository use

2018-02-05 Thread Anders Hammar
o > make sure the intended artifact of the intended repository is downloaded? > Okay. If that's the case, that sounds like a really weird edge case that > shouldn't figure into normal use. If I ever encountered such a problem, a > developer should rely on dependency:purge-local-repos

Re: Question regarding Maven's local repository use

2018-02-05 Thread Paul Benedict
edge case that shouldn't figure into normal use. If I ever encountered such a problem, a developer should rely on dependency:purge-local-repository to trash the bad download. So is there any room for a Maven enhancement here? I am still not convinced the current behavior is sensible as a defau

Re: Question regarding Maven's local repository use

2018-02-05 Thread Anders Hammar
ersion is 3.3.9. For my typical use case, my settings.xml > has a > > > of "central" that provides a procured subset of artifacts. It > > > contains nearly everything I might need to do a desktop build. However, > > > sometimes I need to connect to the real &q

Re: Question regarding Maven's local repository use

2018-02-05 Thread Adam Sandor
of "central" that provides a procured subset of artifacts. It > > > contains nearly everything I might need to do a desktop build. However, > > > sometimes I need to connect to the real "central" directly to try and > > test > > > an experimenta

Re: Question regarding Maven's local repository use

2018-02-05 Thread Paul Benedict
contains nearly everything I might need to do a desktop build. However, > > sometimes I need to connect to the real "central" directly to try and > test > > an experimental artifact; therefore I temporarily wipe out my , > let > > Maven resolve the artifact and place

Re: Question regarding Maven's local repository use

2018-02-01 Thread Anders Hammar
to connect to the real "central" directly to try and test > an experimental artifact; therefore I temporarily wipe out my , let > Maven resolve the artifact and place it in my local repository, and I can > test accordingly. > > Now this is where my trouble begins. After restori

Question regarding Maven's local repository use

2018-02-01 Thread Paul Benedict
y to try and test an experimental artifact; therefore I temporarily wipe out my , let Maven resolve the artifact and place it in my local repository, and I can test accordingly. Now this is where my trouble begins. After restoring my , Maven complains: "Failure to find xxx:yyy:1.0.0 was cached in loc

mvn dependency:purge-local-repository fails to resolve, but subsequent mvn dependency:go-offline succeeds

2017-07-04 Thread Markus Karg
Using Maven since 10+ years, we have a strange problem with MVN 3.5.0. What we want to achieve is to ensure that all dependencies are latest version, even if somebody did a bad thing and replaced a release version in Nexus. So we type: mvn dependency:purge-local-repository This fails to re

Re: deployment to local repository

2016-05-26 Thread Philipp Kraus
ework in another project, >> so I build a jar file with „mvn package", and then I install the jar into >> my local repository with „mvn install:install-file -Dfile=myjar.jar“. >> >> > When you have the project source, you should do "mvn install" an

Re: deployment to local repository

2016-05-25 Thread Adrien Rivard
th AntLR, Guava dependencies ? in that case did you/how did you declared them? > IMHO I create a incomplete pom.xml on my framework, but I don’t know how I > can create it with the correct > way, so I can deploy the framework to my local repository only for > testing-case. Two other

Re: deployment to local repository

2016-05-25 Thread Manfred Moser
my first Maven framework, I would like to test the framework > in another project, > so I build a jar file with „mvn package", and then I install the jar into my > local repository with „mvn install:install-file -Dfile=myjar.jar“. > > I can use the package in another project wi

deployment to local repository

2016-05-25 Thread Philipp Kraus
Hello, I’m working on my first Maven framework, I would like to test the framework in another project, so I build a jar file with „mvn package", and then I install the jar into my local repository with „mvn install:install-file -Dfile=myjar.jar“. I can use the package in another project w

Re: Local Repository Question

2015-09-23 Thread Jörg Schaible
michael.ctr.taru...@faa.gov wrote: > Can the local repository be a Nexus repository on a server? If so How? No. Think of the local repo as cache. - Jörg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org

Local Repository Question

2015-09-23 Thread Michael.CTR.Tarullo
Can the local repository be a Nexus repository on a server? If so How? Thanks Michael Tarullo Contractor (Engility Corp) Enterprise Architect NSRR System Administrator FAA WJH Technical Center (609)485-5294

Re: Using dependency plugin to build minimal local repository to run unit tests

2015-09-10 Thread Andrew Wang
t; Andrew, > > > > I don't know if this would help: > > > > 1. Set up a repository on your local machine > > 2. Configure that repository to proxy remote repositories > > 3. Set your settings.xml to point to that local repository > > 4. Build norma

Re: Using dependency plugin to build minimal local repository to run unit tests

2015-09-10 Thread Laird Nelson
t; I don't know if this would help: > > 1. Set up a repository on your local machine > 2. Configure that repository to proxy remote repositories > 3. Set your settings.xml to point to that local repository > 4. Build normally > > Then when you're off-line, you&#

Re: Using dependency plugin to build minimal local repository to run unit tests

2015-09-10 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, I don't know if this would help: 1. Set up a repository on your local machine 2. Configure that repository to proxy remote repositories 3. Set your settings.xml to point to that local repository 4. Build normally Then when you'r

Re: Using dependency plugin to build minimal local repository to run unit tests

2015-09-10 Thread Bernd Eckenfels
Just run the Job you want to run with a fresh/empty local repository. > Am 11.09.2015 um 01:16 schrieb Andrew Wang : > > Hi Maven experts, > > I'm trying to get a minimal set of local repository contents to be able to > run unit tests for a project in offline mode

Using dependency plugin to build minimal local repository to run unit tests

2015-09-10 Thread Andrew Wang
Hi Maven experts, I'm trying to get a minimal set of local repository contents to be able to run unit tests for a project in offline mode. The dependency plugin documentation indicates that by default it's test scope, which is just what I want, so I did something like this (Maven 3.0.4

Re: Creating local repository

2015-09-10 Thread Baptiste Mathus
Hi, You don't share the "local repository", it should be seen and actually have been called "cache". Search for tools called "Maven Repository Manager". The famous ones out there are Archiva, Artifactory & Nexus (in alphabetical order). Cheers 2015-09-05

Re: Creating local repository

2015-09-04 Thread Niraj Chaudhary
orge > > On Fri, Sep 4, 2015, at 10:54 AM, Gail Stewart wrote: > > How are you going to get the libraries you need to this server if you > > have > > no net access? > > > > I'm not sure if this would work, but one way might be to run the maven on > > a &g

Re: Creating local repository

2015-09-04 Thread George Karabotsos
t sure if this would work, but one way might be to run the maven on > a > system with internet access so it populates the local repository in > $HOME/.m2 > > Tar or zip that directory up and get it to your server. Unzip it into > your > $HOME/.m2 or to a common location for s

Re: Creating local repository

2015-09-04 Thread George Karabotsos
Thank you Michael, I will give it a try and let you know how it goes. Cheers, George On Fri, Sep 4, 2015, at 10:54 AM, michael.ctr.taru...@faa.gov wrote: > You don't really need to point to a local repository. By default Maven > will use C:\Users\\.m2\respository as the local repo.

Re: Creating local repository

2015-09-04 Thread Gail Stewart
How are you going to get the libraries you need to this server if you have no net access? I'm not sure if this would work, but one way might be to run the maven on a system with internet access so it populates the local repository in $HOME/.m2 Tar or zip that directory up and get it to

RE: Creating local repository

2015-09-04 Thread Michael.CTR.Tarullo
You don't really need to point to a local repository. By default Maven will use C:\Users\\.m2\respository as the local repo. (i.e. for a Windows host). If you want to specify a different location for the local repo you can use this in your settings.xml: C:\.. Finally, to pop

RE: Creating local repository

2015-09-04 Thread Michael.CTR.Tarullo
George, Nor am I a Maven expert, by any stretch of the imagination! But from experience, when you want to work with Maven such that is uses only the local repository you must use the -o (the offline only) option when executing your builds. I will look at your other questions because I think

Creating local repository

2015-09-04 Thread George Karabotsos
Hello all, Let me start by admitting I am by no means a maven expert :). Now I have a need to create a local file-based repository to be used by maven when building my project. I need this because I have no net access from a set of VMs I and colleagues have to use . I was thinking of the follow

Re: Update non-unique snapshots from Artifactory to local repository

2015-07-22 Thread Bernd Eckenfels
snapshots locally, if you dont want to delete by hand, you can use mvn dependency:purge-local-repository See https://maven.apache.org/plugins/maven-dependency-plugin/examples/purging-local-repository.html But I think deleting (with find) is pretty common (so is using timestamps). Gr

Re: Update non-unique snapshots from Artifactory to local repository

2015-07-21 Thread Bernd Eckenfels
Hello, not sure if you are asking about the general handling or a specific problem with Artifactory. But with mvn you can use the -U switch to force a snapshot update. Otherwise it will use the updatePolicy from your settings.xml (I think "daily" would be the default for snapshots repo). Gruss B

Update non-unique snapshots from Artifactory to local repository

2015-07-21 Thread Alex Ditu
Hello, I am new to maven and do not know how to solve this issue: I decided not to keep timestampped artifacts in Aritfactory but now maven is not downloading newer artifacts from Artifactory, although in metadata the versions differ. I do not want to manually delete my local copy of an artifact

Re: Maven does not find existing artifacts in local repository because it looks in central where they are not?

2015-03-26 Thread Ron Wheeler
gt;) and a local one (${user.home}/.m2/repository. What I do not understand is, why after a mvn test maven complains about artifacts that are not in local repository. The named artifacts are in local repository as I checked. And it says, that it cannot download them from central. Because these artif

Re: Maven does not find existing artifacts in local repository because it looks in central where they are not?

2015-03-26 Thread Jörg Schaible
derstand is, why after a mvn > test maven complains about artifacts that are not in local repository. The > named artifacts are in local repository as I checked. And it says, that it > cannot download them from central. Because these artifacts are from my own > project, they are only in

Maven does not find existing artifacts in local repository because it looks in central where they are not?

2015-03-25 Thread Christian Eugster
at are not in local repository. The named artifacts are in local repository as I checked. And it says, that it cannot download them from central. Because these artifacts are from my own project, they are only in the local repository. Why does maven try to download them, when they are already in

Re: Build extension not found when specifying different local repository

2015-03-07 Thread Jeff MAURY
oid this? Thx. >>> >>> Unresolveable build extension: Plugin org.eclipse.tycho:tycho-maven- >>> plugin:0.23.0-SNAPSHOT >>> or one of its dependencies could not be resolved: Failure to find >>> org.eclipse.tycho:tycho-maven-plugin:jar:0.23.0-SNAPSHOT in >>&g

Re: Build extension not found when specifying different local repository

2015-03-07 Thread Pascal Rapicault
eclipse.tycho:tycho-maven-plugin:jar:0.23.0-SNAPSHOT in https://oss.sonatype.org/content/repositories/public/ was cached in the local repository, resolution will not be reattempted until the update interval of tycho has elapsed or updates are f

Re: Build extension not found when specifying different local repository

2015-03-06 Thread Jeff MAURY
n:jar:0.23.0-SNAPSHOT in > https://oss.sonatype.org/content/repositories/public/ was cached in the > local repository, resolution will not be reattempted until the update > interval of tycho has elapsed or updates are forced -> [Help 2] > > Pascal > > -

Build extension not found when specifying different local repository

2015-03-06 Thread Pascal Rapicault
.0-SNAPSHOT or one of its dependencies could not be resolved: Failure to find org.eclipse.tycho:tycho-maven-plugin:jar:0.23.0-SNAPSHOT in https://oss.sonatype.org/content/repositories/public/ was cached in the local repository, resolution will not be reattempted until the update interval of tycho h

Re: Remove old snapshots under local repository

2014-08-19 Thread Dan Tran
ah, that works with a project, in my case, i prefer not to have a project On Tue, Aug 19, 2014 at 8:07 PM, Mark Derricutt wrote: > Nope, it's takes the dependencies from your project pom.xml: > >mvn dependency:purge-local-repository -DresolutionFuzziness=artifactId > >

Re: Remove old snapshots under local repository

2014-08-19 Thread Mark Derricutt
Nope, it's takes the dependencies from your project pom.xml: mvn dependency:purge-local-repository -DresolutionFuzziness=artifactId Mark On 20 Aug 2014, at 14:11, Dan Tran wrote: > the problem here is I have to enter artifactId, am I missing any thing? > specially for a devel

Re: Remove old snapshots under local repository

2014-08-19 Thread Dan Tran
the problem here is I have to enter artifactId, am I missing any thing? specially for a developer who is very clueless about Maven -D On Tue, Aug 19, 2014 at 7:09 PM, Mark Derricutt wrote: > So not using the dependency plugin like I suggested? > > On 20 Aug 2014, at 10:14, Dan Tran wrote: > >

Re: Remove old snapshots under local repository

2014-08-19 Thread Mark Derricutt
So not using the dependency plugin like I suggested? On 20 Aug 2014, at 10:14, Dan Tran wrote: > After all consideration. I use Ron's advice and create a internal plugin > to clean it up. - To unsubscribe, e-mail: users-unsubsc

Re: Remove old snapshots under local repository

2014-08-19 Thread Dan Tran
After all consideration. I use Ron's advice and create a internal plugin to clean it up. -D On Tue, Aug 19, 2014 at 6:06 AM, Ron Wheeler wrote: > On 19/08/2014 1:49 AM, Barrie Treloar wrote: > >> What's wrong with just blowing away ~/.m2/repository ? >> >> If you have a local Maven Repository

Re: Remove old snapshots under local repository

2014-08-19 Thread Ron Wheeler
On 19/08/2014 1:49 AM, Barrie Treloar wrote: What's wrong with just blowing away ~/.m2/repository ? If you have a local Maven Repository Manager it doesn't take very long to reseed it. (At least less time in aggregate than thinking of ways to prune snapshot files in the repository correctly...)

Re: Remove old snapshots under local repository

2014-08-18 Thread Barrie Treloar
What's wrong with just blowing away ~/.m2/repository ? If you have a local Maven Repository Manager it doesn't take very long to reseed it. (At least less time in aggregate than thinking of ways to prune snapshot files in the repository correctly...)

Re: Remove old snapshots under local repository

2014-08-18 Thread Anders Hammar
Thanks > > > > > > -D > > > > > > > > > On Sat, Aug 16, 2014 at 11:11 PM, Ron Wheeler < > > > rwhee...@artifact-software.com> wrote: > > > > > > > On 17/08/2014 1:50 AM, Dan Tran wrote: > > > > > > &

Re: Remove old snapshots under local repository

2014-08-18 Thread Dan Tran
d option. > > > > Thanks > > > > -D > > > > > > On Sat, Aug 16, 2014 at 11:11 PM, Ron Wheeler < > > rwhee...@artifact-software.com> wrote: > > > > > On 17/08/2014 1:50 AM, Dan Tran wrote: > > > > > >> Hi I need to

Re: Remove old snapshots under local repository

2014-08-18 Thread Mark Derricutt
I tend to use: mvn dependency:purge-local-repository when sitting in a project directory, it'll go thru and delete all the SNAPSHOTs and re-resolve. The only problem with it in the default mode, is that is _only_ deletes the `.jar`. files and doesn't rebuild any metadata, so

Re: Remove old snapshots under local repository

2014-08-18 Thread Adrien Rivard
> On 17/08/2014 1:50 AM, Dan Tran wrote: > > > >> Hi I need to find a way to walk into local repository and remove all old > >> snapshots. > >> > >> This is very helpful for developer to clean up his/her local rep. > >> > >> how

Re: Remove old snapshots under local repository

2014-08-16 Thread Dan Tran
sounds like a good option. Thanks -D On Sat, Aug 16, 2014 at 11:11 PM, Ron Wheeler < rwhee...@artifact-software.com> wrote: > On 17/08/2014 1:50 AM, Dan Tran wrote: > >> Hi I need to find a way to walk into local repository and remove all old >> snapshots. >&g

Re: Remove old snapshots under local repository

2014-08-16 Thread Ron Wheeler
On 17/08/2014 1:50 AM, Dan Tran wrote: Hi I need to find a way to walk into local repository and remove all old snapshots. This is very helpful for developer to clean up his/her local rep. how safe it is by blindly remove any file with timestamp format ( ie xxx-1.0.0-20140816.071953-49.jar

Remove old snapshots under local repository

2014-08-16 Thread Dan Tran
Hi I need to find a way to walk into local repository and remove all old snapshots. This is very helpful for developer to clean up his/her local rep. how safe it is by blindly remove any file with timestamp format ( ie xxx-1.0.0-20140816.071953-49.jar)? Thanks -D

Re: local repository permissions

2014-08-06 Thread Wayne Fay
> How can I get maven to create directories and files with world writeable > permissions > when it is downloading or installing to the local ~/.m2 repository ? Most likely you are attempting to do something that Maven does not want you to do - the ~/.m2 repo is not designed to be shared. Describe

local repository permissions

2014-08-05 Thread Mehul Sanghvi
How can I get maven to create directories and files with world writeable permissions when it is downloading or installing to the local ~/.m2 repository ? -- Mehul N. Sanghvi email: mehul.sang...@gmail.com

Re: Prevent installing archives to local repository

2014-02-17 Thread DenisDasKind
Thank you, it works fine. I it seems i have ignored this parameter from the documentation. It was my mistake. -- View this message in context: http://maven.40175.n5.nabble.com/Prevent-installing-archives-to-local-repository-tp5784848p5785135.html Sent from the Maven - Users mailing list

Re: Prevent installing archives to local repository

2014-02-17 Thread Karl Heinz Marbaise
Hi, > I have take a look, and found that each file, created with the maven assembly plugin was installed to the local repository under the project name. In my case the maven assembly plugin creates a file abc.zip that is part of the distribution, and maven install plugin installed the abs.

Re: Prevent installing archives to local repository

2014-02-17 Thread DenisDasKind
I have take a look, and found that each file, created with the maven assembly plugin was installed to the local repository under the project name. In my case the maven assembly plugin creates a file abc.zip that is part of the distribution, and maven install plugin installed the abs.zip to the

Re: Prevent installing archives to local repository

2014-02-14 Thread Wayne Fay
> i see, that some of the files are installing to the local repository and > some not. The files that i need are installed to the repository, but there > is also a file that should not be installed. My question is how maven Can you be more specific about "the file that should no

Prevent installing archives to local repository

2014-02-14 Thread DenisDasKind
Hi everybody, one of my project create multiple jar and zip files during the build life cycle, and each archive was created with the maven assembly plugin. And now i see, that some of the files are installing to the local repository and some not. The files that i need are installed to the

mvn install give permission denied error for writing track file to local repository

2013-07-12 Thread jialanque
don't know what is the problem. Please help me to get some clue. Thanks. -- View this message in context: http://maven.40175.n5.nabble.com/mvn-install-give-permission-denied-error-for-writing-track-file-to-local-repository-tp5762801.html Sent fr

Re: local repository problem

2012-11-20 Thread Anders Hammar
project in the company network I have access to all the > artifacts we create in our repository. > When somebody OUTSIDE the company network runs the project he doesn’t have > this privilege. > Now, Since most of the artifacts we use are stable and doesn’t change, I > want him to copy them

  1   2   3   4   5   6   7   8   9   10   >