Prepare release
authorMathieu Baudier <mbaudier@argeo.org>
Fri, 9 Mar 2012 17:55:22 +0000 (17:55 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Fri, 9 Mar 2012 17:55:22 +0000 (17:55 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@5205 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

pom.xml

diff --git a/pom.xml b/pom.xml
index cc80ad0da4601b46efe3eb5531ead292270a7a65..dd4abe9345b772b0725a2cbde3336aa53b43b016 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -33,6 +33,7 @@
                <module>eclipse</module>
                <module>security</module>
                <module>demo</module>
+               <module>doc</module>
        </modules>
        <url>${site.urlBase}/${developmentCycle}</url>
        <scm>
@@ -151,6 +152,9 @@ limitations under the License.
                                <plugin>
                                        <artifactId>maven-release-plugin</artifactId>
                                        <version>2.2.2</version>
+                                       <configuration>
+                                               <autoVersionSubmodules>true</autoVersionSubmodules>
+                                       </configuration>
                                </plugin>
                                <!-- Apache -->
                                <plugin>
@@ -309,20 +313,6 @@ limitations under the License.
                                                                        <dateFormat>yyyy-MM-dd</dateFormat>
                                                                </configuration>
                                                        </plugin>
-                                                       <!-- <plugin> -->
-                                                       <!-- <artifactId>maven-pmd-plugin</artifactId> -->
-                                                       <!-- <version>2.7.1</version> -->
-                                                       <!-- <configuration> -->
-                                                       <!-- <linkXref>true</linkXref> -->
-                                                       <!-- <targetJdk>1.6</targetJdk> -->
-                                                       <!-- <aggregate>true</aggregate> -->
-                                                       <!-- <excludes> -->
-                                                       <!-- <exclude>**/springutil/*.java</exclude> -->
-                                                       <!-- <exclude>**/demo/**/*.java</exclude> -->
-                                                       <!-- <exclude>**/internal/**/*.java</exclude> -->
-                                                       <!-- </excludes> -->
-                                                       <!-- </configuration> -->
-                                                       <!-- </plugin> -->
                                                </reportPlugins>
                                        </configuration>
                                </plugin>
@@ -388,9 +378,6 @@ limitations under the License.
                                </configuration>
                        </plugin>
                </plugins>
-               <!-- NOTE: This is just a vision for the future, it's not yet implemented: 
-                       see MNG-2216 -->
-               <!-- <sourceEncoding>UTF-8</sourceEncoding> -->
        </build>
        <dependencyManagement>
                <dependencies>
@@ -423,20 +410,10 @@ limitations under the License.
                <site>
                        <id>argeo-commons-site</id>
                        <name>Argeo Commons Site</name>
-                       <url>file://${site.repoBase}/${developmentCycle}/</url>
+                       <url>file://${site.repoBase}/${project.version}</url>
                </site>
        </distributionManagement>
        <profiles>
-               <profile>
-                       <id>release</id>
-                       <distributionManagement>
-                               <site>
-                                       <id>argeo-commons-site</id>
-                                       <name>Argeo Commons Site</name>
-                                       <url>file://${site.repoBase}/${project.version}</url>
-                               </site>
-                       </distributionManagement>
-               </profile>
                <profile>
                        <id>localrepo</id>
                        <distributionManagement>
@@ -454,13 +431,6 @@ limitations under the License.
                                </snapshotRepository>
                        </distributionManagement>
                </profile>
-               <profile>
-                       <id>full</id>
-                       <modules>
-                               <module>doc</module>
-                               <module>sandbox</module>
-                       </modules>
-               </profile>
                <profile>
                        <id>el5</id>
                        <properties>