Skip to content

Commit

Permalink
Added DataTables dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
litvinovg committed Apr 30, 2024
1 parent d0aaaa7 commit 9aab495
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,38 @@
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.mvnpm</groupId>
<artifactId>datatables.net</artifactId>
<type>jar</type>
<includes>
META-INF/resources/_static/datatables.net/*/js/*.js
</includes>
<fileMappers>
<org.codehaus.plexus.components.io.filemappers.RegExpFileMapper>
<pattern>^META-INF/resources/_static/datatables.net/[^/]+/</pattern>
<replacement>./</replacement>
</org.codehaus.plexus.components.io.filemappers.RegExpFileMapper>
</fileMappers>
<outputDirectory>target/${project.artifactId}-${project.version}/webjars/datatables/</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.webjars</groupId>
<artifactId>jquery-ui</artifactId>
<type>jar</type>
<includes>
META-INF/resources/webjars/jquery-ui/*/*.css,
META-INF/resources/webjars/jquery-ui/*/images/*.png,
META-INF/resources/webjars/jquery-ui/*/*.js
</includes>
<fileMappers>
<org.codehaus.plexus.components.io.filemappers.RegExpFileMapper>
<pattern>^META-INF/resources/webjars/jquery-ui/[^/]+/</pattern>
<replacement>./</replacement>
</org.codehaus.plexus.components.io.filemappers.RegExpFileMapper>
</fileMappers>
<outputDirectory>target/${project.artifactId}-${project.version}/webjars/jquery-ui/</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.webjars</groupId>
<artifactId>jquery</artifactId>
Expand Down Expand Up @@ -91,6 +123,11 @@
</build>

<dependencies>
<dependency>
<groupId>org.mvnpm</groupId>
<artifactId>datatables.net</artifactId>
<version>2.0.5</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>jquery</artifactId>
Expand Down

0 comments on commit 9aab495

Please sign in to comment.