Repository: mina-sshd
Updated Branches:
  refs/heads/master 6788c0370 -> a099c68b2


Delete intermediate serialized key files generated during previous tests run 
when compiling/running new code


Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/a099c68b
Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/a099c68b
Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/a099c68b

Branch: refs/heads/master
Commit: a099c68b28c4901f7749bed934b03e59bd02e719
Parents: 04693d1
Author: Lyor Goldstein <[email protected]>
Authored: Sun Sep 30 19:13:18 2018 +0300
Committer: Lyor Goldstein <[email protected]>
Committed: Sun Sep 30 19:27:26 2018 +0300

----------------------------------------------------------------------
 pom.xml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/a099c68b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 7815f2d..ade5019 100644
--- a/pom.xml
+++ b/pom.xml
@@ -956,6 +956,31 @@
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-clean-plugin</artifactId>            
+                <executions>
+                        <!-- Delete temporary serialized key files generated 
during tests run -->
+                    <execution>
+                        <id>auto-clean-key-files</id>
+                        <phase>initialize</phase>
+                        <goals>
+                            <goal>clean</goal>
+                        </goals>
+                        <configuration>
+                            <filesets>
+                                <fileset>
+                                    <directory>${projects.basedir}</directory>
+                                    <includes>
+                                        <include>*.ser</include>
+                                        <include>*.pem</include>
+                                    </includes>
+                                </fileset>
+                            </filesets>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
                 <version>3.7.0</version>
                 <configuration>

Reply via email to