Skip to content

Commit

Permalink
SAK-18211 Move common dependencies to <dependencyManagement> section,…
Browse files Browse the repository at this point in the history
… remove <version> tags that aren't needed, remove duplicate dependencies, remove pre-kernel dependencies (comments) and correct a little formatting

git-svn-id: https://source.sakaiproject.org/svn/portal/trunk@74739 66ffb92e-73f9-0310-93c1-f5514f145a0a
  • Loading branch information
buckett committed Mar 17, 2010
1 parent 6e5ce62 commit d69e484
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 125 deletions.
21 changes: 13 additions & 8 deletions portal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,32 +38,37 @@
<dependency>
<groupId>org.sakaiproject</groupId>
<artifactId>sakai-portal-impl</artifactId>
<version>2.8-SNAPSHOT</version>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.sakaiproject</groupId>
<artifactId>sakai-portal-util</artifactId>
<version>2.8-SNAPSHOT</version>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.sakaiproject</groupId>
<artifactId>sakai-portal-render-engine-impl</artifactId>
<version>2.8-SNAPSHOT</version>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.sakaiproject</groupId>
<artifactId>sakai-portal-render-impl</artifactId>
<version>2.8-SNAPSHOT</version>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.sakaiproject</groupId>
<artifactId>sakai-portal-service-impl</artifactId>
<version>2.8-SNAPSHOT</version>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.6.3</version>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.6.3</version>
</dependency>
<dependency>
<groupId>javax.portlet</groupId>
<artifactId>portlet-api</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
8 changes: 0 additions & 8 deletions portal/portal-api/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,10 @@
<groupId>org.sakaiproject.kernel</groupId>
<artifactId>sakai-component-manager</artifactId>
</dependency>
<!--org.sakaiprojectsakai-site-api${sakai.version}-->
<!--org.sakaiprojectsakai-component${sakai.version}-->
<!--org.sakaiprojectsakai-component-api${sakai.version}-->
<!--org.sakaiprojectsakai-tool-api${sakai.version}-->
<!--javax.servletservlet-api${sakai.servletapi.version}-->
<dependency>
<groupId>javax.portlet</groupId>
<artifactId>portlet-api</artifactId>
<version>1.0</version>
</dependency>
<!--org.sakaiprojectsakai-site-api${sakai.version}-->
<!--org.sakaiprojectsakai-util-api${sakai.version}-->
</dependencies>
<build>
<resources>
Expand Down
3 changes: 2 additions & 1 deletion portal/portal-charon/charon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<version>2.8-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<name>portal</name>
<name>Sakai Portal Webapp</name>
<groupId>org.sakaiproject</groupId>
<artifactId>portal</artifactId>
<organization>
Expand All @@ -25,5 +25,6 @@
<build>
<resources/>
<sourceDirectory>src/java</sourceDirectory>
<finalName>portal</finalName>
</build>
</project>
3 changes: 0 additions & 3 deletions portal/portal-impl/impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
<dependency>
<groupId>javax.portlet</groupId>
<artifactId>portlet-api</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.sakaiproject</groupId>
Expand Down Expand Up @@ -78,12 +77,10 @@
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.1</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.9</version>
</dependency>
<dependency>
<groupId>jtidy</groupId>
Expand Down
22 changes: 0 additions & 22 deletions portal/portal-render-api/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,39 +31,17 @@
<groupId>org.sakaiproject.kernel</groupId>
<artifactId>sakai-component-manager</artifactId>
</dependency>
<!--
This has been relocated to sakai-kernel-util
org.sakaiproject.kernel.utilsakai-tool-util-->
<!--
This has been relocated to sakai-kernel-util
org.sakaiproject.kernel.utilsakai-user-util-->
<!--
This has been relocated to sakai-kernel-util
org.sakaiproject.kernel.utilsakai-util-->
<dependency>
<groupId>org.sakaiproject</groupId>
<artifactId>sakai-portal-api</artifactId>
</dependency>
<!--org.sakaiprojectsakai-tool-api${sakai.version}-->
<!--org.sakaiprojectsakai-component-api${sakai.version}-->
<!--org.sakaiprojectsakai-component${sakai.version}-->
<!--org.sakaiprojectsakai-site-api${sakai.version}-->
<!--org.sakaiprojectsakai-entity-api${sakai.version}-->
<!--org.sakaiprojectsakai-authz-api${sakai.version}-->
<!--org.sakaiprojectsakai-user-api${sakai.version}-->
<!--org.sakaiprojectsakai-util-api${sakai.version}-->
<!--org.sakaiprojectsakai-tool-util${sakai.version}-->
<!--org.sakaiprojectsakai-util${sakai.version}-->
<dependency>
<groupId>org.sakaiproject</groupId>
<artifactId>sakai-portal-util</artifactId>
</dependency>
<!--org.sakaiprojectsakai-user-util${sakai.version}-->
<!--javax.servletservlet-api${sakai.servletapi.version}-->
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
</dependency>
</dependencies>
<build>
Expand Down
13 changes: 0 additions & 13 deletions portal/portal-render-engine-impl/impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
</organization>
<inceptionYear>2003</inceptionYear>
<packaging>jar</packaging>
<properties>
<deploy.target/>
</properties>
<dependencies>
<dependency>
<groupId>org.sakaiproject.kernel</groupId>
Expand All @@ -36,9 +33,6 @@
<groupId>org.sakaiproject.kernel</groupId>
<artifactId>sakai-component-manager</artifactId>
</dependency>
<!--
This has been relocated to sakai-kernel-util
org.sakaiproject.kernel.utilsakai-util-->
<dependency>
<groupId>org.sakaiproject</groupId>
<artifactId>sakai-portal-api</artifactId>
Expand All @@ -52,11 +46,6 @@
<groupId>org.sakaiproject</groupId>
<artifactId>sakai-portal-render-api</artifactId>
</dependency>
<!--org.sakaiprojectsakai-component-api${sakai.version}-->
<!--org.sakaiprojectsakai-component${sakai.version}-->
<!--org.sakaiprojectsakai-util-api${sakai.version}-->
<!--org.sakaiprojectsakai-util${sakai.version}-->
<!--javax.servletservlet-api${sakai.servletapi.version}-->
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
Expand All @@ -69,12 +58,10 @@
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.1</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.9</version>
</dependency>
<dependency>
<groupId>jtidy</groupId>
Expand Down
17 changes: 4 additions & 13 deletions portal/portal-render-engine-impl/pack/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@
<dependency>
<groupId>org.sakaiproject.kernel</groupId>
<artifactId>sakai-component-manager</artifactId>
</dependency>
<dependency>
<groupId>org.sakaiproject</groupId>
<artifactId>sakai-portal-api</artifactId>
</dependency>
<dependency>
<groupId>org.sakaiproject</groupId>
<artifactId>sakai-portal-util</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.sakaiproject</groupId>
Expand All @@ -60,12 +51,13 @@
</dependency>
<dependency>
<groupId>org.sakaiproject</groupId>
<artifactId>sakai-portal-util</artifactId>
<scope>test</scope>
<artifactId>sakai-portal-render-api</artifactId>
</dependency>

<dependency>
<groupId>org.sakaiproject</groupId>
<artifactId>sakai-portal-render-api</artifactId>
<artifactId>sakai-portal-util</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>httpunit</groupId>
Expand All @@ -76,7 +68,6 @@
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
</dependency>
</dependencies>
<build>
Expand Down
21 changes: 0 additions & 21 deletions portal/portal-render-impl/impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@
<groupId>org.sakaiproject.kernel</groupId>
<artifactId>sakai-component-manager</artifactId>
</dependency>
<!--
This has been relocated to sakai-kernel-util
org.sakaiproject.kernel.utilsakai-tool-util-->
<!--
This has been relocated to sakai-kernel-util
org.sakaiproject.kernel.utilsakai-user-util-->
<!--
This has been relocated to sakai-kernel-util
org.sakaiproject.kernel.utilsakai-util-->
<dependency>
<groupId>org.apache.pluto</groupId>
<artifactId>pluto-container</artifactId>
Expand All @@ -58,7 +49,6 @@
<dependency>
<groupId>javax.portlet</groupId>
<artifactId>portlet-api</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
Expand All @@ -73,21 +63,10 @@
<groupId>org.sakaiproject</groupId>
<artifactId>sakai-portal-render-api</artifactId>
</dependency>
<!--org.sakaiprojectsakai-tool-api${sakai.version}-->
<!--org.sakaiprojectsakai-component-api${sakai.version}-->
<!--org.sakaiprojectsakai-site-api${sakai.version}-->
<!--org.sakaiprojectsakai-entity-api${sakai.version}-->
<!--org.sakaiprojectsakai-authz-api${sakai.version}-->
<!--org.sakaiprojectsakai-user-api${sakai.version}-->
<!--org.sakaiprojectsakai-util-api${sakai.version}-->
<!--org.sakaiprojectsakai-tool-util${sakai.version}-->
<!--org.sakaiprojectsakai-util${sakai.version}-->
<dependency>
<groupId>org.sakaiproject</groupId>
<artifactId>sakai-portal-util</artifactId>
</dependency>
<!--org.sakaiprojectsakai-user-util${sakai.version}-->
<!--javax.servletservlet-api${sakai.servletapi.version}-->
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
Expand Down
17 changes: 0 additions & 17 deletions portal/portal-service-impl/impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,14 @@
<groupId>org.sakaiproject.kernel</groupId>
<artifactId>sakai-component-manager</artifactId>
</dependency>
<!--
This has been relocated to sakai-kernel-util
org.sakaiproject.kernel.utilsakai-util-->
<dependency>
<groupId>org.sakaiproject</groupId>
<artifactId>sakai-portal-api</artifactId>
</dependency>
<!--org.sakaiprojectsakai-alias-api${sakai.version}-->
<!--org.sakaiprojectsakai-entity-api${sakai.version}-->
<!--org.sakaiprojectsakai-component-api${sakai.version}-->
<!--org.sakaiprojectsakai-component${sakai.version}-->
<!--org.sakaiprojectsakai-tool-api${sakai.version}-->
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
</dependency>
<!--javax.servletservlet-api${sakai.servletapi.version}-->
<dependency>
<groupId>org.apache.pluto</groupId>
<artifactId>pluto-container</artifactId>
Expand All @@ -67,14 +57,7 @@
<dependency>
<groupId>javax.portlet</groupId>
<artifactId>portlet-api</artifactId>
<version>1.0</version>
</dependency>
<!--org.sakaiprojectsakai-site-api${sakai.version}-->
<!--org.sakaiprojectsakai-util${sakai.version}-->
<!--org.sakaiprojectsakai-util-api${sakai.version}-->
<!--org.sakaiprojectsakai-entity-api${sakai.version}-->
<!--org.sakaiprojectsakai-authz-api${sakai.version}-->
<!--org.sakaiprojectsakai-user-api${sakai.version}-->
<dependency>
<groupId>castor</groupId>
<artifactId>castor</artifactId>
Expand Down
19 changes: 0 additions & 19 deletions portal/portal-util/util/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,33 +36,14 @@
<groupId>org.sakaiproject.kernel</groupId>
<artifactId>sakai-component-manager</artifactId>
</dependency>
<!--
This has been relocated to sakai-kernel-util
org.sakaiproject.kernel.utilsakai-tool-util-->
<!--
This has been relocated to sakai-kernel-util
org.sakaiproject.kernel.utilsakai-util-->
<!--org.sakaiprojectsakai-component-api${sakai.version}-->
<!--org.sakaiprojectsakai-email-api${sakai.version}-->
<!--org.sakaiprojectsakai-event-api${sakai.version}-->
<!--org.sakaiprojectsakai-tool-api${sakai.version}-->
<!--org.sakaiprojectsakai-user-api${sakai.version}-->
<!--org.sakaiprojectsakai-entity-api${sakai.version}-->
<!--org.sakaiprojectsakai-tool-util${sakai.version}-->
<!--org.sakaiprojectsakai-authz-api${sakai.version}-->
<!--org.sakaiprojectsakai-site-api${sakai.version}-->
<dependency>
<groupId>org.sakaiproject</groupId>
<artifactId>sakai-portal-api</artifactId>
</dependency>
<!--org.sakaiprojectsakai-util-api${sakai.version}-->
<!--org.sakaiprojectsakai-util${sakai.version}-->
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
</dependency>
<!--javax.servletservlet-api${sakai.servletapi.version}-->
</dependencies>
<build>
<resources>
Expand Down

0 comments on commit d69e484

Please sign in to comment.