directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny" <elecha...@gmail.com>
Subject Re: Creating custom schema in ApacheDS-1.0.2
Date Thu, 04 Oct 2007 18:25:21 GMT
Hi,

which maven version are you using ?

On 10/4/07, Sura, Bhupesh <Bhupesh.Sura@us.widerthan.com> wrote:
>
> I am trying to create a custom schema in ApacheDS-1.0.2. I am following
> the wiki page
> http://cwiki.apache.org/confluence/display/DIRxSRVx10/Custom+Schema
> <http://cwiki.apache.org/confluence/display/DIRxSRVx10/Custom+Schema> .
>
> I was able to get the sources and do a maven install.
>
> when I run the command
>     apacheds-schema-archetype.sh com.acme foo-schema it fails as
> following.   ( Note that I am running this on windows platform)
>
>
>
>
> C:\Program Files\apacheds-1.0.2\src\schema-archetype>mvn
> archetype:create -DarchetypeGroupId=org.apache.directory.server
> -DarchetypeArtifactId=apacheds-schema-archetype -Darchetyp
> eVersion=1.0.2 -DgroupId=com.acme -DartifactId=foo-schema
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [WARNING] POM for
> 'org.apache.maven.plugins:maven-archetype-plugin:pom:1.0-SNAPSHOT' is
> invalid. It will be ignored for artifact resolution. Reason: Failed to
> validate POM for pro
> ject org.apache.maven.plugins:maven-archetype-plugin at Artifact
> [org.apache.maven.plugins:maven-archetype-plugin:pom:1.0-SNAPSHOT]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.maven.plugins:maven-archetype-plugin
> POM Location: Artifact
> [org.apache.maven.plugins:maven-archetype-plugin:pom:1.0-SNAPSHOT]
> Validation Messages:
>
>     [0]  'dependencies.dependency.version' is missing for
> org.apache.maven.archetype:maven-archetype-creator
>
>
> Reason: Failed to validate POM for project
> org.apache.maven.plugins:maven-archetype-plugin at Artifact
> [org.apache.maven.plugins:maven-archetype-plugin:pom:1.0-SNAPSHOT]
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Thu Oct 04 12:36:59 EDT 2007
> [INFO] Final Memory: 1M/2M
> [INFO]
> ------------------------------------------------------------------------
>
>
> I may be missing something or doing somethig worng. I am new to maven.
> Any help is greatly appreciated.
>
> Bhupesh.
>


-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com

Mime
View raw message