diff --git a/pom.xml b/pom.xml index 26d33517..9f2a109d 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ org.orderofthebee.support-tools support-tools-parent - 1.0.0.0-SNAPSHOT + 1.0.0.0 pom OOTBee Support Tools - Parent @@ -207,6 +207,26 @@ + + de.acosix.maven + jshint-maven-plugin + 1.0.0 + + ${project.basedir}/src/main + + amp/**/*.js + + js-checkstyle.xml + + + + + jshint + + + + + org.sonatype.plugins nexus-staging-maven-plugin @@ -218,6 +238,68 @@ true + + + org.eclipse.m2e + lifecycle-mapping + + + + + + org.alfresco.maven.plugin + alfresco-maven-plugin + [0.0,) + + set-version + refresh-share + refresh-repo + refresh + + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + [1.10,) + + add-test-resource + + + + + true + true + + + + + + de.acosix.maven + jshint-maven-plugin + [1.0.0,) + + jshint + + + + + true + true + + + + + + + diff --git a/repository/pom.xml b/repository/pom.xml index 44acf830..39271624 100644 --- a/repository/pom.xml +++ b/repository/pom.xml @@ -5,7 +5,7 @@ org.orderofthebee.support-tools support-tools-parent - 1.0.0.0-SNAPSHOT + 1.0.0.0 support-tools-repo @@ -94,12 +94,7 @@ de.acosix.maven jshint-maven-plugin - 1.0.0 - ${project.basedir}/src/main - - amp/**/*.js - amp/config/alfresco/templates/webscripts/**/*.get.js amp/config/alfresco/templates/webscripts/**/*.delete.js @@ -113,7 +108,6 @@ amp/web/ootbee-support-tools/js/dataTables.buttons.min.js amp/web/ootbee-support-tools/js/dataTables.bootstrap4.min.js - js-checkstyle.xml diff --git a/share/pom.xml b/share/pom.xml index 98e36cb3..d5620fa8 100644 --- a/share/pom.xml +++ b/share/pom.xml @@ -5,7 +5,7 @@ org.orderofthebee.support-tools support-tools-parent - 1.0.0.0-SNAPSHOT + 1.0.0.0 support-tools-share @@ -127,27 +127,37 @@ de.acosix.maven jshint-maven-plugin - 1.0.0 - - ${project.basedir}/src/main - - amp/**/*.js - - js-checkstyle.xml - + + + + net.alchim31.maven + yuicompressor-maven-plugin + compress-js + process-resources - jshint + compress + + + **/webscripts/** + **/webscripts/** + **/site-webscripts/** + **/*.lib.js + **/*.css + + web/ootbee-support-tools/**/*.js + web/ootbee-support-tools/**/*.css + + src/main/amp + ${project.build.directory}/amp + true + false + - - - net.alchim31.maven - yuicompressor-maven-plugin -