Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 44753 invoked from network); 3 Nov 2010 09:02:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Nov 2010 09:02:45 -0000 Received: (qmail 13966 invoked by uid 500); 3 Nov 2010 09:03:14 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 13667 invoked by uid 500); 3 Nov 2010 09:03:14 -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 13650 invoked by uid 99); 3 Nov 2010 09:03:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 09:03:13 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of anders.g.hammar@gmail.com designates 209.85.212.43 as permitted sender) Received: from [209.85.212.43] (HELO mail-vw0-f43.google.com) (209.85.212.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 09:03:08 +0000 Received: by vws1 with SMTP id 1so812783vws.30 for ; Wed, 03 Nov 2010 02:02:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=NrDXXv4dR3PSyW1YUkyubbtEP9MsHiePLKipttlR3Hc=; b=R7bXUV/Z9N6x3pWcMtL9rzx7MUabtMf4FynPkG/OhC/QWXaDWIjS040NaVMPxCKJf3 Z9j5FhWfrsahEQ9K2BPv0lmT5InvvhalHPtbSKbLwvld3OTkH7lKyH/PXggwv+A6Xz9Y ECsNySwhbIKJZiNL9waCrsP/iN4NKxU4WMFlA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=vH5TmMqKUukLjTkOsphxxIdkxlTeEFKBqPIeVtpanYMu/WsRo3qnOpD7QoLOakvmn6 Kfs6751Dy729HJkopZygaV7BDucQ3hnFgElJCNVCaYsb3Z2jy/Um0qUm2juqyfvzlX7n pZzk6NBX3AAJa/oiNQYTE7uLeNf1FB1k99VlU= MIME-Version: 1.0 Received: by 10.229.81.207 with SMTP id y15mr3774470qck.61.1288774966170; Wed, 03 Nov 2010 02:02:46 -0700 (PDT) Sender: anders.g.hammar@gmail.com Received: by 10.229.182.21 with HTTP; Wed, 3 Nov 2010 02:02:46 -0700 (PDT) In-Reply-To: <1288759956462-3247936.post@n5.nabble.com> References: <1288759956462-3247936.post@n5.nabble.com> Date: Wed, 3 Nov 2010 10:02:46 +0100 X-Google-Sender-Auth: FI17qf3A1KzCTE6VAXkKb461YtA Message-ID: Subject: Re: newbie - having difficulties with jar files From: Anders Hammar To: Maven Users List Content-Type: multipart/alternative; boundary=001636aa2c320dda410494224eb0 --001636aa2c320dda410494224eb0 Content-Type: text/plain; charset=ISO-8859-1 You need to get Maven online so that it can download this dependency from Maven central. It's not a "jar" that comes from Springsource. Why do you run in offline mode? /Anders On Wed, Nov 3, 2010 at 05:52, blue skyz wrote: > > os: Mac OS X > Eclipse: SSTS > > I have some sample pom.xml file, that I am using to learn Maven. I am > posting what I see in Maven console and snippets from pom.xml. > > > > com.springsource.training.release > SpringSource Training Repository - > Releases > > https://tbits.springsource.com/repository/release > > false > > > > > maven indexes contains http://repo1.maven.org/maven2/ > > > Path to dependency: > 1) org.apache.maven.plugins:maven-source-plugin:maven-plugin:2.0.4 > 2) org.apache.maven:maven-model:jar:2.0 > > > org.apache.maven:maven-model:jar:2.0 > > System is offline. > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.maven > -DartifactId=maven-model -Dversion=2.0 -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.maven > -DartifactId=maven-model -Dversion=2.0 -Dpackaging=jar -Dfile=/path/to/file > -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) org.apache.maven.plugins:maven-source-plugin:maven-plugin:2.0.4 > 2) org.apache.maven:maven-model:jar:2.0 > > > I understand that I need to authenticate to the project repository. I lost > user name and password since > training was few months back. > > But, is there a way for me to set up a my own local repository, which would > get all these jar files > automatically? I think I simply do not know what to include in pom.xml to > get all dependent jar > files. I need your help. > > > > > > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/newbie-having-difficulties-with-jar-files-tp3247936p3247936.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --001636aa2c320dda410494224eb0--