Apache Directory Project - Re: [ApacheDS] Custom schema issues (again)

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > April 2007 > Re: [ApacheDS] Custom schema issues (again)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: [ApacheDS] Custom schema issues (again)
Alex Karasulu

2007-04-30, 1:11 pm

Hi Tony,

On 4/30/07, Tony Thompson <Tony.Thompson-elI1gIPh78tZroRs9YW3xA@public.gmane.org> 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

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com