DERBY-7040: Add hard module dependencies to the maven poms which we publish at the end of a release; commit derby-7040-01-aa-addDependenciesToPOMs.diff.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1856701 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/maven2/client/pom.xml b/maven2/client/pom.xml
index ef56037..36c7a36 100644
--- a/maven2/client/pom.xml
+++ b/maven2/client/pom.xml
@@ -33,6 +33,15 @@
   <description>The Derby client JDBC driver, used to connect to a Derby server over a network connection.</description>
   <url>http://db.apache.org/derby/</url>
 
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.derby</groupId>
+      <artifactId>derbyshared</artifactId>
+      <version>ALPHA_VERSION</version>
+      <optional>false</optional>
+    </dependency>
+  </dependencies>
+
   <build>
     <plugins>
         <plugin>
diff --git a/maven2/engine/pom.xml b/maven2/engine/pom.xml
index 46ab00d..3687b00 100644
--- a/maven2/engine/pom.xml
+++ b/maven2/engine/pom.xml
@@ -33,6 +33,15 @@
   <description>Contains the core Apache Derby database engine, which also includes the embedded JDBC driver.</description>
   <url>http://db.apache.org/derby/</url>
 
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.derby</groupId>
+      <artifactId>derbyshared</artifactId>
+      <version>ALPHA_VERSION</version>
+      <optional>false</optional>
+    </dependency>
+  </dependencies>
+
   <build>
     <plugins>
         <plugin>
diff --git a/maven2/net/pom.xml b/maven2/net/pom.xml
index 28349ac..780d0f9 100644
--- a/maven2/net/pom.xml
+++ b/maven2/net/pom.xml
@@ -40,6 +40,18 @@
       <version>ALPHA_VERSION</version>
       <optional>false</optional>
     </dependency>
+    <dependency>
+      <groupId>org.apache.derby</groupId>
+      <artifactId>derbyshared</artifactId>
+      <version>ALPHA_VERSION</version>
+      <optional>false</optional>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.derby</groupId>
+      <artifactId>derbytools</artifactId>
+      <version>ALPHA_VERSION</version>
+      <optional>false</optional>
+    </dependency>
   </dependencies>
 
   <build>
diff --git a/maven2/optionaltools/pom.xml b/maven2/optionaltools/pom.xml
index 1ebe63e..0fe0327 100644
--- a/maven2/optionaltools/pom.xml
+++ b/maven2/optionaltools/pom.xml
@@ -33,6 +33,27 @@
   <description>Contains optional tools for use with Derby.</description>
   <url>http://db.apache.org/derby/</url>
 
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.derby</groupId>
+      <artifactId>derby</artifactId>
+      <version>ALPHA_VERSION</version>
+      <optional>false</optional>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.derby</groupId>
+      <artifactId>derbyshared</artifactId>
+      <version>ALPHA_VERSION</version>
+      <optional>false</optional>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.derby</groupId>
+      <artifactId>derbytools</artifactId>
+      <version>ALPHA_VERSION</version>
+      <optional>false</optional>
+    </dependency>
+  </dependencies>
+
   <build>
     <plugins>
         <plugin>
diff --git a/maven2/tools/pom.xml b/maven2/tools/pom.xml
index 244fdcf..a5b6e20 100644
--- a/maven2/tools/pom.xml
+++ b/maven2/tools/pom.xml
@@ -33,6 +33,15 @@
   <description>Contains Apache Derby tools like ij, sysinfo, and dblook.</description>
   <url>http://db.apache.org/derby/</url>
 
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.derby</groupId>
+      <artifactId>derbyshared</artifactId>
+      <version>ALPHA_VERSION</version>
+      <optional>false</optional>
+    </dependency>
+  </dependencies>
+
   <build>
     <plugins>
         <plugin>