Looks like your Lucene plugin code is out of date.
Are you sure they are trunk ?
Maybe mvn clean install will help
Ludovic
Asiri Rathnayake wrote:
Just checked out and ran a `mvn install` got the
following ...
<code>
[INFO] Compiling 22 source files to
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[41,46]
type com.xpn.xwiki.plugin.PluginApi does not take parameters
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePlugin.java:[544,15]
incompatible types
found : com.xpn.xwiki.plugin.lucene.LucenePluginApi
required: com.xpn.xwiki.api.Api
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[68,12]
cannot find symbol
symbol : method hasAdminRights()
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[69,53]
cannot find symbol
symbol : variable context
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[69,19]
cannot find symbol
symbol : method getProtectedPlugin()
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[85,19]
cannot find symbol
symbol : method getProtectedPlugin()
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[106,27]
cannot find symbol
symbol : variable context
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[105,19]
cannot find symbol
symbol : method getProtectedPlugin()
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[167,31]
cannot find symbol
symbol : variable context
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[166,16]
cannot find symbol
symbol : method getProtectedPlugin()
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[183,15]
cannot find symbol
symbol : method getProtectedPlugin()
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[191,15]
cannot find symbol
symbol : method getProtectedPlugin()
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[199,15]
cannot find symbol
symbol : method getProtectedPlugin()
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[216,27]
cannot find symbol
symbol : variable context
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[215,19]
cannot find symbol
symbol : method getProtectedPlugin()
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[263,16]
cannot find symbol
symbol : variable context
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[262,19]
cannot find symbol
symbol : method getProtectedPlugin()
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[286,16]
cannot find symbol
symbol : variable context
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[285,19]
cannot find symbol
symbol : method getProtectedPlugin()
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[345,31]
cannot find symbol
symbol : variable context
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[344,16]
cannot find symbol
symbol : method getProtectedPlugin()
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[407,31]
cannot find symbol
symbol : variable context
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
/home/asiri/projects/xwiki/xwiki-dev/trunks/xwiki-platform-plugins/lucene/src/main/java/com/xpn/xwiki/plugin/lucene/LucenePluginApi.java:[406,16]
cannot find symbol
symbol : method getProtectedPlugin()
location: class com.xpn.xwiki.plugin.lucene.LucenePluginApi
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 25 seconds
[INFO] Finished at: Sun May 18 08:50:39 LKT 2008
[INFO] Final Memory: 45M/142M
[INFO]
------------------------------------------------------------------------
</code>
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs