Applying changes for git publish
diff --git a/jpox-modello-maven-plugin/pom.xml b/jpox-modello-maven-plugin/pom.xml
index 183ec47..7599e20 100644
--- a/jpox-modello-maven-plugin/pom.xml
+++ b/jpox-modello-maven-plugin/pom.xml
@@ -28,16 +28,15 @@
<artifactId>jpox-modello-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
+ <properties>
+ <site.staging.base>${project.parent.basedir}/../site</site.staging.base>
+ </properties>
+
<name>Jpox Modello Maven Plugin</name>
<url>${webUrl}/modello-plugins/${project.artifactId}</url>
- <distributionManagement>
- <site>
- <id>apache.website</id>
- <url>${siteUrl}/modello-plugins/${project.artifactId}</url>
- </site>
- </distributionManagement>
+
<scm>
<url>${scmBrowseUrl};f=${project.artifactId}</url>
</scm>
diff --git a/modello-db-keywords/pom.xml b/modello-db-keywords/pom.xml
index 6a53a14..e0b9316 100644
--- a/modello-db-keywords/pom.xml
+++ b/modello-db-keywords/pom.xml
@@ -28,14 +28,11 @@
<name>Modello Database Keywords Library</name>
<packaging>jar</packaging>
- <url>${webUrl}/modello-plugins/${project.artifactId}</url>
+ <properties>
+ <site.staging.base>${project.parent.basedir}/../site</site.staging.base>
+ </properties>
- <distributionManagement>
- <site>
- <id>apache.website</id>
- <url>${siteUrl}/modello-plugins/${project.artifactId}</url>
- </site>
- </distributionManagement>
+ <url>${webUrl}/modello-plugins/${project.artifactId}</url>
<scm>
<url>${scmBrowseUrl};f=${project.artifactId}</url>
diff --git a/modello-plugin-jpox/pom.xml b/modello-plugin-jpox/pom.xml
index c3dae3b..eb5ca24 100644
--- a/modello-plugin-jpox/pom.xml
+++ b/modello-plugin-jpox/pom.xml
@@ -28,14 +28,11 @@
<name>Modello JPox Plugin</name>
<packaging>jar</packaging>
- <url>${webUrl}/modello-plugins/${project.artifactId}</url>
+ <properties>
+ <site.staging.base>${project.parent.basedir}/../site</site.staging.base>
+ </properties>
- <distributionManagement>
- <site>
- <id>apache.website</id>
- <url>${siteUrl}/modello-plugins/${project.artifactId}</url>
- </site>
- </distributionManagement>
+ <url>${webUrl}/modello-plugins/${project.artifactId}</url>
<scm>
<url>${scmBrowseUrl};f=${project.artifactId}</url>
diff --git a/modello-plugin-redback-registry/pom.xml b/modello-plugin-redback-registry/pom.xml
index 450ea15..db85cd0 100644
--- a/modello-plugin-redback-registry/pom.xml
+++ b/modello-plugin-redback-registry/pom.xml
@@ -28,16 +28,11 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>modello-plugin-redback-registry</artifactId>
<name>Redback Registry Reader/Writer</name>
-
+ <properties>
+ <site.staging.base>${project.parent.basedir}/../site</site.staging.base>
+ </properties>
<url>${webUrl}/modello-plugins/${project.artifactId}</url>
- <distributionManagement>
- <site>
- <id>apache.website</id>
- <url>${siteUrl}/modello-plugins/${project.artifactId}</url>
- </site>
- </distributionManagement>
-
<scm>
<url>${scmBrowseUrl};f=${project.artifactId}</url>
</scm>
diff --git a/modello-plugin-store/pom.xml b/modello-plugin-store/pom.xml
index 9aa28ba..6ceabf4 100644
--- a/modello-plugin-store/pom.xml
+++ b/modello-plugin-store/pom.xml
@@ -27,13 +27,9 @@
<artifactId>modello-plugin-store</artifactId>
<name>Modello Store Plugin</name>
<packaging>jar</packaging>
-
- <distributionManagement>
- <site>
- <id>apache.website</id>
- <url>${siteUrl}/modello-plugins/${project.artifactId}</url>
- </site>
- </distributionManagement>
+ <properties>
+ <site.staging.base>${project.parent.basedir}/../site</site.staging.base>
+ </properties>
<scm>
<url>${scmBrowseUrl};f=${project.artifactId}</url>
diff --git a/pom.xml b/pom.xml
index 67a9ef0..7c82ac7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -36,6 +36,7 @@
<properties>
<scmBrowseUrl>https://gitbox.apache.org/repos/asf?a=tree;p=archiva-redback-components-modello-plugins.git</scmBrowseUrl>
<modelloVersion>1.7</modelloVersion>
+ <site.staging.base>${project.basedir}/../site</site.staging.base>
</properties>
<scm>
<connection>scm:git:http://gitbox.apache.org/repos/asf/archiva-redback-components-modello-plugins.git</connection>
@@ -48,13 +49,6 @@
<description>Modello extensions used by Archiva and Continuum.</description>
- <distributionManagement>
- <site>
- <id>apache.website</id>
- <url>${siteUrl}/${project.artifactId}</url>
- </site>
- </distributionManagement>
-
<modules>
<module>modello-db-keywords</module>
<module>modello-plugin-store</module>