Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7CA37FFD9 for ; Fri, 5 Apr 2013 13:58:55 +0000 (UTC) Received: (qmail 61848 invoked by uid 500); 5 Apr 2013 13:58:53 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 61787 invoked by uid 500); 5 Apr 2013 13:58:53 -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 61768 invoked by uid 99); 5 Apr 2013 13:58:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Apr 2013 13:58:52 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of alonsoir@gmail.com designates 74.125.82.46 as permitted sender) Received: from [74.125.82.46] (HELO mail-wg0-f46.google.com) (74.125.82.46) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Apr 2013 13:58:46 +0000 Received: by mail-wg0-f46.google.com with SMTP id l18so3738251wgh.13 for ; Fri, 05 Apr 2013 06:58:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=HTcRI7rlsHVhoTaaondxzJY0yXfZzXFJzdI+U+DI5Hs=; b=g6poI5uvrO59W7GujiqHpTgmM9gOTWredZQka4u942K5uSSi55KQtFNYsXVkqnzvf3 sEoEJjlBnZ/EywRd4ddsDsDnyXG/NbukdXTxosh8wj+GYg4VFWABqATLCcQEV6VZJrjS 4gdG5Pk9ThSrArjOWxqFB11Izxo2WkrLkkueI0pQ9ur9DYvS36SA2xlm1znNOElLVLvw yUnkVxWws8pGaviBVkFR6udvDMxhdWqPKWf5ed+A08VUkwZ6R5oO9d93/dTK7LTCcJw3 Qurz+VM1MZ7NQkkijqOdR9cbKSg72HUZqmVwaSiwks1hi2gum4aFwA2TsIk1cly8FL0v RuRA== MIME-Version: 1.0 X-Received: by 10.180.11.238 with SMTP id t14mr4613378wib.3.1365170306016; Fri, 05 Apr 2013 06:58:26 -0700 (PDT) Received: by 10.194.241.226 with HTTP; Fri, 5 Apr 2013 06:58:25 -0700 (PDT) In-Reply-To: <979dfbf3-6607-4c21-97ae-e673b0b9e7be@me.com> References: <979dfbf3-6607-4c21-97ae-e673b0b9e7be@me.com> Date: Fri, 5 Apr 2013 15:58:25 +0200 Message-ID: Subject: Re: maven From: Alonso Isidoro Roman To: Maven Users List Cc: Hossein Miri Content-Type: multipart/alternative; boundary=001a11c364be25eead04d99d7bc4 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c364be25eead04d99d7bc4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable El viernes, 5 de abril de 2013, Hossein Miri escribi=F3: > Thank you . . > > I did the first two things, by moving to the folder that contains the > pom.xml file > and then running the following two commands in the Terminal: > > mvn clean install > mvn eclipse:eclipse > > What do you mean by your last sentence? > > and then import maven project from eclipse. > > > Do you mean in the Eclipse Juno IDE? > > When I go to Eclipse , Help , Install New Software and look at What is > already installed > it shows that m2e - Maven Integration for Eclipse is already installed. > > Is that what you mean? > Hossein > > Nop, i Mean that in eclipse you need to import the Maven project. I m using STS but i think is the same in every eclipse. Go File, Import,Maven,Existing maven projects... then you need to supply root maven project, the folder with pom.xml and click Finish. Tell us what about. > hi Hossein, first, go to the folder project, where is pom.xml and execute > mvn clean install, that sentences clean, compile and deploy the project > into repository. Second, execute mvn eclipse:eclipse > and then import maven project from eclipse. > > Let us know how about was. > > regards > > Alonso Isidoro Roman. > > > > > Hi everyone, >> >> I have a folder that contains some Java code, written specifically for >> Linux. >> There is a pom.xml file and two folders called: src and build >> >> I have installed Eclipse Juno on my Mac (10.7.5) and I understand >> it already has Maven included. On the Linux machine, the code is >> executed by entering mvn package at the command line. >> >> But after this stage, it doesn't run on my Mac, because some of the >> commands are specific to Linux (I am told). How do I import the >> whole project into Maven on my Mac? I mean where do I copy >> the folders and pom file? >> >> p.s. I am only just beginning to learn Java programming using the >> Eclipse IDE and my installation details are in the image >> attached... >> >> Thank you, >> H >> > > > > > > > --001a11c364be25eead04d99d7bc4--