Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
langxml
titleExample
<build>
    <plugins>
        <plugin>
            <groupId>org.apache.felix</groupId>
            <artifactId>maven-bundle-plugin</artifactId>
            <extensions>true</extensions>
            <version>2.0.0</version>
            <configuration>
                <instructions>
                    <manifestLocation>META-INF</manifestLocation>
                    <Export-Package>
                      orgPackage>org.apache.struts2.osgi.demo
                    <demo</Export-Package>
                    <Import-Package>
                      *,com.opensymphony.xwork2
                    <xwork2</Import-Package>
                    <Bundle-Activator>
                      orgActivator>org.apache.struts2.osgi.StrutsActivatorStrutsActivator</Bundle-Activator>
                    </Bundle-Activator><Spring-Context>*;create-asynchronously:=false</Spring-Context>
                </instructions>
            </configuration>
        </plugin>
    </plugins>
</build>

...