maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kaloyan Enimanev <Kaloyan.Enima...@intercomponentware.com>
Subject OSGI plugin problem
Date Wed, 16 Feb 2005 22:06:32 GMT
Hi guys,
  I recently downloaded a OSGI plugin from 
http://mavenosgiplugin.berlios.de/.

 When I try to use it to build a OSGI bundle (special JAR file like WAR) 
I get the following error

osgi:jar:
    [echo] Building OSGi jar commandman-0.1-SNAPSHOT
called BundleInfo.doExecute()

BUILD FAILED
File...... C:\Documents and 
Settings\sofia\.maven\cache\maven-osgi-plugin-0.3.4\
plugin.jelly
Element... bundleinfo:bundleinfo
Line...... 129
Column.... 5
java.lang.NoSuchMethodError
Total time: 3 seconds
Finished at: Wed Feb 16 21:52:04 CET 2005



The plugin.jelly file starts like this

<project
        xmlns:maven="jelly:maven"
        xmlns:jar="jelly:jar"
        xmlns:j="jelly:core" 
        xmlns:util="jelly:util" 
        xmlns:ant="jelly:ant"
        xmlns:artifact="artifact"
        xmlns:define="jelly:define"
        xmlns:bundleinfo="bundleinfo">

 <!--==================================================================-->
  <!-- Default goal : Builds a war file -->
 <!--==================================================================-->
  <goal name="osgi" prereqs="osgi:jar"
        description="Build an OSGi jar file"/>
 
 <!--==================================================================-->
  <!-- Definitions -->
  
<!--==================================================================--> 
  <define:taglib uri="bundleinfo">
    <define:jellybean
      name="bundleinfo"
      className="osgi.maven.BundleInfo"
      method="doExecute"
    />


I decompiled the osgi.maven.BundleInfo.class and it turned out that there 
IS a public method
called "doExecute", as stated in the definitions.

Anyone has any ideas where could be the problem ?
Because I'm completely stuck. Thanks everyone for reading this.


have a nice and productive day,
  Kaloyan

----------------------------------------------------------
Keep In Touch With Your Life Sensors
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message