Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 16826 invoked from network); 3 Feb 2010 08:50:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2010 08:50:00 -0000 Received: (qmail 26457 invoked by uid 500); 3 Feb 2010 08:49:58 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 26340 invoked by uid 500); 3 Feb 2010 08:49:58 -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 26329 invoked by uid 99); 3 Feb 2010 08:49:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 08:49:58 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of anders.g.hammar@gmail.com designates 74.125.82.43 as permitted sender) Received: from [74.125.82.43] (HELO mail-ww0-f43.google.com) (74.125.82.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 08:49:49 +0000 Received: by wwi17 with SMTP id 17so99108wwi.30 for ; Wed, 03 Feb 2010 00:49:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=WZdhTrZsxQpjs6rRNBaY0PZzTmO9+FrxvRNVaAXjvaY=; b=E79iMa4gGwecNJtfwUJXAT0zyVCQI4gF13FsTf+fqIA0ZdZSjjZS+oP0uewSKkgWx9 z1PhI1iHMDj1QIlajQB799i1mPJxVWSFQQHQZnNcnbLs4ajx4JV2hXGVknIUfso2Gk5O 3j8an5zcRCjm7jgIV5nL7zdsuTMhW5lHBwMfc= 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=wrbzONqbMSPay349Xx4OmYIH4I5bNTJuj7cIxoYx8+G8ESBHpIOhdnEY25Xh4koXSF BAq//A0ZOq1ztP3GqvFU7MM/ww8yp+a/rJBx1w5ATxY91Hnqg1YTdMlqfYo/VLn//o2x VNiGdV1LGjKMOzybSAV1shtrKUyggf6iV54Vw= MIME-Version: 1.0 Sender: anders.g.hammar@gmail.com Received: by 10.216.89.82 with SMTP id b60mr1304589wef.170.1265186967390; Wed, 03 Feb 2010 00:49:27 -0800 (PST) In-Reply-To: <583d4dff1002021736o4ce548c3pf23319c882a5b3c3@mail.gmail.com> References: <583d4dff1002011332j5c13e0fas2d882b02cddf548a@mail.gmail.com> <583d4dff1002020658x1bb69bcfyf87f79ef041b72b5@mail.gmail.com> <583d4dff1002021736o4ce548c3pf23319c882a5b3c3@mail.gmail.com> Date: Wed, 3 Feb 2010 09:49:27 +0100 X-Google-Sender-Auth: 99ca8bf0fe3ff771 Message-ID: Subject: Re: what does it mean with this error when trying to run mvn eclipse:eclipse (Cannot find mojo descriptor for: 'eclipse:eclipse' - Treating as non-aggregator.) From: Anders Hammar To: Maven Users List Content-Type: multipart/alternative; boundary=0016e6d59ec5c40a3e047eae4b49 --0016e6d59ec5c40a3e047eae4b49 Content-Type: text/plain; charset=ISO-8859-1 Ok, first I would like to point you at some Maven books. They are great to get the basics: http://books.sonatype.com Then onto your problem. On the command line, you can always force a specific version. In your case you're trying to use a SNAPSHOT-version (a devevlopment build version), which is normally not a good idea (unless you know what you're doing). Try this on the command line: mvn org.apache.maven.plugins:maven-eclipse-plugin:2.7:eclipse That should force Maven to use v2.7 of the plugin. Does it still not work? The configuration I wrote about does the same thing kind of. By adding the following xml section to your project, you configure Maven to use v2.7 of the plugin (but only when executed for this project or a project that inherits from this): org.apache.maven.plugins maven-eclipse-plugin 2.7 The schema for pom.xml is found here: http://maven.apache.org/maven-v4_0_0.xsd As a last point I would like you to talk to your local Maven people as well. As you do have an Artifactory instance and you have configured to use that (most likely based on directions by someone as you say you don't have much Maven knowledge), if things still doesn't work - talk to them! They know your local environment and should be able to help you. I can't solve problems in your local environment. /Anders On Wed, Feb 3, 2010 at 02:36, Rick R wrote: > On Tue, Feb 2, 2010 at 2:43 PM, Anders Hammar wrote: > > > > > Also, try what I suggested about specifying the version of the plugin to > v > > 2.7. > > > > > Ok I totally suck at Maven :) I'm trying to figure out how the heck you > figure out how to declare the above and where you figure out the pom syntax > for the eclipse plugin to declare the version? > > I looked out here > http://mvnrepository.com/artifact/maven/maven-eclipse-plugin > > (I normally go to the above repo look up to determine the pom dependencies > I > want to add.) > > Obviously it is using 2.8 since after the mvn eclipse:eclipse error I end > up > seeing: > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins > -DartifactId=maven-eclipse-plugin -Dversion=2.8-SNAPSHOT > -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > org.apache.maven.plugins:maven-eclipse-plugin:maven-plugin:2.8-SNAPSHOT > > > From the above I assume I can build the pom dependency and change it to 2.7 > like you mentioned, but somewhere I must be able to find that pom > declaration in a repo online somewhere? Just trying to learn the process of > where I find these things? > --0016e6d59ec5c40a3e047eae4b49--