| 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
|