.Hi Lukasz

/2.3.24.1/bundles>grep -S -l "<packaging>bundle<" *.*

./admin/pom.xml
./demo/pom.xml

vi ./admin/pom.xml
     <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    <instructions>
                        <manifestLocation>META-INF</manifestLocation>
                        <Struts2-Enabled>true</Struts2-Enabled>
                        
<Import-Package>*,com.opensymphony.xwork2</Import-Package>
                        
<Export-Package>org.apache.struts2.osgi.admin*</Export-Package>
                        
<Spring-Context>*;create-asynchronously:=false</Spring-Context>
                    </instructions>
                </configuration>
            </plugin>

vi ./demo/pom.xml
      <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <extensions>true</extensions>
                <version>2.1.0</version>
                <configuration>
                    <instructions>
                        <manifestLocation>META-INF</manifestLocation>
                        
<Import-Package>*,com.opensymphony.xwork2</Import-Package>
                        
<Spring-Context>*;create-asynchronously:=false</Spring-Context>
                        <Struts2-Enabled>true</Struts2-Enabled>
                    </instructions>
                </configuration>
            </plugin>


is this what you're looking for?

m-

________________________________
From: Lukasz Lenart <[email protected]>
Sent: Wednesday, April 8, 2020 2:19 AM
To: Struts Developers List <[email protected]>
Subject: OSGi Support

Hi,

Does anybody is using OSGi support in Struts?


Regards
--
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to