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 2EFECCDF9 for ; Mon, 7 May 2012 14:38:34 +0000 (UTC) Received: (qmail 52701 invoked by uid 500); 7 May 2012 14:38:32 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 52610 invoked by uid 500); 7 May 2012 14:38:32 -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 52602 invoked by uid 99); 7 May 2012 14:38:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 14:38:32 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of waynefay@gmail.com designates 209.85.161.171 as permitted sender) Received: from [209.85.161.171] (HELO mail-gg0-f171.google.com) (209.85.161.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 14:38:24 +0000 Received: by ggki1 with SMTP id i1so835136ggk.30 for ; Mon, 07 May 2012 07:38:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=TfbW3qNuQmhXzoxNi4s6/BsWNiQA18svnl+XjBsH7tk=; b=Oq5nHW/Mcz1hSP3DxedGK4gnlfXSZJXP0FleVSs1Ebsiihz0kxhQkgPDyVwtLtmgvY LrU6Sn34w/4Tjh2FlxQSKhviWhY5wr84nl906fSKJ2icJ3LAoHAw9ZBxe+zkG4aHY7El 3xK6vf7e5rXj98nl8/isE6k/veQiUiye65RCONY5wnPzrSJhjO7TfOGzUIU18ewqxgrp clkWYKoe/s5Mf98IXqm0lYr7/UT3Ml799gJqsDlA28XTK8JKFKPrfc5nQ0Oxcz/gAeim utHwSwnWni0f8zPxSvdbSg7vEnalekcFY+7DcsK0FiCcxFbrEND722eaXJVZqfUwHV3z L9rQ== Received: by 10.60.8.97 with SMTP id q1mr22056751oea.29.1336401483622; Mon, 07 May 2012 07:38:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.36.42 with HTTP; Mon, 7 May 2012 07:37:40 -0700 (PDT) In-Reply-To: <1336400314271-5691166.post@n5.nabble.com> References: <1336395144501-5690974.post@n5.nabble.com> <1336400314271-5691166.post@n5.nabble.com> From: Wayne Fay Date: Mon, 7 May 2012 09:37:40 -0500 Message-ID: Subject: Re: maven jar To: Maven Users List Content-Type: text/plain; charset=UTF-8 > We installed the generated jar in M2 as > /mvn install:install-file -DgroupId=xsd-js -DartifactId=xsd-js > -Dversion=0.0.1 -Dpackaging=jar -Dfile=D:\xsd-main-0.0.1-SNAPSHOT.jar/ > Had an entry for this jar in M1's pom.xml ad ran the mvn -e install -P > build. The compilation errors got solved. Why would you use install:install-file for an artifact you are producing with Maven? Just use "mvn install". Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org