Hello Enrique,

thanks for your answer. I have installed the plugin, but it does seem to be
effective in anyway.

when building my bundle, I get the following output :
- the plugin is searched for, and updated if necessary
- the compilation occurs as it would without the plugin (no modification of the
manifest)

Is there some step to go through for installation that are not dealt with in
the
how to  (at page
http://docs.safehaus.org/display/OSGI/OSGi+Plugin+for+Maven+2.0)? any obvious
reason for such an error ?

following is the printed output. I also attached the pom file of my bundle if it
can give any hint.

[INFO] Scanning for projects...
[INFO] snapshot org.apache.felix.plugins:maven-osgi-plugin:0.8.0-SNAPSHOT:
checking for updates from safehaus-repository
[INFO]
----------------------------------------------------------------------------
[INFO] Building SFelix Utils
[INFO]    task-segment: [compile]
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 6 source files to
/home/pierre/boulot/dev/maven/sfelix/fr.inria.ares.sfelix.utils/target/classes
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Sun Jun 11 22:46:40 CEST 2006
[INFO] Final Memory: 3M/6M
[INFO]
----------------------------------------------------------------------------

-- 
Pierre Parrend
Ph.D. Student, Teaching Assistant
INRIA-INSA Lyon, France
[EMAIL PROTECTED]
web : www.rzo.free.fr
<?xml version="1.0"?><project>
  <parent>
    <artifactId>sfelix</artifactId>
    <groupId>fr.inria.ares</groupId>
    <version>0.1</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>fr.inria.ares</groupId>
  <artifactId>fr.inria.ares.sfelix.utils</artifactId>
  <name>SFelix Utils</name>
  <version>0.1</version>
  <url>http://sfelix.gforge.inria.fr/</url>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
     <groupId>org.osgi</groupId>
     <artifactId>osgi</artifactId>
     <version>R4</version>
     <scope>compile</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <plugin>
	<groupId>org.apache.felix.plugins</groupId>
	<artifactId>maven-osgi-plugin</artifactId>
	<version>0.8.0-SNAPSHOT</version>
        <extensions>true</extensions>
        <configuration>
          <osgiManifest>
	    <bundleActivator>fr.inria.ares.utils.activator.UtilsActivator</bundleActivator>
            <bundleName>SFelix Utilities</bundleName>
            <bundleDescription>Utility classes for Secure Felix</bundleDescription>
            <exportPackage>fr.inria.ares.sfelix.utils</exportPackage>
	    <bundleVendor>PParrend</bundleVendor>
          </osgiManifest>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <repositories>
    <repository>
      <id>maven-osgi1</id>
      <name>OSGi for Maven</name>
      <url>http://osgirepo.berlios.de/repository/maven/</url>
    </repository>
  </repositories>
</project>

Reply via email to