Thanks, Clement. With 1.9.0-SNAPSHOT, it works now. I also notice that if the iPOJO service is packaged as a jar (bundle) file within WEB-INF/lib, the iPOJO services are not getting picked up. To have the service exposed, I need to package it under WEB-INF/classes. Is this a bug or expected behavior?
Liem -----Original Message----- From: clement escoffier [mailto:[email protected]] Sent: Saturday, July 30, 2011 3:17 AM To: [email protected] Subject: Re: ipojo services within a war Hi, You should see in the log is the manipulation occurs or not. Could you try with: <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-ipojo-plugin</artifactId> <version>1.8.0</version> <executions> <execution> <goals> <goal>ipojo-bundle</goal> </goals> <phase>package</phase> </execution> </executions> <dependencies> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.ipojo.manipulator</artifactId> <version>1.9.0-SNAPSHOT</version> </dependencies> </plugin> It will use a 'not-yet-released' version of the manipulator. If you can't resolve it add the following repository to your pom file: https://repository.apache.org/content/repositories/snapshots Regards, Clement 2011/7/29 Nguyen, Liem Manh <[email protected]> > Hello, > > I have a service exposed and instantiated via iPOJO annotations within a > war file. However, I do not see the service being published correctly (as I > would if I package it in a bundle/jar file). Here is my ipojo plugin > configuration: > > <plugin> > > <groupId>org.apache.felix</groupId> > > <artifactId>maven-ipojo-plugin</artifactId> > > <version>1.8.0</version> > <executions> > > <execution> > > <goals> > > <goal>ipojo-bundle</goal> > > </goals> > > <phase>package</phase> > > </execution> > > </executions> > </plugin> > > I am not sure if this is related to bug FELIX-2825 or not. If it is, what > version of maven-ipojo-plugin was the bug fixed in? It seems to indicate > 1.8.2; but, the latest on the Maven repo is 1.8.0. > > Thanks, > Liem > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

