Discussion:
[1/2] mina-sshd git commit: Delete intermediate serialized key files generated during previous tests run when compiling/running new code
l***@apache.org
2018-09-30 16:22:22 UTC
Permalink
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 <***@gmail.com>
Authored: Sun Sep 30 19:13:18 2018 +0300
Committer: Lyor Goldstein <***@gmail.com>
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>
l***@apache.org
2018-09-30 16:22:23 UTC
Permalink
Fixed source package assembly descriptors to exclude intermediate serialized key files generated during project test builds


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

Branch: refs/heads/master
Commit: 04693d1b12e0137126ee8841cb6d8e82fbd0ebd1
Parents: 6788c03
Author: Lyor Goldstein <***@gmail.com>
Authored: Sun Sep 30 17:54:37 2018 +0300
Committer: Lyor Goldstein <***@gmail.com>
Committed: Sun Sep 30 19:27:26 2018 +0300

----------------------------------------------------------------------
assembly/src/main/descriptors/unix-src.xml | 3 ++-
assembly/src/main/descriptors/windows-src.xml | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/04693d1b/assembly/src/main/descriptors/unix-src.xml
----------------------------------------------------------------------
diff --git a/assembly/src/main/descriptors/unix-src.xml b/assembly/src/main/descriptors/unix-src.xml
index ce61fbe..4ff61ba 100644
--- a/assembly/src/main/descriptors/unix-src.xml
+++ b/assembly/src/main/descriptors/unix-src.xml
@@ -82,7 +82,8 @@
<exclude>**/*.ipr</exclude>
<exclude>**/*.iws</exclude>

- <exclude>**/cobertura.ser</exclude>
+ <exclude>**/*.ser</exclude>
+ <exclude>**/key.pem</exclude>

<exclude>sshd-core/src/docs/*.txt</exclude>
</excludes>

http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/04693d1b/assembly/src/main/descriptors/windows-src.xml
----------------------------------------------------------------------
diff --git a/assembly/src/main/descriptors/windows-src.xml b/assembly/src/main/descriptors/windows-src.xml
index a36b451..76c0d4e 100644
--- a/assembly/src/main/descriptors/windows-src.xml
+++ b/assembly/src/main/descriptors/windows-src.xml
@@ -82,7 +82,8 @@
<exclude>**/*.ipr</exclude>
<exclude>**/*.iws</exclude>

- <exclude>**/cobertura.ser</exclude>
+ <exclude>**/*.ser</exclude>
+ <exclude>**/key.pem</exclude>

<exclude>sshd-core/src/docs/*.txt</exclude>
</excludes>

Loading...