You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ts...@apache.org on 2017/07/09 19:17:59 UTC

[08/12] logging-log4cxx git commit: Revert "Tried to reduce the version number by the suffix SNAPSHOT for site-deploy, but the reduced version number is only available in build.xml this way, not in the distributionManagement in pom.xml."

Revert "Tried to reduce the version number by the suffix SNAPSHOT for site-deploy, but the reduced version number is only available in build.xml this way, not in the distributionManagement in pom.xml."

This reverts commit 6860a07eb8565932672fe8ac0e3aa78a3c9c3614.


Project: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/commit/25580859
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/tree/25580859
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/diff/25580859

Branch: refs/heads/master
Commit: 25580859f564506bc060171dfaec873068cfa6e3
Parents: 6860a07
Author: Thorsten Schöning <ts...@am-soft.de>
Authored: Sun Jul 9 11:18:50 2017 +0200
Committer: Thorsten Schöning <ts...@am-soft.de>
Committed: Sun Jul 9 11:18:50 2017 +0200

----------------------------------------------------------------------
 build.xml |  2 +-
 pom.xml   | 26 +-------------------------
 2 files changed, 2 insertions(+), 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4cxx/blob/25580859/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 082dd98..e43d719 100644
--- a/build.xml
+++ b/build.xml
@@ -177,7 +177,7 @@
 				value="target/site-deploy"
 	/>
 	<property	name="site.deployDir.curVersion"
-				value="${site.deployDir}/${project.versionWoSuffix}"
+				value="${site.deployDir}/${project.version}"
 	/>
 
 	<propertyregex	property="version.major"

http://git-wip-us.apache.org/repos/asf/logging-log4cxx/blob/25580859/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 55fbad8..03b9e10 100644
--- a/pom.xml
+++ b/pom.xml
@@ -324,30 +324,6 @@
 			</plugin>
 
 			<plugin>
-				<groupId>org.codehaus.mojo</groupId>
-				<artifactId>build-helper-maven-plugin</artifactId>
-				<version>1.7</version>
-
-				<executions>
-					<execution>
-						<id>regex-property</id>
-						<phase>post-site</phase>
-						<goals>
-							<goal>regex-property</goal>
-						</goals>
-
-						<configuration>
-							<name>project.versionWoSuffix</name>
-							<value>${project.version}</value>
-							<regex>^(\d+)\.(\d+)\.(\d+)(?:-SNAPSHOT)?$</regex>
-							<replacement>$1.$2.$3</replacement>
-							<failIfNoMatch>true</failIfNoMatch>
-						</configuration>
-					</execution>
-				</executions>
-			</plugin>
-
-			<plugin>
 				<artifactId>maven-site-plugin</artifactId>
 				<version>3.3</version>
 				<configuration>
@@ -416,7 +392,7 @@
 		</repository>
 		<site>
 			<id>logging.site</id>
-			<url>file:///${user.dir}/target/site-deploy/${project.versionWoSuffix}</url>
+			<url>file:///${user.dir}/target/site-deploy/${project.version}</url>
 		</site>
 	</distributionManagement>
 </project>