<modelVersion>4.0.0</modelVersion>
<groupId>org.argeo.commons</groupId>
<artifactId>argeo-commons</artifactId>
- <version>1.1.8-SNAPSHOT</version>
+ <version>1.1.10-SNAPSHOT</version>
<name>Argeo Commons</name>
<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>
- <version.argeo-distribution>1.3.1</version.argeo-distribution>
- <version.argeo-commons>1.1.7</version.argeo-commons>
+ <developmentCycle.argeo-commons>1.1</developmentCycle.argeo-commons>
+ <developmentCycle.argeo-commons.startDate>2012-06-19</developmentCycle.argeo-commons.startDate>
+ <version.argeo-distribution>1.4.0</version.argeo-distribution>
+ <version.argeo-commons>1.1.10-SNAPSHOT</version.argeo-commons>
+ <!-- RPM -->
<rpm.release>6</rpm.release>
- <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/6/x86_64</rpm.stagingRepository>
+ <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-1-staging/6/x86_64</rpm.stagingRepository>
<!-- encoding, see http://is.gd/mvn_source_encoding -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<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>
<version>2.2</version>
</extension>
</extensions>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ <resource>
+ <directory>.</directory>
+ <includes>
+ <include>plugin.xml</include>
+ <include>META-INF/**</include>
+ <include>WEB-INF/**</include>
+ <include>icons/**</include>
+ <include>branding/**</include>
+ <include>*.properties</include>
+ <include>properties/*.properties</include>
+ <include>p2.inf</include>
+ </includes>
+ <excludes>
+ <exclude>build.properties</exclude>
+ </excludes>
+ </resource>
+ </resources>
<pluginManagement>
<plugins>
<!-- Maven -->
<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>
<configuration>
<type>date</type>
<dates>
- <date>${developmentCycle.startDate}</date>
+ <date>${developmentCycle.argeo-commons.startDate}</date>
</dates>
<dateFormat>yyyy-MM-dd</dateFormat>
</configuration>
</plugin>
</plugins>
</pluginManagement>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- </resource>
- <resource>
- <directory>.</directory>
- <includes>
- <include>plugin.xml</include>
- <include>META-INF/**</include>
- <include>WEB-INF/**</include>
- <include>icons/**</include>
- <include>branding/**</include>
- <include>*.properties</include>
- <include>p2.inf</include>
- </includes>
- <excludes>
- <exclude>build.properties</exclude>
- </excludes>
- </resource>
- </resources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
</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>
<repositories>
<repository>
<id>argeo-tp</id>
- <url>http://repo.argeo.org/data/public/java/org.argeo.tp-1.3.1</url>
+ <url>http://repo.argeo.org/data/public/java/org.argeo.tp-1.4.x</url>
<releases>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
<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>
<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>
<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>