Good day,
I am not familiar with the plugin. But if it's groupId is not
org.apache.maven.plugins, then you may want to specify the groupId in your
settings.xml ( see [1] ).
For example, if it's groupId is "directory", add the following in your
settings.xml
<settings>
...
<pluginGroups>
<pluginGroup>directory</pluginGroup>
</pluginGroups>
</settings>
And IIRC, you can also use the ~/.m2/plugin-registry.xml as such
<pluginRegistry>
<plugins>
...
<plugin>
<groupId>directory</groupId>
<artifactId>maven-directory-plugin</artifactId>
</plugin>
</plugins>
</pluginRegistry>
as an alternative to the pluginGroups of your settings.xml ( see [2] ).
Cheers,
Franz
[1] http://maven.apache.org/ref/2.0.4/maven-settings/settings.html
[2] http://docs.codehaus.org/display/MAVENUSER/Plugin+Registry
allan ramirez wrote:
>
> Is your maven newly installed? If it is try to append -U on your maven
> command.
>
> -allan
>
> On 1/17/07, Maria Odea Ching <[EMAIL PROTECTED]> wrote:
>>
>> Hi Joseph,
>>
>> It means that your project dependency (maven-directory-plugin) does not
>> exist in your local repo and when
>> maven tried to download it from the central repo, it couldn't also find
>> it there.
>>
>> You could try to build the dependency from source and install it in you
>> local repo using "mvn install"
>>
>> Hope this helps! :-)
>>
>> Thanks,
>> Deng
>>
>> Joseph wrote:
>>
>> >when use mvn directory:schema to create my schema class.the out print
>> >
>> >"The plugin 'org.apache.maven.plugins:maven-directory-plugin' does not
>> >exist or no valid version could be found"
>> >
>> >what's wrong with it?
>> >How can i make it?
>> >
>> >
>> >---------------------------------------------------------------------
>> >To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> ==========================================================
> - alramirez
>
>
--
View this message in context:
http://www.nabble.com/Apacheds-and-Maven-tf3019728s177.html#a8407775
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]