Simplify the release profile by removing redundant modules.
diff --git a/pom.xml b/pom.xml
index 6d11945..f3def53 100644
--- a/pom.xml
+++ b/pom.xml
@@ -721,20 +721,7 @@
 
     <profile>
       <id>release</id>
-      <modules> <!-- Do not change the ordering of the 4 blocks below. -->
-
-        <!-- 1. Modules that do not depend on "legacy" codes. -->
-        <module>commons-math-core</module>
-        <module>commons-math-neuralnet</module>
-        <module>commons-math-transform</module>
-
-        <!-- 2. Modularized (but not refactored) legacy functionalities. -->
-        <module>commons-math-legacy-exception</module>
-        <module>commons-math-legacy-core</module>
-
-        <!-- 3. Non-modularized legacy functionalities. -->
-        <module>commons-math-legacy</module>
-
+      <modules>
         <module>dist-archive</module>
       </modules>
     </profile>