Improve build and documentation
authorMathieu Baudier <mbaudier@argeo.org>
Sat, 8 Dec 2012 14:11:18 +0000 (14:11 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Sat, 8 Dec 2012 14:11:18 +0000 (14:11 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@5921 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

doc/pom.xml
doc/reference/commons-gettingStarted.xml [new file with mode: 0644]
doc/reference/css/style.css [new file with mode: 0644]
doc/site/site.xml
doc/src/docbkx/commons-gettingStarted.xml [deleted file]
doc/src/docbkx/css/style.css [deleted file]
pom.xml

index 3cc5344115692feabc2d5e84311642f7182f8a44..5bf01e7f55e4c6fb4e65de96c4be8da0f618b949 100644 (file)
@@ -1,8 +1,9 @@
-<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">
+<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">
        <modelVersion>4.0.0</modelVersion>
        <parent>
                <groupId>org.argeo.commons</groupId>
-               <version>0.3.5-SNAPSHOT</version>
+               <version>1.1.8-SNAPSHOT</version>
                <artifactId>argeo-commons</artifactId>
                <relativePath>..</relativePath>
        </parent>
@@ -14,7 +15,6 @@
                        <plugin>
                                <groupId>com.agilejava.docbkx</groupId>
                                <artifactId>docbkx-maven-plugin</artifactId>
-                               <version>2.0.8</version>
                                <configuration>
                                        <htmlStylesheet>css/style.css</htmlStylesheet>
                                        <postProcess>
                                                        <goal>generate-html</goal>
                                                        <goal>generate-pdf</goal>
                                                </goals>
-                                               <phase>compile</phase>
+                                               <phase>pre-site</phase>
                                        </execution>
                                </executions>
-                               <dependencies>
-                                       <dependency>
-                                               <groupId>org.docbook</groupId>
-                                               <artifactId>docbook-xml</artifactId>
-                                               <version>4.4</version>
-                                               <scope>runtime</scope>
-                                       </dependency>
-                               </dependencies>
                        </plugin>
                </plugins>
        </build>
diff --git a/doc/reference/commons-gettingStarted.xml b/doc/reference/commons-gettingStarted.xml
new file mode 100644 (file)
index 0000000..2b680e1
--- /dev/null
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+                 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
+
+<chapter label="1" id="gettingStarted">
+       <title>Getting started</title>
+
+       <section label="1.1" id="deveptEnvironment">
+               <title>Development environment</title>\r
+               <para>The following instructions are about setting up an Argeo\r
+                       development environment.</para>
+
+               <section label="1.1.1" id="softwareRequirements">
+                       <title>Software requirements</title>\r
+                       <para>\r
+                               The following elements are required to install the development\r
+                               environment:\r
+                               <itemizedlist spacing="compact">\r
+                                       <listitem>\r
+                                               <para>Java</para>\r
+                                       </listitem>\r
+                                       <listitem>\r
+                                               <para>Eclipse</para>\r
+                                       </listitem>\r
+                               </itemizedlist>\r
+                       </para>\r
+               </section>\r
+\r
+               <section label="1.1.2" id="clientInstallation">\r
+                       <title>Client installation</title>
+
+                       <para></para>\r
+               </section>\r
+       </section>
+</chapter>
diff --git a/doc/reference/css/style.css b/doc/reference/css/style.css
new file mode 100644 (file)
index 0000000..0f446b9
--- /dev/null
@@ -0,0 +1,303 @@
+body {
+   text-align: justify;
+   margin-right: 2em;
+   margin-left: 2em;
+}
+
+a,
+a[accesskey^="h"],
+a[accesskey^="n"],
+a[accesskey^="u"],
+a[accesskey^="p"] {
+    font-family: Verdana, Arial, helvetica, sans-serif;
+    font-size: 12px;
+       color: #003399;
+}
+
+a:active {
+    color: #003399;
+}
+
+a:visited {
+    color: #888888;
+}
+
+p {
+       font-family: Verdana, Arial, sans-serif;
+}
+
+dt {
+       font-family: Verdana, Arial, sans-serif;
+       font-size: 12px;
+}
+
+p, dl, dt, dd, blockquote {
+    color: #000000;
+    margin-bottom: 3px;
+    margin-top: 3px;
+    padding-top: 0;
+}
+
+ol, ul, p {
+    margin-top: 6px;
+    margin-bottom: 6px;
+}
+
+p, blockquote {
+    font-size: 90%;
+}
+
+p.releaseinfo {
+    font-size: 100%;
+    font-weight: bold;
+    font-family: Verdana, Arial, helvetica, sans-serif;
+    padding-top: 10px;
+}
+
+p.pubdate {
+    font-size: 120%;
+    font-weight: bold; 
+    font-family: Verdana, Arial, helvetica, sans-serif;
+}
+
+td {
+    font-size: 80%;
+}
+
+td, th, span {
+    color: #000000;
+}
+
+td[width^="40%"] {
+    font-family: Verdana, Arial, helvetica, sans-serif;
+    font-size: 12px;
+       color: #003399;
+}
+
+table[summary^="Navigation header"] tbody tr th[colspan^="3"] {
+    font-family: Verdana, Arial, helvetica, sans-serif;
+}
+
+blockquote {
+    margin-right: 0;
+}
+
+h1, h2, h3, h4, h6 {
+    color: #000000;
+    font-weight: 500;
+    margin-top: 0;
+    padding-top: 14px;
+    font-family: Verdana, Arial, helvetica, sans-serif;
+    margin-bottom: 0;
+}
+
+h2.title {
+    font-weight: 800;
+    margin-bottom: 8px;
+}
+
+h2.subtitle {
+    font-weight: 800;
+    margin-bottom: 20px;
+}
+
+.firstname, .surname {
+       font-size: 12px;
+    font-family: Verdana, Arial, helvetica, sans-serif;
+}
+
+table {
+    border-collapse: collapse;
+    border-spacing: 0;
+    border: 1px black;
+    empty-cells: hide;
+    margin: 10px 0 30px 50px;
+    width: 90%;
+}
+
+div.table {
+       margin: 30px 0 10px 0;
+       border: 1px dashed gray;
+       padding: 10px;
+}
+
+div .table-contents table {
+       border: 1px solid black;
+}
+
+div.table > p.title {
+       padding-left: 10px;
+}
+
+table[summary^="Navigation footer"] {
+    border-collapse: collapse;
+    border-spacing: 0;
+    border: 1px black;
+    empty-cells: hide;    
+    margin: 0px;
+    width: 100%;
+}
+
+table[summary^="Note"],
+table[summary^="Warning"],
+table[summary^="Tip"] {
+    border-collapse: collapse;
+    border-spacing: 0;
+    border: 1px black;
+    empty-cells: hide;    
+    margin: 10px 0px 10px -20px;
+    width: 100%;
+}
+
+td {
+    padding: 4pt;
+    font-family: Verdana, Arial, helvetica, sans-serif;
+}
+
+div.warning TD {
+       text-align: justify;
+}
+
+h1 { 
+    font-size: 150%; 
+}
+
+h2 { 
+    font-size: 110%; 
+}
+
+h3 {
+    font-size: 100%; font-weight: bold; 
+}
+
+h4 { 
+    font-size: 90%; font-weight: bold;
+}
+
+h5 {
+    font-size: 90%; font-style: italic; 
+}
+
+h6 { 
+    font-size: 100%; font-style: italic; 
+}
+
+tt {
+    font-size: 110%;
+    font-family: "Courier New", Courier, monospace;
+    color: #000000;
+}
+
+.navheader, .navfooter {
+       border: none;
+}
+
+div.navfooter table {
+       border-style: dashed;
+       border-color: gray;
+       border-width: 1px 1px 1px 1px;
+       background-color: #cde48d;
+}
+
+pre {
+    font-size: 110%;
+    padding: 5px;
+    border-style: solid;
+    border-width: 1px;
+    border-color: #CCCCCC;
+    background-color: #f3f5e9;
+}
+
+ul, ol, li {
+    list-style: disc;
+}
+
+hr {
+    width: 100%;
+    height: 1px;
+    background-color: #CCCCCC;
+    border-width: 0;
+    padding: 0;
+}
+
+.variablelist { 
+    padding-top: 10px; 
+    padding-bottom: 10px; 
+    margin: 0;
+}
+
+.term { 
+    font-weight:bold;
+}
+
+.mediaobject {
+    padding-top: 30px; 
+    padding-bottom: 30px; 
+}
+
+.legalnotice {
+    font-family: Verdana, Arial, helvetica, sans-serif;
+    font-size: 12px;
+    font-style: italic;
+}
+
+.sidebar {
+    float: right;
+    margin: 10px 0 10px 30px;
+    padding: 10px 20px 20px 20px;
+    width: 33%;
+    border: 1px solid black;
+    background-color: #F4F4F4;
+    font-size: 14px;
+}
+
+.property {
+       font-family: "Courier New", Courier, monospace;
+}
+
+a code {
+       font-family: Verdana, Arial, monospace;
+       font-size: 12px;
+}
+
+td code {
+    font-size: 110%;
+}
+
+div.note * td,
+div.tip * td,
+div.warning * td,
+div.calloutlist * td {
+       text-align: justify;
+       font-size: 100%;
+}
+
+.programlisting {
+   clear: both;
+}
+
+.programlisting .interfacename,
+.programlisting .literal,
+.programlisting .classname {
+    font-size: 95%;
+}
+
+.title .interfacename,
+.title .literal,
+.title .classname {
+    font-size: 130%;
+}
+
+/* everything in a <lineannotation/> is displayed in a coloured, comment-like font */
+.programlisting * .lineannotation,
+.programlisting * .lineannotation * {
+       color: green;
+}
+
+.question * p {
+    font-size: 100%;
+}
+
+.answer * p {
+    font-size: 100%;
+}
\ No newline at end of file
index f639492b4ce7fa94e69421db4e061e2dfeb28e13..af6484f0e6c2529566f29659bea42321d8f4673d 100644 (file)
        <publishDate format="yyyy-MM-dd HH:mm" />
        <body>
                <menu name="Overview">
-                       <item name="Home" href="${project.url}/index.html" />
-                       <item name="API (Javadoc)" href="${project.url}/apidocs/index.html" target="argeo_commons_javadoc" />
-                       <item name="Browse Code" href="${project.url}/xref/index.html" target="argeo_commons_code" />
-                       <item name="FIXMEs / TODOs" href="${project.url}/taglist.html" />
+                       <item name="Home" href="index.html" />
+                       <!--<item name="Reference Documentation" href="reference/index.html" />-->
+                       <item name="API (Javadoc)" href="apidocs/index.html" target="argeo_commons_javadoc" />
+                       <item name="Browse Code" href="xref/index.html" target="argeo_commons_code" />
+                       <item name="FIXMEs / TODOs" href="taglist.html" />
                </menu>
                <menu ref="reports" />
        </body>
diff --git a/doc/src/docbkx/commons-gettingStarted.xml b/doc/src/docbkx/commons-gettingStarted.xml
deleted file mode 100644 (file)
index 2b680e1..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
-                 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
-
-<chapter label="1" id="gettingStarted">
-       <title>Getting started</title>
-
-       <section label="1.1" id="deveptEnvironment">
-               <title>Development environment</title>\r
-               <para>The following instructions are about setting up an Argeo\r
-                       development environment.</para>
-
-               <section label="1.1.1" id="softwareRequirements">
-                       <title>Software requirements</title>\r
-                       <para>\r
-                               The following elements are required to install the development\r
-                               environment:\r
-                               <itemizedlist spacing="compact">\r
-                                       <listitem>\r
-                                               <para>Java</para>\r
-                                       </listitem>\r
-                                       <listitem>\r
-                                               <para>Eclipse</para>\r
-                                       </listitem>\r
-                               </itemizedlist>\r
-                       </para>\r
-               </section>\r
-\r
-               <section label="1.1.2" id="clientInstallation">\r
-                       <title>Client installation</title>
-
-                       <para></para>\r
-               </section>\r
-       </section>
-</chapter>
diff --git a/doc/src/docbkx/css/style.css b/doc/src/docbkx/css/style.css
deleted file mode 100644 (file)
index 0f446b9..0000000
+++ /dev/null
@@ -1,303 +0,0 @@
-body {
-   text-align: justify;
-   margin-right: 2em;
-   margin-left: 2em;
-}
-
-a,
-a[accesskey^="h"],
-a[accesskey^="n"],
-a[accesskey^="u"],
-a[accesskey^="p"] {
-    font-family: Verdana, Arial, helvetica, sans-serif;
-    font-size: 12px;
-       color: #003399;
-}
-
-a:active {
-    color: #003399;
-}
-
-a:visited {
-    color: #888888;
-}
-
-p {
-       font-family: Verdana, Arial, sans-serif;
-}
-
-dt {
-       font-family: Verdana, Arial, sans-serif;
-       font-size: 12px;
-}
-
-p, dl, dt, dd, blockquote {
-    color: #000000;
-    margin-bottom: 3px;
-    margin-top: 3px;
-    padding-top: 0;
-}
-
-ol, ul, p {
-    margin-top: 6px;
-    margin-bottom: 6px;
-}
-
-p, blockquote {
-    font-size: 90%;
-}
-
-p.releaseinfo {
-    font-size: 100%;
-    font-weight: bold;
-    font-family: Verdana, Arial, helvetica, sans-serif;
-    padding-top: 10px;
-}
-
-p.pubdate {
-    font-size: 120%;
-    font-weight: bold; 
-    font-family: Verdana, Arial, helvetica, sans-serif;
-}
-
-td {
-    font-size: 80%;
-}
-
-td, th, span {
-    color: #000000;
-}
-
-td[width^="40%"] {
-    font-family: Verdana, Arial, helvetica, sans-serif;
-    font-size: 12px;
-       color: #003399;
-}
-
-table[summary^="Navigation header"] tbody tr th[colspan^="3"] {
-    font-family: Verdana, Arial, helvetica, sans-serif;
-}
-
-blockquote {
-    margin-right: 0;
-}
-
-h1, h2, h3, h4, h6 {
-    color: #000000;
-    font-weight: 500;
-    margin-top: 0;
-    padding-top: 14px;
-    font-family: Verdana, Arial, helvetica, sans-serif;
-    margin-bottom: 0;
-}
-
-h2.title {
-    font-weight: 800;
-    margin-bottom: 8px;
-}
-
-h2.subtitle {
-    font-weight: 800;
-    margin-bottom: 20px;
-}
-
-.firstname, .surname {
-       font-size: 12px;
-    font-family: Verdana, Arial, helvetica, sans-serif;
-}
-
-table {
-    border-collapse: collapse;
-    border-spacing: 0;
-    border: 1px black;
-    empty-cells: hide;
-    margin: 10px 0 30px 50px;
-    width: 90%;
-}
-
-div.table {
-       margin: 30px 0 10px 0;
-       border: 1px dashed gray;
-       padding: 10px;
-}
-
-div .table-contents table {
-       border: 1px solid black;
-}
-
-div.table > p.title {
-       padding-left: 10px;
-}
-
-table[summary^="Navigation footer"] {
-    border-collapse: collapse;
-    border-spacing: 0;
-    border: 1px black;
-    empty-cells: hide;    
-    margin: 0px;
-    width: 100%;
-}
-
-table[summary^="Note"],
-table[summary^="Warning"],
-table[summary^="Tip"] {
-    border-collapse: collapse;
-    border-spacing: 0;
-    border: 1px black;
-    empty-cells: hide;    
-    margin: 10px 0px 10px -20px;
-    width: 100%;
-}
-
-td {
-    padding: 4pt;
-    font-family: Verdana, Arial, helvetica, sans-serif;
-}
-
-div.warning TD {
-       text-align: justify;
-}
-
-h1 { 
-    font-size: 150%; 
-}
-
-h2 { 
-    font-size: 110%; 
-}
-
-h3 {
-    font-size: 100%; font-weight: bold; 
-}
-
-h4 { 
-    font-size: 90%; font-weight: bold;
-}
-
-h5 {
-    font-size: 90%; font-style: italic; 
-}
-
-h6 { 
-    font-size: 100%; font-style: italic; 
-}
-
-tt {
-    font-size: 110%;
-    font-family: "Courier New", Courier, monospace;
-    color: #000000;
-}
-
-.navheader, .navfooter {
-       border: none;
-}
-
-div.navfooter table {
-       border-style: dashed;
-       border-color: gray;
-       border-width: 1px 1px 1px 1px;
-       background-color: #cde48d;
-}
-
-pre {
-    font-size: 110%;
-    padding: 5px;
-    border-style: solid;
-    border-width: 1px;
-    border-color: #CCCCCC;
-    background-color: #f3f5e9;
-}
-
-ul, ol, li {
-    list-style: disc;
-}
-
-hr {
-    width: 100%;
-    height: 1px;
-    background-color: #CCCCCC;
-    border-width: 0;
-    padding: 0;
-}
-
-.variablelist { 
-    padding-top: 10px; 
-    padding-bottom: 10px; 
-    margin: 0;
-}
-
-.term { 
-    font-weight:bold;
-}
-
-.mediaobject {
-    padding-top: 30px; 
-    padding-bottom: 30px; 
-}
-
-.legalnotice {
-    font-family: Verdana, Arial, helvetica, sans-serif;
-    font-size: 12px;
-    font-style: italic;
-}
-
-.sidebar {
-    float: right;
-    margin: 10px 0 10px 30px;
-    padding: 10px 20px 20px 20px;
-    width: 33%;
-    border: 1px solid black;
-    background-color: #F4F4F4;
-    font-size: 14px;
-}
-
-.property {
-       font-family: "Courier New", Courier, monospace;
-}
-
-a code {
-       font-family: Verdana, Arial, monospace;
-       font-size: 12px;
-}
-
-td code {
-    font-size: 110%;
-}
-
-div.note * td,
-div.tip * td,
-div.warning * td,
-div.calloutlist * td {
-       text-align: justify;
-       font-size: 100%;
-}
-
-.programlisting {
-   clear: both;
-}
-
-.programlisting .interfacename,
-.programlisting .literal,
-.programlisting .classname {
-    font-size: 95%;
-}
-
-.title .interfacename,
-.title .literal,
-.title .classname {
-    font-size: 130%;
-}
-
-/* everything in a <lineannotation/> is displayed in a coloured, comment-like font */
-.programlisting * .lineannotation,
-.programlisting * .lineannotation * {
-       color: green;
-}
-
-.question * p {
-    font-size: 100%;
-}
-
-.answer * p {
-    font-size: 100%;
-}
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 490e685d2d2e794ea5e41aa3472c322b086fc14a..41566da45ccd3e40390700e5446344f8608df7a0 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,5 +1,6 @@
 <?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">
+<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">
        <modelVersion>4.0.0</modelVersion>
        <groupId>org.argeo.commons</groupId>
        <artifactId>argeo-commons</artifactId>
@@ -8,10 +9,11 @@
        <description>Generic layers integrating free / open source technologies in order to quickly develop custom enterprise systems: security, JCR, user interface, monitoring</description>
        <packaging>pom</packaging>
        <properties>
-               <developmentCycle>1.1</developmentCycle>
-               <developmentCycle.startDate>2012-06-19</developmentCycle.startDate>
+               <developmentCycle.argeo-commons>1.1</developmentCycle.argeo-commons>
+               <developmentCycle.argeo-commons.startDate>2012-06-19</developmentCycle.argeo-commons.startDate>
                <version.argeo-distribution>1.3.1</version.argeo-distribution>
                <version.argeo-commons>1.1.8-SNAPSHOT</version.argeo-commons>
+               <!-- RPM -->
                <rpm.release>6</rpm.release>
                <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/6/x86_64</rpm.stagingRepository>
                <!-- encoding, see http://is.gd/mvn_source_encoding -->
                <name>Argeo</name>
                <url>http://www.argeo.org</url>
        </organization>
-       <url>${site.urlBase}/${developmentCycle}</url>
+       <url>http://projects.argeo.org/commons/</url>
        <scm>
                <connection>scm:svn:https://svn.argeo.org/commons/trunk</connection>
-               <developerConnection>scm:svn:https://svn.argeo.org/commons/trunk
-               </developerConnection>
+               <developerConnection>scm:svn:https://svn.argeo.org/commons/trunk</developerConnection>
                <url>https://svn.argeo.org/commons/trunk</url>
        </scm>
        <inceptionYear>2007</inceptionYear>
@@ -233,6 +234,11 @@ limitations under the License.
                                        <artifactId>maven-license-plugin</artifactId>
                                        <version>1.9.0</version>
                                </plugin>
+                               <plugin>
+                                       <groupId>com.agilejava.docbkx</groupId>
+                                       <artifactId>docbkx-maven-plugin</artifactId>
+                                       <version>2.0.14</version>
+                               </plugin>
                                <!-- Site -->
                                <plugin>
                                        <artifactId>maven-site-plugin</artifactId>
@@ -326,7 +332,7 @@ limitations under the License.
                                                                <configuration>
                                                                        <type>date</type>
                                                                        <dates>
-                                                                               <date>${developmentCycle.startDate}</date>
+                                                                               <date>${developmentCycle.argeo-commons.startDate}</date>
                                                                        </dates>
                                                                        <dateFormat>yyyy-MM-dd</dateFormat>
                                                                </configuration>
@@ -436,6 +442,34 @@ limitations under the License.
                                        </mapping>
                                </configuration>
                        </plugin>
+                       <plugin>
+                               <groupId>com.agilejava.docbkx</groupId>
+                               <artifactId>docbkx-maven-plugin</artifactId>
+                               <configuration>
+                                       <sourceDirectory>doc/reference</sourceDirectory>
+                                       <targetDirectory>target/site/reference</targetDirectory>
+                                       <htmlStylesheet>css/style.css</htmlStylesheet>
+                                       <postProcess>
+                                               <copy todir="target/site/reference">
+                                                       <fileset dir="doc/reference">
+                                                               <include name="*/*.css" />
+                                                       </fileset>
+                                                       <fileset dir="doc/reference">
+                                                               <include name="img/**" />
+                                                       </fileset>
+                                               </copy>
+                                       </postProcess>
+                               </configuration>
+                               <executions>
+                                       <execution>
+                                               <goals>
+                                                       <goal>generate-html</goal>
+                                                       <goal>generate-pdf</goal>
+                                               </goals>
+                                               <phase>pre-site</phase>
+                                       </execution>
+                               </executions>
+                       </plugin>
                </plugins>
        </build>
        <dependencyManagement>
@@ -483,13 +517,13 @@ limitations under the License.
        <distributionManagement>
                <repository>
                        <id>staging</id>
-                       <url>dav:https://repo.argeo.org/data/files/java/org.argeo.commons-1.1.x</url>
+                       <url>dav:https://repo.argeo.org/data/files/java/org.argeo.commons-${developmentCycle.argeo-commons}.x</url>
                        <uniqueVersion>false</uniqueVersion>
                </repository>
                <site>
                        <id>site</id>
                        <name>Argeo Commons Site</name>
-                       <url>file:///srv/projects/www/commons/site/${project.version}</url>
+                       <url>dav:https://repo.argeo.org/data/files/docs/org.argeo.commons-${developmentCycle.argeo-commons}.x</url>
                </site>
        </distributionManagement>
        <profiles>
@@ -499,13 +533,13 @@ limitations under the License.
                                <repository>
                                        <id>localrepo</id>
                                        <name>Internal Release Repository</name>
-                                       <url>dav:http://localrepo:7070/data/files/java/org.argeo.commons-1.1.x</url>
+                                       <url>dav:http://localhost:7070/data/files/java/org.argeo.commons-${developmentCycle.argeo-commons}.x</url>
                                </repository>
-                               <snapshotRepository>
-                                       <id>localrepo.snapshots</id>
-                                       <name>Internal Snapshot Repository</name>
-                                       <url>dav:http://localrepo:7070/data/files/java/org.argeo.commons-1.1.x</url>
-                               </snapshotRepository>
+                               <site>
+                                       <id>site</id>
+                                       <name>Argeo Commons Site</name>
+                                       <url>dav:http://localhost:7070/data/files/docs/org.argeo.commons-${developmentCycle.argeo-commons}.x</url>
+                               </site>
                        </distributionManagement>
                </profile>
                <profile>
@@ -515,11 +549,5 @@ limitations under the License.
                                <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/5/x86_64</rpm.stagingRepository>
                        </properties>
                </profile>
-               <profile>
-                       <id>doc</id>
-                       <modules>
-                               <module>doc</module>
-                       </modules>
-               </profile>
        </profiles>
 </project>