Commit d112b7cd authored by Ate Douma's avatar Ate Douma

ESSENTIALS-715: major cleanup of unneeded, including some definitely unwanted,...

ESSENTIALS-715: major cleanup of unneeded, including some definitely unwanted, Essentials dependencies - this also cuts down the size of the dashboard.war by ~50Mb!
parent 68349df3
......@@ -31,10 +31,8 @@
<artifactId>hippo-essentials-components-cms</artifactId>
<properties>
<quartz.version>1.8.5</quartz.version>
<hippo-utilities-repository.version>1.01.02</hippo-utilities-repository.version>
<jsoup.version>1.7.1</jsoup.version>
<commons-lang.version>2.6</commons-lang.version>
<rome.version>0.9</rome.version>
</properties>
<dependencies>
......@@ -44,48 +42,21 @@
<artifactId>jsoup</artifactId>
<version>${jsoup.version}</version>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-connector</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-modules</artifactId>
<version>${hippo.repository.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7.hst</groupId>
<artifactId>hst-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7.hst</groupId>
<artifactId>hst-commons</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
<version>${quartz.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-engine</artifactId>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>${commons-lang.version}</version>
<groupId>rome</groupId>
<artifactId>rome</artifactId>
<version>${rome.version}</version>
<scope>provided</scope>
</dependency>
......
......@@ -34,12 +34,6 @@
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-connector</artifactId>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-modules</artifactId>
<version>${hippo.repository.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7.hst</groupId>
<artifactId>hst-client</artifactId>
......@@ -50,11 +44,6 @@
<artifactId>hst-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7.hst.components</groupId>
<artifactId>hst-jaxrs</artifactId>
......@@ -71,6 +60,12 @@
<version>1.3.9</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
......
......@@ -29,9 +29,6 @@
<description>Hippo Essentials Components</description>
<artifactId>hippo-essentials-components</artifactId>
<packaging>pom</packaging>
<properties>
<junit.version>4.11</junit.version>
</properties>
<modules>
<module>cms</module>
......
......@@ -38,13 +38,6 @@
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-essentials-plugin-sdk-implementation</artifactId>
<version>${project.version}</version>
<type>jar</type>
<exclusions>
<exclusion>
<artifactId>hippo-cms-editor-common</artifactId>
<groupId>org.onehippo.cms7</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
......@@ -181,19 +174,6 @@
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-connector</artifactId>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-provider</artifactId>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-plugin-selections-hst-client</artifactId>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
......@@ -224,24 +204,5 @@
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
<dependency>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>jaxen</groupId>
<artifactId>jaxen</artifactId>
<version>1.1.6</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
......@@ -54,12 +54,6 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>${jaxb-api.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
......@@ -67,7 +61,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven.plugin.dependency.version}</version>
<executions>
<execution>
<id>copy-hippo-theme-dependencies</id>
......@@ -86,7 +79,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>${maven.plugin.exec.version}</version>
<executions>
<execution>
<id>npm-install</id>
......
......@@ -39,19 +39,14 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-modules</artifactId>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<scope>provided</scope>
</dependency>
<!-- TEST -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
......
......@@ -36,8 +36,8 @@
<artifactId>hippo-services-contenttype</artifactId>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-services</artifactId>
<groupId>com.wordnik</groupId>
<artifactId>swagger-annotations_2.10</artifactId>
</dependency>
<dependency>
<groupId>com.wordnik</groupId>
......@@ -46,7 +46,6 @@
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<version>2.0.1</version>
</dependency>
<dependency>
<groupId>javax.inject</groupId>
......@@ -84,55 +83,6 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-modules</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-cms-api</artifactId>
<exclusions>
<exclusion>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket</artifactId>
</exclusion>
<exclusion>
<artifactId>wicket-extensions</artifactId>
<groupId>org.apache.wicket</groupId>
</exclusion>
<exclusion>
<artifactId>xercesImpl</artifactId>
<groupId>xerces</groupId>
</exclusion>
<exclusion>
<artifactId>wicket-datetime</artifactId>
<groupId>org.apache.wicket</groupId>
</exclusion>
<exclusion>
<artifactId>wicket-extjs</artifactId>
<groupId>org.wicketstuff</groupId>
</exclusion>
<exclusion>
<artifactId>wicket-core</artifactId>
<groupId>org.apache.wicket</groupId>
</exclusion>
<exclusion>
<artifactId>wicketstuff-input-events</artifactId>
<groupId>org.wicketstuff</groupId>
</exclusion>
<exclusion>
<artifactId>yui-2.xx-sources</artifactId>
<groupId>org.onehippo.yui</groupId>
</exclusion>
<exclusion>
<artifactId>htmldiff</artifactId>
<groupId>org.hippoecm</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
......@@ -144,20 +94,11 @@
<artifactId>org.eclipse.jdt.core</artifactId>
<exclusions>
<exclusion>
<artifactId>org.eclipse.equinox.app</artifactId>
<groupId>org.eclipse.equinox</groupId>
<artifactId>org.eclipse.equinox.app</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
......@@ -167,72 +108,29 @@
<artifactId>commons-io</artifactId>
</dependency>
<!-- TEST -->
<dependency>
<artifactId>tika-parsers</artifactId>
<groupId>org.apache.tika</groupId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7.hst</groupId>
<artifactId>hst-content-beans</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7.hst</groupId>
<artifactId>hst-api</artifactId>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-provider</artifactId>
<scope>test</scope>
</dependency>
<!-- LOGGING-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-cms-editor-common</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-bundle-compatible</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<version>${jackson.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
</dependency>
</dependencies>
<build>
......
......@@ -32,15 +32,9 @@
<properties>
<javax.inject.version>1</javax.inject.version>
<junit.version>4.11</junit.version>
<maven-model.version>3.2.1</maven-model.version>
<commons-io.version>2.3</commons-io.version>
<tika-parsers.version>1.3</tika-parsers.version>
<core.jdt.version>3.10.0</core.jdt.version>
<commons-lang.version>2.6</commons-lang.version>
<jaxb-impl.version>2.2.6</jaxb-impl.version>
<maven-compiler-plugin.version>2.5.1</maven-compiler-plugin.version>
<geronimo-jta_1.1_spec.version>1.1.1</geronimo-jta_1.1_spec.version>
<mustache.version>0.8.16</mustache.version>
<swagger-jaxrs_2.10.version>1.3.0</swagger-jaxrs_2.10.version>
</properties>
......@@ -52,22 +46,6 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-connector</artifactId>
<version>${hippo.repository.version}</version>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-services-contenttype</artifactId>
<version>${hippo.services.contenttype.version}</version>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-services</artifactId>
<version>${hippo.services.contenttype.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
......@@ -89,15 +67,9 @@
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-modules</artifactId>
<version>${hippo.repository.version}</version>
<exclusions>
<exclusion>
<artifactId>tika-parsers</artifactId>
<groupId>org.apache.tika</groupId>
</exclusion>
</exclusions>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>javax.inject</groupId>
......@@ -119,112 +91,41 @@
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>com.wordnik</groupId>
<artifactId>swagger-annotations_2.10</artifactId>
<version>${swagger-jaxrs_2.10.version}</version>
</dependency>
<dependency>
<groupId>com.wordnik</groupId>
<artifactId>swagger-jaxrs_2.10</artifactId>
<version>${swagger-jaxrs_2.10.version}</version>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-scala_2.10</artifactId>
</exclusion>
<exclusion>
<groupId>org.scala-lang</groupId>
<artifactId>scalap</artifactId>
</exclusion>
<exclusion>
<groupId>javax.ws.rs</groupId>
<artifactId>jsr311-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>${commons-lang.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jdt</groupId>
<artifactId>org.eclipse.jdt.core</artifactId>
<version>${core.jdt.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>${jaxb-impl.version}</version>
</dependency>
<!--
//############################################
// TEST
//############################################
-->
<dependency>
<artifactId>tika-parsers</artifactId>
<groupId>org.apache.tika</groupId>
<version>${tika-parsers.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
<version>${junit.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-bundle-compatible</artifactId>
<version>${cxf.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<version>${jackson.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
<version>${jackson.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7.hst</groupId>
<artifactId>hst-content-beans</artifactId>
<version>${hippo.hst.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7.hst</groupId>
<artifactId>hst-api</artifactId>
<version>${hippo.hst.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<inherited>true</inherited>
<configuration>
<target>1.8</target>
<source>1.8</source>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<repositories>
<repository>
<id>hippo</id>
<name>Hippo maven 2 repository.</name>
<url>https://maven.onehippo.com/maven2/</url>
</repository>
</repositories>
</project>
\ No newline at end of file
......@@ -37,32 +37,6 @@
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-essentials-plugin-sdk-implementation</artifactId>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-essentials-plugin-sdk-implementation</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-connector</artifactId>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-modules</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<defaultGoal>package</defaultGoal>
......
......@@ -30,14 +30,6 @@
<artifactId>hippo-essentials-plugin-bean-writer</artifactId>
<dependencies>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-services-contenttype</artifactId>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-services</artifactId>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-essentials-plugin-sdk-api</artifactId>
......@@ -46,36 +38,6 @@
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-essentials-plugin-sdk-implementation</artifactId>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-essentials-plugin-sdk-implementation</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-connector</artifactId>
</dependency>
<dependency>
<groupId>org.onehippo.cms7.hst</groupId>
<artifactId>hst-client</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7.hst</groupId>
<artifactId>hst-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<defaultGoal>package</defaultGoal>
......
......@@ -38,15 +38,15 @@
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-essentials-plugin-sdk-implementation</artifactId>
</dependency>
<!-- TEST -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<scope>provided</scope>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<scope>provided</scope>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
......@@ -54,36 +54,11 @@
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-modules</artifactId>
<version>${hippo.repository.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<artifactId>hippo-repository-provider</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-connector</artifactId>
</dependency>
<dependency>
<groupId>org.onehippo.cms7.hst</groupId>
<artifactId>hst-client</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7.hst</groupId>
<artifactId>hst-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<defaultGoal>package</defaultGoal>
......
......@@ -43,21 +43,10 @@
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-essentials-plugin-sdk-implementation</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<!-- TEST -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-repository-connector</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
......
......@@ -37,32 +37,6 @@
<groupId>org.onehippo.cms7</groupId>
<artifactId>hippo-essentials-plugin-sdk-implementation</artifactId>
</dependency>
<dependency>