THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Building bundles with Maven
See Jar files can be turned into bundles using the Maven Bundle Plugin documentation for more details. like:
Code Block | ||||
---|---|---|---|---|
| ||||
<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>
<Struts2-Enabled>true</Struts2-Enabled>
<Export-Package>org.apache.struts2.osgi.demo</Export-Package>
<Import-Package>*,com.opensymphony.xwork2</Import-Package>
<Bundle-Activator>org.apache.struts2.osgi.StrutsActivator</Bundle-Activator>
<Spring-Context>*;create-asynchronously:=false</Spring-Context>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
|
...