[osmosis-dev] writing a custom plugin - unkown plugin version
jotpe
jotpe.osm at gmail.com
Mon Dec 23 23:31:21 UTC 2013
A close look into the plugin.xml (package
org.openstreetmap.osmosis.core.plugin) shows me that the plugin-id
"org.openstreetmap.osmosis.core.plugin.Core" is marked with
version="0.42-6-gf39a160-dirty".
Now it works!
2013/12/23 jotpe <jotpe.osm at gmail.com>
> Hello List,
>
> i would like to build a custom plugin for osmosis, but the wiki
> informations are to less for me.
>
> Is there anywhere a tutorial available?
>
> My current problem is an unknown or incompatible version between my plugin
> dependency and the org.openstreetmap.osmosis.core.plugin.Core
>
> <?xml version="1.0" ?> <!DOCTYPE plugin PUBLIC "-//JPF//Java Plug-in
> Manifest 1.0" "http://jpf.sourceforge.net/plugin_1_0.dtd"> <plugin
> id="OsmosisImporter" version="0.1"> <requires> <import
> plugin-id="org.openstreetmap.osmosis.core.plugin.Core"
> plugin-version="0.43.1" reverse-lookup="false"/> </requires> <runtime>
> <library id="mycode" path="/" type="code"/> </runtime> <extension
> plugin-id="org.openstreetmap.osmosis.core.plugin.Core" point-id="Task"
> id="OsmosismImporter"> <parameter id="name" value="importer"/> <parameter
> id="class" value="de.regioosm.osmosis.plugin.PluginLoader" /> </extension>
> </plugin>
>
> This command causes
> osmosis --read-xml city1.osm --importer
>
>
>
> Caused by: org.java.plugin.PluginLifecycleException: plug-in
> OsmosisImporter requires plug-in org.openstreetmap.osmosis.core.plugin.Core
> which is unknown or has incompatible version
> at
> org.java.plugin.standard.StandardPluginManager.checkPrerequisites(StandardPluginManager.java:460)
> at
> org.java.plugin.standard.StandardPluginManager.activatePlugin(StandardPluginManager.java:397)
>
>
> My osmosis version is 0.43.1 and the maven dependecies of the plugin
> project is 0.43.1 too. What can i do? Regards Johannes
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20131224/b6c7853a/attachment.html>
More information about the osmosis-dev
mailing list