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 2020/10/16 09:52:00 UTC

[maven-docck-plugin] 01/01: Add verify script

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-docck-plugin.git

commit f942443f4455caee871359d05b68739227ad983e
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri Oct 16 11:51:48 2020 +0200

    Add verify script
---
 src/it/basic/verify.groovy | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/src/it/basic/verify.groovy b/src/it/basic/verify.groovy
new file mode 100644
index 0000000..98c1e47
--- /dev/null
+++ b/src/it/basic/verify.groovy
@@ -0,0 +1,24 @@
+
+/*
+ * 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.
+ */
+
+def logFile = new File( basedir, 'build.log' )
+assert logFile.exists()
+assert logFile.text.contains( 'BUILD SUCCESS' )
+