forked from uPortal-Project/uPortal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UP-3835: Adding DB Module, Updating all uportal packaged modules and …
…portlets that require the db drivers to leverage the new module
- Loading branch information
1 parent
7b88946
commit 0883eeb
Showing
12 changed files
with
192 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
|
||
<parent> | ||
<groupId>org.jasig.portal</groupId> | ||
<artifactId>uportal-parent</artifactId> | ||
<version>4.1.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
<artifactId>uportal-db</artifactId> | ||
<packaging>pom</packaging> | ||
|
||
<name>uPortal DB</name> | ||
<description> | ||
The goal of this module is to be able to deploy all the db driver jars to all environments | ||
instead of needing to change parent pom properties and rebuilding for each environment. | ||
The same effect used to be accomplished by manually updating all related poms with hardcoded | ||
dependencies, this module allows for just one place to be updated and the change propogates to all the | ||
packaged modules/portlets. | ||
</description> | ||
|
||
<properties> | ||
<hsqldb.version>2.2.9</hsqldb.version> | ||
<!-- <postgre.version>8.3-603.jdbc3</postgre.version> --> | ||
</properties> | ||
|
||
<dependencyManagement> | ||
<dependencies> | ||
<!-- Add any db drivers that are applicable to any of your environments --> | ||
<dependency> | ||
<groupId>org.hsqldb</groupId> | ||
<artifactId>hsqldb</artifactId> | ||
<version>${hsqldb.version}</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
<!-- The following db drivers should be uncommented based on all deployed to environments' db needs | ||
ex. Dev work is done with hsql but the test environment and prod are using postgres, uncomment the postgres | ||
driver dependency with hsql to include them with the other deployed driver jars --> | ||
<!-- | ||
<dependency> | ||
<groupId>postgresql</groupId> | ||
<artifactId>postgresql</artifactId> | ||
<version>${postgre.version}</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>another db group id</groupId> | ||
<artifactId>another db artifact id</artifactId> | ||
<version>another db version</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
... | ||
... | ||
--> | ||
</dependencies> | ||
</dependencyManagement> | ||
|
||
<dependencies> | ||
<!-- Add any db drivers that are applicable to any of your environments --> | ||
<dependency> | ||
<groupId>org.hsqldb</groupId> | ||
<artifactId>hsqldb</artifactId> | ||
<version>${hsqldb.version}</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
<!-- The following db drivers should be uncommented based on all deployed to environments' db needs | ||
ex. Dev work is done with hsql but the test environment and prod are using postgres, uncomment the postgres | ||
driver dependency with hsql to include them with the other deployed driver jars --> | ||
<!-- | ||
<dependency> | ||
<groupId>postgresql</groupId> | ||
<artifactId>postgresql</artifactId> | ||
<version>${postgre.version}</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>another db group id</groupId> | ||
<artifactId>another db artifact id</artifactId> | ||
<version>another db version</version> | ||
<scope>compile</scope> | ||
</dependency> | ||
... | ||
... | ||
--> | ||
</dependencies> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters