I tried the official suggestion maven 2.0.8 to build, there was another error,
I obtained the source as a tar file from the sourceforge.net .
[INFO] ------------------------------------------------------------------------
[INFO] Building Geotools Archetype
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [plugin:descriptor]
[WARNING] Using platform encoding (UTF-8 actually) to read mojo metadata, i.e.
build is platform dependent!
[INFO] Applying mojo extractor for language: java
[INFO] Mojo extractor for language: java found 0 mojo descriptors.
[INFO] Applying mojo extractor for language: bsh
[INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error extracting plugin descriptor: 'No mojo definitions were found for
plugin: org.geotools.maven:archetype.'
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Fri Apr 17 08:50:02 CST 2009
[INFO] Final Memory: 27M/86M
[INFO] ------------------------------------------------------------------------
[r...@hp geotools-2.5.4-src]# mvn -version
Maven version: 2.0.8
Java version: 1.6.0_13
OS name: "linux" version: "2.6.18-92.1.22.el5" arch: "i386" Family: "unix"
在2009-04-16,"Michael Bedward" <[email protected]> 写道:
>2009/4/16 xx <[email protected]>:
>> ------------------------------------------------------------------------
>> [INFO] The PluginDescriptor for the plugin Plugin
>> [org.geotools.maven:jar-collector] was not found.
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> java.lang.IllegalStateException: The PluginDescriptor for the plugin Plugin
>> [org.geotools.maven:jar-collector] was not found.
>>
>
>This is a known issue with maven 2.0.9 (not sure about 2.0.10) when
>there is a missing plugin.xml file for a plugin. It's described
>here...
>
>http://jira.codehaus.org/browse/MNG-3523
>
>As the issue notes say, one possible cause is an incomplete download.
>
>Hope this helps
>
>Michael
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users