You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2019/04/21 09:50:11 UTC
[maven-scm-publish-plugin] branch stabilize updated: Fix ITs
This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch stabilize
in repository https://gitbox.apache.org/repos/asf/maven-scm-publish-plugin.git
The following commit(s) were added to refs/heads/stabilize by this push:
new a093915 Fix ITs
a093915 is described below
commit a093915fdc465ef0ffe221f57105defd198a415d
Author: rfscholte <rf...@apache.org>
AuthorDate: Sun Apr 21 11:50:00 2019 +0200
Fix ITs
---
pom.xml | 1 +
src/it/publish-scm/invoker.properties | 3 +++
src/it/site-deploy/verify.groovy | 22 ----------------------
3 files changed, 4 insertions(+), 22 deletions(-)
diff --git a/pom.xml b/pom.xml
index 24f7461..e8e1e23 100644
--- a/pom.xml
+++ b/pom.xml
@@ -193,6 +193,7 @@ under the License.
<artifactId>maven-invoker-plugin</artifactId>
<configuration>
<streamLogs>true</streamLogs> <!-- analyze failing ITs at builds.a.o -->
+ <addTestClassPath>true</addTestClassPath>
<pomExcludes>
<pomExclude>00*/pom.xml</pomExclude>
</pomExcludes>
diff --git a/src/it/publish-scm/invoker.properties b/src/it/publish-scm/invoker.properties
index bf59692..c8d46fe 100644
--- a/src/it/publish-scm/invoker.properties
+++ b/src/it/publish-scm/invoker.properties
@@ -15,4 +15,7 @@
# specific language governing permissions and limitations
# under the License.
+# creating symlinks on windows requires running in admin mode
+# test reflects ASF infrastructure to publish documentation
+invoker.os.family = !windows
invoker.goals = site scm-publish:publish-scm
diff --git a/src/it/site-deploy/verify.groovy b/src/it/site-deploy/verify.groovy
deleted file mode 100644
index 1b0d97d..0000000
--- a/src/it/site-deploy/verify.groovy
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-buildLog = new File( basedir, 'build.log' ).text;
-
-assert buildLog.contains('BUILD SUCCESS');