felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clement escoffier <clement.escoff...@gmail.com>
Subject Re: Ipojo War issue
Date Wed, 25 Mar 2015 12:57:29 GMT
Hi,

The output file looks good. The war is correctly manipulated. What's the
issue you have ?

Regards,

Clement

2015-03-25 12:41 GMT+01:00 Sateesh <sateesh@intense.in>:

> HI,
>
>  Thanks  for the reply,attached is the output of maven.
>
> Regarding bnd IPOJO plugin i am not getting information on how to use it.
>
> Thanks & Regards
> SAteesh.A
>
> ________________________________________
> From: clement escoffier <clement.escoffier@gmail.com>
> Sent: Wednesday, March 25, 2015 11:54 AM
> To: users@felix.apache.org
> Subject: Re: Ipojo War issue
>
> Hi,
>
> Do you have the maven output ?
> Did you try the bnd iPOJO plugin ?
>
> Regards,
>
> Clement
>
> 2015-03-24 7:58 GMT+01:00 Sateesh <sateesh@intense.in>:
>
> >  Hi Ipojo Team,
> >
> >
> >  I am trying to create a war file which contains a component of ipojo to
> > be created ,but unfortunately  iam not able to succeed in it,but the same
> > thing is working fine on bundle creation.
> >
> >
> >  I have pasted  the pom file below and also attached the MANIFEST.MF
> > file,you can see in MANIFEST.MF file it does not show the required import
> > package and the class files with in war are also not manipulated by
> > ipojo.  Request you to please help me in getting this resolved.
> >
> >
> >  <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="
> > http://www.w3.org/2001/XMLSchema-instance"
> >          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > http://maven.apache.org/xsd/maven-4.0.0.xsd">
> >     <modelVersion>4.0.0</modelVersion>
> >
> >      <groupId>com.aaaa</groupId>
> >     <artifactId>OSGIWebproject</artifactId>
> >     <version>1.0</version>
> >     <packaging>war</packaging>
> >
> >      <name>OSGIWebproject</name>
> >
> >      <properties>
> >
>  <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
> >     </properties>
> >
> >      <dependencies>
> >
> >         <dependency>
> >             <groupId>org.apache.felix</groupId>
> >             <artifactId>org.osgi.core</artifactId>
> >             <version>1.4.0</version>
> >             <scope>provided</scope>
> >         </dependency>
> >         <dependency>
> >             <groupId>org.apache.tomcat</groupId>
> >             <artifactId>tomcat-servlet-api</artifactId>
> >             <version>7.0.59</version>
> >             <scope>provided</scope>
> >         </dependency>
> >         <dependency>
> >             <groupId>javax.servlet.jsp</groupId>
> >             <artifactId>jsp-api</artifactId>
> >             <version>2.2</version>
> >             <scope>provided</scope>
> >         </dependency>
> >
> >         <dependency>
> >             <groupId>org.apache.felix</groupId>
> >             <artifactId>org.apache.felix.ipojo.annotations</artifactId>
> >             <version>1.11.0</version>
> >
> >         </dependency>
> >         <dependency>
> >             <groupId>com.in10s</groupId>
> >             <artifactId>Workflow</artifactId>
> >             <version>1.0</version>
> >             <scope>provided</scope>
> >         </dependency>
> >     </dependencies>
> > <build>
> >         <plugins>
> >            <plugin>
> >                 <groupId>org.apache.felix</groupId>
> >                 <artifactId>maven-bundle-plugin</artifactId>
> >                 <version>2.5.3</version>
> >                 <extensions>true</extensions>
> >                 <executions>
> >                     <execution>
> >                         <id>bundle-manifest</id>
> >                         <phase>package</phase>
> >                         <goals>
> >                             <goal>manifest</goal>
> >                         </goals>
> >
> >                     </execution>
> >                 </executions>
> > </plugin>
> >              <plugin>
> >                 <groupId>org.apache.felix</groupId>
> >                 <artifactId>maven-ipojo-plugin</artifactId>
> >                 <version>1.12.1</version>
> >                 <executions>
> >                     <execution>
> >                         <goals>
> >                             <goal>ipojo-bundle</goal>
> >                         </goals>
> >                         <phase>package</phase>
> >
> >                     </execution>
> >                 </executions>
> >                  <configuration>
> >                      <metadata>src/main/java/ipojo/meta.xml</metadata>
> >
> >                  </configuration>
> >              </plugin>
> >            <plugin>
> >                 <groupId>org.apache.maven.plugins</groupId>
> >                 <artifactId>maven-war-plugin</artifactId>
> >                  <version>2.6</version>
> >                 <configuration>
> >                   <archive>
> >
> > <manifestFile>./src/main/webapp/META-INF/MANIFEST.MF</manifestFile>
> >                   </archive>
> >
> >                    <instructions>
> >
> > <Bundle-SymbolicName>OSGIWebproject</Bundle-SymbolicName>
> >
> > <Bundle-Version>${project.version}</Bundle-Version>
> >
> > <Import-Package>com.in10s.workflow.api</Import-Package>
> >
> > <Web-ContextPath>/OSGIWebproject</Web-ContextPath>
> >
> > <Webapp-Context>/OSGIWebproject</Webapp-Context>
> > </instructions>
> >                 </configuration>
> >               </plugin>
> >         </plugins>
> >     </build>
> >
> >
> > </project>
> >
> > ‚Äč
> >
> >
> >
> >  Thanks & Regrads
> >
> > SAteesh.A
> >  The information contained in this e-mail and any accompanying documents
> > may contain information that is confidential or otherwise protected from
> > disclosure. If you are not the intended recipient of this message, or if
> > this message has been addressed to you in error, please immediately alert
> > the sender by reply e-mail and then delete this message, including any
> > attachments. Any dissemination, distribution or other use of the contents
> > of this message by anyone other than the intended recipient is strictly
> > prohibited.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> > For additional commands, e-mail: users-help@felix.apache.org
> >
> The information contained in this e-mail and any accompanying documents
> may contain information that is confidential or otherwise protected from
> disclosure. If you are not the intended recipient of this message, or if
> this message has been addressed to you in error, please immediately alert
> the sender by reply e-mail and then delete this message, including any
> attachments. Any dissemination, distribution or other use of the contents
> of this message by anyone other than the intended recipient is strictly
> prohibited.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message