From npanday-users-return-345-apmail-incubator-npanday-users-archive=incubator.apache.org@incubator.apache.org Mon Mar 3 17:58:21 2014 Return-Path: X-Original-To: apmail-incubator-npanday-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-npanday-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 28DB71091E for ; Mon, 3 Mar 2014 17:58:21 +0000 (UTC) Received: (qmail 16415 invoked by uid 500); 3 Mar 2014 17:58:20 -0000 Delivered-To: apmail-incubator-npanday-users-archive@incubator.apache.org Received: (qmail 16363 invoked by uid 500); 3 Mar 2014 17:58:20 -0000 Mailing-List: contact npanday-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: npanday-users@incubator.apache.org Delivered-To: mailing list npanday-users@incubator.apache.org Received: (qmail 16355 invoked by uid 99); 3 Mar 2014 17:58:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2014 17:58:19 +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 (athena.apache.org: domain of eric.kolotyluk@gmail.com designates 209.85.160.51 as permitted sender) Received: from [209.85.160.51] (HELO mail-pb0-f51.google.com) (209.85.160.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2014 17:58:15 +0000 Received: by mail-pb0-f51.google.com with SMTP id uo5so3333202pbc.24 for ; Mon, 03 Mar 2014 09:57:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=4Ws9jxb+LGUlAQMVk35ddPtDvFO0oTt1/OZzDQKgUZA=; b=SM2tVBXMeQ2olgkTpeVvE0TZxbK3f/yv9BVVnLauI8XD2OuoP7K8X9A7/soINzjcEv 9zkUF550bGtEbqExspmi7YH6Df9dHgz7VilA1ScoHTUo3VVhsGVUFZmG9o1uvccE47BN 0TDKVVl2c365Z39CFcBMPJ2srpPadbt4Hm2HWHI6bJoTgC2FY11nV1/DINaO6GTRUlYa pfPOuauwReWH67mlSQXVc2WQ/K82GVXz/5eAirQ6YDhY7pOSkNxfBE22fpTK7V/zJpYT SZdhXf0ZT6ja3b02RLMigwM4id1yl/aryrIhUqWcAQcKwdqwlhlUClztFk85ikaxT8OS 7bdg== X-Received: by 10.66.66.135 with SMTP id f7mr988863pat.22.1393869474709; Mon, 03 Mar 2014 09:57:54 -0800 (PST) Received: from [192.168.0.17] (S0106602ad07f9cfa.vc.shawcable.net. [24.85.131.20]) by mx.google.com with ESMTPSA id iv2sm17269451pbc.19.2014.03.03.09.57.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Mar 2014 09:57:53 -0800 (PST) Message-ID: <5314C295.7070707@gmail.com> Date: Mon, 03 Mar 2014 09:57:41 -0800 From: Eric Kolotyluk User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: npanday-users@incubator.apache.org Subject: Re: Getting Started References: <002701cee0ec$fd514af0$f7f3e0d0$@leung@netage.com.hk> <4F69B4FA-00B3-4472-AE76-80D1581FE105@lcorneliussen.de> <355F47E1-53A4-4643-A009-BDB86F4FAC1C@netage.com.hk> <461D73F1-FB59-4D55-88AE-9BADBD1E11D8@lcorneliussen.de> <00cf01cee6d5$4a46f5b0$ded4e110$@leung@netage.com.hk> <05F6EEFE-53C3-4CE1-8771-26DF90E31F06@lcorneliussen.de> <005601ceecbe$121042c0$3630c840$@leung@netage.com.hk> <4DC2A920-79A0-4392-9ADC-322A38710F94@lcorneliussen.de> <1444B187-3943-4638-AA45-AE460D9A2D6B@netage.com.hk> <002401cef003$28c06a70$7a413f50$@leung@netage.com.hk> <7C33516F-9AEB-4CA3-8FBF-F81A9C0A818D@lcorneliussen.de> <530E288E.4090406@gmail.com> <530e92ac.272a440a.7248.ffffef33SMTPIN_ADDED_BROKEN@mx.google.com> <530F6144.8080306@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org See below... On 3/1/2014 8:05 PM, Brett Porter wrote: > On 28 Feb 2014, at 3:01 am, Eric Kolotyluk wrote: > >> D:\Users\Eric\Software\Project\Repositories\net\kolotyluk\windows\elevate>mvn archetype:generate -DarchetypeArtifactId=maven-archetype-dotnet-simple -DarchetypeGroupId=npanday -DarchetypeVersion=[version] > I guess the guide wasn't clear that you need to substitute the version in here. It should be set to 1.5.0-incubating-SNAPSHOT if you are using the MSI. (It might work without specifying the version at all, but I don't have my VM here to verify at the moment). No, the guide is not very clear on many topics. In particular, there are few things better than a concrete example, as prototypes are often open to ambiguous interpretation. In general it is useful to have both prototype examples, and concrete examples. I tried using mvn archetype:generate -DarchetypeArtifactId=maven-archetype-dotnet-simple -DarchetypeGroupId=npanday but that prints a list of 930 archetypes, and asks me to pick one. Not very user friendly, and when I enter "npanday" it does not find anything. > >> Is there some other repository I need to configure in my Maven settings? Why aren't the necessary NPanday pieces in Maven Central? > They are in central, but only the last release is there, not any snapshots. There are some additional artifacts required from http://repository.aduna-software.org/maven2. I tried configuring that remote repository into the settings.xml file and my nexus server, but that does not seem to work. Here is what I put in my settings.xml always true always info.aduna.mvn Aduna Software http://repository.aduna-software.org/maven2/ Is there something else I should be configuring there? D:\Users\Eric\Software\Project\Repositories\net\kolotyluk\windows\elevate>mvn archetype:generate -DarchetypeArtifactId=maven-archetype-dotnet-simple -DarchetypeGroupId=npanday -DarchetypeVersion=1.5.0-incubating-SNAPSHOT [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Stub Project (No POM) 1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom >>> [INFO] [INFO] <<< maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom <<< [INFO] [INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom --- [INFO] Generating project in Interactive mode [WARNING] Archetype not found in any catalog. Falling back to central repository (http://repo1.maven.org/maven2). [WARNING] Use -DarchetypeRepository= if archetype's repository is elsewhere. Downloading: http://localhost:8081/nexus/content/groups/public/npanday/maven-archetype-dotnet-simple/1.5.0-incubating-SNAPSHOT/maven-metadata.xml Downloading: http://localhost:8081/nexus/content/groups/public/npanday/maven-archetype-dotnet-simple/1.5.0-incubating-SNAPSHOT/maven-metadata.xml Downloading: http://localhost:8081/nexus/content/groups/public/npanday/maven-archetype-dotnet-simple/1.5.0-incubating-SNAPSHOT/maven-archetype-dotnet-simple-1.5.0-incubating-SNAPSHOT.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.573s [INFO] Finished at: Mon Mar 03 09:49:46 PST 2014 [INFO] Final Memory: 32M/1963M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: The desired archetype does not exist (npanday:maven-archetype-dotnet-simple:1.5.0-incubating-SNAPSHOT) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException Cheers, Eric > > - Brett >