Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 79175 invoked from network); 30 Apr 2007 14:39:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Apr 2007 14:39:17 -0000 Received: (qmail 35841 invoked by uid 500); 30 Apr 2007 14:39:24 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 35621 invoked by uid 500); 30 Apr 2007 14:39:23 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 35610 invoked by uid 99); 30 Apr 2007 14:39:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 07:39:23 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of akarasulu@gmail.com designates 64.233.184.228 as permitted sender) Received: from [64.233.184.228] (HELO wr-out-0506.google.com) (64.233.184.228) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Apr 2007 07:39:16 -0700 Received: by wr-out-0506.google.com with SMTP id 25so1446671wry for ; Mon, 30 Apr 2007 07:38:55 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=bZGTTsUVO9nYTTDoiANFf4tA0bIhBkJeBawvQxjEqXriCIDHI/CnHCFZe8dCQgUjTiFqfj+EpqHdOMDRLH+eDYW/Gvdggg9tIZ6a3La61w8MUMO8g/77AAx9HMEYzaa6ZwWAIm3+inqygczVUHbbK47mO1x7fBQX1jOhvzREoro= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=I/RsQUt9x84H75gLR0C5N3xe7wAbFWRWmz1xNfQ8Nwc3t4Tmf9rRm07EOr73DRlbv51+6cL55C7OMERTlGsdGyiZKjwB1oBgkFlVkJis0FSjJhuYDrYzMwY6PZtF5FMHmMMAf/oM0m1EogeGHCg3TO/i6FfB0pWKEY9doiLjWo0= Received: by 10.90.93.6 with SMTP id q6mr5223274agb.1177943934346; Mon, 30 Apr 2007 07:38:54 -0700 (PDT) Received: by 10.67.69.15 with HTTP; Mon, 30 Apr 2007 07:38:53 -0700 (PDT) Message-ID: Date: Mon, 30 Apr 2007 10:38:53 -0400 From: "Alex Karasulu" Sender: akarasulu@gmail.com To: "Apache Directory Developers List" Subject: Re: [ApacheDS] Custom schema issues (again) In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_26535_7092476.1177943933997" References: X-Google-Sender-Auth: 0d769206afc710c3 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_26535_7092476.1177943933997 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Tony, On 4/30/07, Tony Thompson wrote: > > I wiped out my maven repository, checked out the code and started clean. > The apacheds-schema-archetype.sh script file is incorrect. It still has > this in it: -DarchetypeVersion=1.0-RC4 > Yes sorry about that. Just keep it as 1.0.1 (or whatever version you are working with) If I change that to 1.0.1, I still get this error: > > [INFO] Error creating from archetype > > Embedded error: Unable to add module to the current project as it is not > of packaging type 'pom' > The cause of this error comes from the fact that you're trying to run the archetype from within a maven project. Make sure you are not inside a project like the schema-archetype. Run the shell script from outside of this directory inside the apacheds directory and it should work. So just run this command inside the apacheds directory: ./schema-archetype/apacheds-schema-archetype.sh That should do it. Alex ------=_Part_26535_7092476.1177943933997 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Tony,

On 4/30/07, Tony Thompson <Tony.Thompson@stone-ware.com> wrote:
I wiped out my maven repository, checked out the code and started clean.  The apacheds-schema-archetype.sh script file is incorrect.  It still has this in it:  -DarchetypeVersion=1.0-RC4

Yes sorry about that.  Just keep it as 1.0.1 (or whatever version you are working with)

If I change that to 1.0.1, I still get this error:
 
[INFO] Error creating from archetype
 
Embedded error: Unable to add module to the current project as it is not of packaging type 'pom'

The cause of this error comes from the fact that you're trying to run the archetype from within a maven project.  Make sure you are not inside a project like the schema-archetype.  Run the shell script from outside of this directory inside the apacheds directory and it should work.  So just run this command inside the apacheds directory:

./schema-archetype/apacheds-schema-archetype.sh

That should do it. 

Alex


 


------=_Part_26535_7092476.1177943933997--