Commit 2fbd1a3d authored by Christian Schudt's avatar Christian Schudt Committed by daryl herzmann

Work on compiling plugins with JspC

parent 2f0ea660
...@@ -33,26 +33,26 @@ ...@@ -33,26 +33,26 @@
<!-- Don't include jsp pages, they will be compiled --> <!-- Don't include jsp pages, they will be compiled -->
<excludes> <excludes>
<exclude>**/*.jsp</exclude> <exclude>**/*.jsp</exclude>
<exclude>web/WEB-INF/web.xml</exclude>
</excludes> </excludes>
</fileSet> </fileSet>
<!-- The jar-file containing the compiled plugin code. This is assembled <!-- web.xml (it will be modified by JspC -->
by the assembly descriptor "openfire-plugin-jar" -->
<fileSet> <fileSet>
<outputDirectory>/web/WEB-INF</outputDirectory>
<directory>${project.build.directory}</directory> <directory>${project.build.directory}</directory>
<outputDirectory>/lib</outputDirectory>
<includes> <includes>
<include>plugin-${project.artifactId}.jar</include> <include>web.xml</include>
</includes> </includes>
</fileSet> </fileSet>
<!-- The jar-file containing the pre-compiled JSP pages. This is assembled <!-- The jar-file containing the compiled plugin code. This is assembled
by the assembly descriptor "openfire-plugin-jspc" --> by the assembly descriptor "openfire-plugin-jar" -->
<fileSet> <fileSet>
<directory>${project.build.directory}</directory> <directory>${project.build.directory}</directory>
<outputDirectory>/lib</outputDirectory> <outputDirectory>/lib</outputDirectory>
<includes> <includes>
<include>plugin-${project.artifactId}-jspc.jar</include> <include>plugin-${project.artifactId}.jar</include>
</includes> </includes>
</fileSet> </fileSet>
......
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>openfire-plugin-jspc</id>
<formats>
<format>jar</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
</assembly>
\ No newline at end of file
...@@ -113,6 +113,11 @@ ...@@ -113,6 +113,11 @@
<goals> <goals>
<goal>jspc</goal> <goal>jspc</goal>
</goals> </goals>
<configuration>
<jspc>
<package>org.jivesoftware.openfire.plugin.${project.artifactId}</package>
</jspc>
</configuration>
</execution> </execution>
</executions> </executions>
<dependencies> <dependencies>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment