Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
refs #20
- new struts2-jquery-datatables-plugin adding support for the datatables
plugin
- correct bug in internationalization support
  • Loading branch information
flofourcade committed Aug 11, 2016
commit 01bd5910e3bd5fafe971e3a395cef138e216bb4d
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
/pom.xml
/.gitignore
9 changes: 5 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@
<name>Struts 2 jQuery Plugin Staging Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
<snapshotRepository>
<id>struts2-jquery.snapshots</id>
<snapshotRepository>
<id>nexus</id>
<name>Snapshots</name>
<url>http://sdsisrpr01.gend/nexus/content/repositories/snapshots</url>
<uniqueVersion>false</uniqueVersion>
<name>Struts 2 jQuery Plugin Snapshots and Test Builds Repository</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>

Expand All @@ -83,6 +83,7 @@
<modules>
<module>struts2-jquery-plugin</module>
<module>struts2-jquery-grid-plugin</module>
<module>struts2-jquery-datatables-plugin</module>
<module>struts2-jquery-richtext-plugin</module>
<module>struts2-jquery-chart-plugin</module>
<module>struts2-jquery-tree-plugin</module>
Expand Down
1 change: 1 addition & 0 deletions struts2-jquery-datatables-plugin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target/
9 changes: 9 additions & 0 deletions struts2-jquery-datatables-plugin/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Manifest-Version: 1.0
Created-By: 1.5.0
Built-By: Johannes Geppert http://www.jgeppert.com
Build-Jdk: 1.5.0
Bundle-Version: 1.5.0
Bundle-Description: Apache Struts 2 jQuery Grid Plugin
Bundle-Name: Struts 2 jQuery Grid Plugin
Bundle-SymbolicName: com.jgeppert.struts2-jquery-grid-plugin
Import-Package: com.jgeppert.struts2.jquery.components
3 changes: 3 additions & 0 deletions struts2-jquery-datatables-plugin/META-INF/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TLD file is generated inside META-INF after compilation.
If META-INF is empty, Maven will not copy it to the "target/classes" folder.
Please do not remove META-INF, or this file.
138 changes: 138 additions & 0 deletions struts2-jquery-datatables-plugin/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
<?xml version="1.0"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.jgeppert.struts2.jquery</groupId>
<artifactId>struts2-jquery</artifactId>
<version>4.0.1-SNAPSHOT</version>
</parent>
<artifactId>struts2-jquery-datatables-plugin</artifactId>
<name>Struts 2 jQuery DataTables Plugin</name>
<packaging>jar</packaging>


<scm>
<url>https://github.com/struts-community-plugins/struts2-jquery/struts2-jquery-datatables-plugin/</url>
</scm>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs>
<arg>-Auri=/struts-jquery-datatables-tags</arg>
<arg>-AtlibVersion=${tlib.version}</arg>
<arg>-AjspVersion=2.0</arg>
<arg>-AshortName=sjdt</arg>
<arg>-AdisplayName=Struts2 jQuery DataTables Tags</arg>
<arg>-AoutFile=${basedir}/target/classes/META-INF/struts-jquery-datatables-tags.tld</arg>
<arg>-Adescription="Struts2 DataTables Tags based on DataTables."</arg>
<arg>-AoutTemplatesDir=${basedir}/src/site/docs</arg>
</compilerArgs>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.samaxes.maven</groupId>
<artifactId>minify-maven-plugin</artifactId>
<version>${minify.version}</version>
<executions>
<execution>
<id>default-minify</id>
<phase>package</phase>
<configuration>
<jsEngine>CLOSURE</jsEngine>
<closureLanguage>ECMASCRIPT5_STRICT</closureLanguage>
<skipMerge>true</skipMerge>
<webappSourceDir>${basedir}/src/main/resources</webappSourceDir>
<webappTargetDir>${basedir}/src/main/resources</webappTargetDir>
<jsSourceDir>template/js</jsSourceDir>
<jsTargetDir>template/js</jsTargetDir>
<jsSourceFiles>
<jsSourceFile>struts2/jquery.datatables.struts2.js</jsSourceFile>
<!--
<jsSourceFile>plugins/jquery.jqGrid.js</jsSourceFile>
<jsSourceFile>plugins/grid.grouping.js</jsSourceFile>
<jsSourceFile>plugins/grid.subgrid.js</jsSourceFile>
<jsSourceFile>plugins/grid.inlinedit.js</jsSourceFile>
<jsSourceFile>plugins/grid.formedit.js</jsSourceFile>
<jsSourceFile>plugins/grid.celledit.js</jsSourceFile>
<jsSourceFile>plugins/grid.filter.js</jsSourceFile>
<jsSourceFile>plugins/grid.addons.js</jsSourceFile>
-->
</jsSourceFiles>
</configuration>
<goals>
<goal>minify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<dependencies>

<!-- Core -->

<dependency>
<groupId>com.jgeppert.struts2.jquery</groupId>
<artifactId>struts2-jquery-plugin</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>taglibs</groupId>
<artifactId>standard</artifactId>
<version>1.1.2</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.1.2</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts-annotations</artifactId>
<version>1.0.6</version>
<optional>true</optional>
</dependency>

<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>${struts2.version}</version>
<type>jar</type>
<scope>compile</scope>
</dependency>

<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.5</version>
<scope>compile</scope>
</dependency>
</dependencies>

</project>
3 changes: 3 additions & 0 deletions struts2-jquery-datatables-plugin/src/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Class-Path:

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Class-Path:

Loading