|
1038 | 1038 | <!-- Required for testing LDAP integration --> |
1039 | 1039 | <apacheds.version>2.0.0.AM26</apacheds.version> |
1040 | 1040 | <ldap-api.version>2.0.0</ldap-api.version> |
| 1041 | + <webjars-dir>${project.build.directory}/META-INF/resources/webjars</webjars-dir> |
1041 | 1042 | </properties> |
1042 | 1043 | <!-- Sorted by groups of dependencies then groupId and artifactId --> |
1043 | 1044 | <dependencyManagement> |
|
2749 | 2750 | </execution> |
2750 | 2751 | </executions> |
2751 | 2752 | </plugin> |
| 2753 | + <plugin> |
| 2754 | + <groupId>org.apache.maven.plugins</groupId> |
| 2755 | + <artifactId>maven-dependency-plugin</artifactId> |
| 2756 | + <executions> |
| 2757 | + <execution> |
| 2758 | + <id>unpack</id> |
| 2759 | + <goals> |
| 2760 | + <goal>unpack</goal> |
| 2761 | + </goals> |
| 2762 | + <phase>pre-site</phase> |
| 2763 | + <configuration> |
| 2764 | + <artifactItems> |
| 2765 | + <artifactItem> |
| 2766 | + <groupId>org.webjars</groupId> |
| 2767 | + <artifactId>bootstrap</artifactId> |
| 2768 | + <version>2.3.2</version> |
| 2769 | + <type>jar</type> |
| 2770 | + <overWrite>true</overWrite> |
| 2771 | + <includes>**/css/bootstrap-responsive.min.css</includes> |
| 2772 | + </artifactItem> |
| 2773 | + <artifactItem> |
| 2774 | + <groupId>org.webjars</groupId> |
| 2775 | + <artifactId>highlightjs</artifactId> |
| 2776 | + <version>8.7</version> |
| 2777 | + <type>jar</type> |
| 2778 | + <overWrite>true</overWrite> |
| 2779 | + <includes>**/styles/github.min.css, |
| 2780 | + **/highlight.min.js,</includes> |
| 2781 | + </artifactItem> |
| 2782 | + <artifactItem> |
| 2783 | + <groupId>org.webjars</groupId> |
| 2784 | + <artifactId>font-awesome</artifactId> |
| 2785 | + <version>4.7.0</version> |
| 2786 | + <type>jar</type> |
| 2787 | + <overWrite>true</overWrite> |
| 2788 | + <includes>**/css/font-awesome.css, |
| 2789 | + **/fonts/fontawesome-webfont.eot, |
| 2790 | + **/fonts/fontawesome-webfont.svg, |
| 2791 | + **/fonts/fontawesome-webfont.ttf, |
| 2792 | + **/fonts/fontawesome-webfont.woff, |
| 2793 | + **/fonts/fontawesome-webfont.woff2,</includes> |
| 2794 | + </artifactItem> |
| 2795 | + <artifactItem> |
| 2796 | + <groupId>org.webjars</groupId> |
| 2797 | + <artifactId>MathJax</artifactId> |
| 2798 | + <version>2.7.0</version> |
| 2799 | + <type>jar</type> |
| 2800 | + <overWrite>true</overWrite> |
| 2801 | + <includes>**/MathJax.js, |
| 2802 | + **/config/TeX-MML-AM_HTMLorMML.js, |
| 2803 | + **/jax/output/HTML-CSS/jax.js, |
| 2804 | + **/jax/output/HTML-CSS/imageFonts.js, |
| 2805 | + **/jax/output/HTML-CSS/fonts/TeX/fontdata.js, |
| 2806 | + **/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js, |
| 2807 | + **/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js, |
| 2808 | + **/extensions/MathMenu.js, |
| 2809 | + **/fonts/HTML-CSS/TeX/woff/MathJax_Main-Regular.woff, |
| 2810 | + **/fonts/HTML-CSS/TeX/woff/MathJax_Main-Italic.woff, |
| 2811 | + **/fonts/HTML-CSS/TeX/woff/MathJax_Math-Italic.woff, |
| 2812 | + **/fonts/HTML-CSS/TeX/woff/MathJax_Size1-Regular.woff, |
| 2813 | + **/fonts/HTML-CSS/TeX/woff/MathJax_Size3-Regular.woff, |
| 2814 | + **/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Italic.woff, |
| 2815 | + **/fonts/HTML-CSS/TeX/otf/MathJax_Main-Regular.otf, |
| 2816 | + **/fonts/HTML-CSS/TeX/otf/MathJax_Main-Italic.otf, |
| 2817 | + **/fonts/HTML-CSS/TeX/otf/MathJax_Math-Italic.otf, |
| 2818 | + **/fonts/HTML-CSS/TeX/otf/MathJax_Size1-Regular.otf, |
| 2819 | + **/fonts/HTML-CSS/TeX/otf/MathJax_Size3-Regular.otf, |
| 2820 | + **/fonts/HTML-CSS/TeX/otf/MathJax_SansSerif-Italic.otf,</includes> |
| 2821 | + </artifactItem> |
| 2822 | + </artifactItems> |
| 2823 | + <!-- TODO paksyd: Check if this is bundled in our assembly tarballs! --> |
| 2824 | + <outputDirectory>${project.build.directory}</outputDirectory> |
| 2825 | + </configuration> |
| 2826 | + </execution> |
| 2827 | + </executions> |
| 2828 | + </plugin> |
2752 | 2829 | <!-- Special configuration for spotbugs just in the parent so |
2753 | 2830 | the filter file location can be more general (see definition in pluginManagement) --> |
2754 | 2831 | <plugin> |
|
2802 | 2879 | <docVersion>${project.version}</docVersion> |
2803 | 2880 | <imagesdir>images</imagesdir> |
2804 | 2881 | <source-highlighter>coderay</source-highlighter> |
| 2882 | + <iconfont-remote>false</iconfont-remote> |
| 2883 | + <stylesdir>css</stylesdir> |
2805 | 2884 | </attributes> |
2806 | 2885 | </configuration> |
2807 | 2886 | <dependencies> |
|
2910 | 2989 | </target> |
2911 | 2990 | </configuration> |
2912 | 2991 | </execution> |
| 2992 | + <!-- Copy static CSS and JS files for the website. --> |
| 2993 | + <execution> |
| 2994 | + <id>copy-css-js-to-site</id> |
| 2995 | + <goals> |
| 2996 | + <goal>run</goal> |
| 2997 | + </goals> |
| 2998 | + <phase>pre-site</phase> |
| 2999 | + <configuration> |
| 3000 | + <target> |
| 3001 | + <copy flatten="true" todir="${project.build.directory}/site/css"> |
| 3002 | + <fileset dir="${webjars-dir}/bootstrap/2.3.2/css"> |
| 3003 | + <include name="bootstrap-responsive.min.css"/> |
| 3004 | + </fileset> |
| 3005 | + <fileset dir="${webjars-dir}/highlightjs/8.7/styles"> |
| 3006 | + <include name="github.min.css"/> |
| 3007 | + </fileset> |
| 3008 | + <fileset dir="${webjars-dir}/font-awesome/4.7.0/css"> |
| 3009 | + <include name="font-awesome.css"/> |
| 3010 | + </fileset> |
| 3011 | + </copy> |
| 3012 | + <copy flatten="true" todir="${project.build.directory}/site/js"> |
| 3013 | + <fileset dir="${webjars-dir}/highlightjs/8.7/"> |
| 3014 | + <include name="highlight.min.js"/> |
| 3015 | + </fileset> |
| 3016 | + <fileset dir="${webjars-dir}/MathJax/2.7.0"> |
| 3017 | + <include name="MathJax.js"/> |
| 3018 | + </fileset> |
| 3019 | + </copy> |
| 3020 | + <copy flatten="false" todir="${project.build.directory}/site/js"> |
| 3021 | + <fileset dir="${webjars-dir}/MathJax/2.7.0"> |
| 3022 | + <include name="config/TeX-MML-AM_HTMLorMML.js"/> |
| 3023 | + <include name="jax/output/HTML-CSS/jax.js"/> |
| 3024 | + <include name="jax/output/HTML-CSS/imageFonts.js"/> |
| 3025 | + <include name="jax/output/HTML-CSS/fonts/TeX/fontdata.js"/> |
| 3026 | + <include name="jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js"/> |
| 3027 | + <include name="jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js"/> |
| 3028 | + <include name="extensions/MathMenu.js"/> |
| 3029 | + <include name="fonts/HTML-CSS/TeX/woff/MathJax_*.woff"/> |
| 3030 | + <include name="fonts/HTML-CSS/TeX/otf/MathJax_*.otf"/> |
| 3031 | + </fileset> |
| 3032 | + </copy> |
| 3033 | + <copy flatten="true" todir="${project.build.directory}/site/fonts"> |
| 3034 | + <fileset dir="${webjars-dir}/font-awesome/4.7.0/fonts"> |
| 3035 | + <include name="fontawesome-webfont.*"/> |
| 3036 | + </fileset> |
| 3037 | + </copy> |
| 3038 | + </target> |
| 3039 | + </configuration> |
| 3040 | + </execution> |
2913 | 3041 | </executions> |
2914 | 3042 | </plugin> |
2915 | 3043 | <plugin> |
|
0 commit comments