Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 59130 invoked from network); 22 Dec 2006 13:19:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Dec 2006 13:19:13 -0000 Received: (qmail 53738 invoked by uid 500); 22 Dec 2006 13:19:12 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 53688 invoked by uid 500); 22 Dec 2006 13:19:12 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 53677 invoked by uid 99); 22 Dec 2006 13:19:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Dec 2006 05:19:12 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of koellemcchrisi@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 22 Dec 2006 05:19:00 -0800 Received: (qmail invoked by alias); 22 Dec 2006 13:18:38 -0000 Received: from p54BEC036.dip0.t-ipconnect.de (EHLO l8600) [84.190.192.54] by mail.gmx.net (mp028) with SMTP; 22 Dec 2006 14:18:38 +0100 X-Authenticated: #4065639 From: =?iso-8859-1?Q?Christian_K=F6lle?= To: "'Maven Users List'" Subject: AW: [M2] Local offline repo maintenance (unique clean + clone) Date: Fri, 22 Dec 2006 14:18:32 +0100 Message-ID: <000201c725cb$ae30c8d0$0501a8c0@l8600> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 In-Reply-To: <3DC2E94B1E860A49ABAAE1A8B3077AA50211644C@exch01.mgm-edv.de> Importance: Normal X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org Reinhard: thanks for your response and support. I will consider setting up a company wide scopen repository. # The invalid POMs are not that annoying anymore: I used to have a CODEHAUS-JXR-report plugin defined. It finally appeared that it has been replaced by a APACHE-JXR-plugin. So I switched to the following = definition: org.apache.maven.plugins maven-jxr-plugin 2.0 With this report-plugin defintition, I still get a note, that there are invalid poms, but there are no runtime-errors during JXR-reporting = anymore. -- For me, it finally seems to be best practice, to define all plugins always with version information. Regards, Christian Reinhard N=E4gele wrote: | I don't think it is a good idea to deploy artifacts which are not | available on the Web to your local repository. You should really set | up a separate one for those. The local repository is nothing you | should actively manage, and you should be able to delete it any time. | The extra repository would be easy to pass on to your successor. | Plus, you won't probably get these pom errors anymore. =20 |=20 | Reinhard |=20 |=20 | -----Original Message----- | From: Christian K=F6lle [mailto:koellemcchrisi@gmx.de] | Sent: Donnerstag, 21. Dezember 2006 02:41 | To: 'Maven Users List' | Subject: [M2] Local offline repo maintenance (unique clean + clone) |=20 | Hello everyone, |=20 | I am using maven standalone, i.e. via local repo on my machine with | noone else. I have many libraries in the repo, which are not | retrieveable via internet. There is no company internal repo. The | following issues might seem be relatively unique to you. =20 |=20 | Problem 1: | Once in a while, I get plenty invalid POMs |=20 | Background 1: | When I am in the office, i get a WLAN-connection but no access to the | Internet. If I forget to switch Maven to the offline mode, it smashes | all the POMs of manually added libraries, as some scrap-page is | downloaded. As a consequese, I get many 'Invalid POM errors', e.g. | during 'mvn site:stage' usage. Deleting the smashed POMs by hand | helps but it is far to often to not be annoying. =20 |=20 | Question1: | I there a cleaning mechanism, which would help me to get rid of all | invalid POMs? Any other hints?=20 |=20 | # |=20 | Question 2: | Is there something like a copier-plugin, which would enable me to | clone the repo but only with those jars, which are not retrieveable | via internet? =20 |=20 | Background 2: | I am leaving my employer end January. The repo is very big. It would | be nice to leave my successor a 'small' repository-clone somewhere | (e.g. svn) which would contain all the manually added libraries. -- I | might not get all the manually added dependencies with the | project-referring dependency-copier plugins. =20 |=20 | Any ideas, suggestions? Thx in advance. |=20 | Regards | Christian |=20 |=20 | --------------------------------------------------------------------- | To unsubscribe, e-mail: users-unsubscribe@maven.apache.org | For additional commands, e-mail: users-help@maven.apache.org |=20 |=20 | --------------------------------------------------------------------- | To unsubscribe, e-mail: users-unsubscribe@maven.apache.org | For additional commands, e-mail: users-help@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org