You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apex.apache.org by th...@apache.org on 2015/11/03 03:27:18 UTC

[17/50] [abbrv] incubator-apex-core git commit: Fix license header related info in README.md, remove obsolete files.

Fix license header related info in README.md, remove obsolete files.


Project: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/commit/ec03f12c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/tree/ec03f12c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/diff/ec03f12c

Branch: refs/heads/master
Commit: ec03f12cd0f1b9994a878237ca649d4c4a9c0423
Parents: 88ee4ad
Author: MalharJenkins <je...@datatorrent.com>
Authored: Sat Oct 3 15:49:20 2015 -0700
Committer: Thomas Weise <th...@datatorrent.com>
Committed: Sat Oct 3 15:52:22 2015 -0700

----------------------------------------------------------------------
 README.md                                       |   23 +-
 engine/src/test/resources/README                |    9 -
 ...san_ RSA Public Key Cryptography in Java.pdf | 1932 ------------------
 3 files changed, 5 insertions(+), 1959 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/ec03f12c/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index d48608b..baabcd2 100644
--- a/README.md
+++ b/README.md
@@ -23,24 +23,11 @@ You acknowledge that your submissions to this repository are made pursuant the t
   * Create a GitHub pull request from your repository, providing as many details about your changes as possible
   * After review and acceptance one of the committers will merge the pull request.
 
-When adding **new files**, please include the following Apache v2.0 license header at the top of the file, with the fields enclosed by brackets "[]" replaced with your own identifying information **(don't include the brackets!)**:
-```java
-/**
- * Copyright (C) [XXXX] [NAME OF COPYRIGHT OWNER]
- *
- * Licensed 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.
- */
-```
+When adding **new files**, please include the Apache v2.0 license header. From the top level directory:
+
+Run `mvn license:check -Dlicense.skip=false` to check correct header formatting.
+Run `mvn license:format -Dlicense.skip=false` to automatically add the header when missing.
+
 Thanks for contributing!
  
 ##Building Apex

http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/ec03f12c/engine/src/test/resources/README
----------------------------------------------------------------------
diff --git a/engine/src/test/resources/README b/engine/src/test/resources/README
deleted file mode 100644
index ef675c1..0000000
--- a/engine/src/test/resources/README
+++ /dev/null
@@ -1,9 +0,0 @@
-PKI in java is apparently straight forward. Please read the codeartisan*.pdf file in the same directory on
-complete approach. However I found that web page towards the end of my investigations. I followed the
-following steps for creating rsa.pub and rsa.prv files.
-
-$ ssh-keyget -t rsa -f ./id_rsa # just press enter when asked to enter passphrase and then repeat it again.
-$ openssl rsa -in id_rsa -pubout -outform DER -out rsa.pub # this gets you public key in X509 encoded format
-$ openssl pkcs8 -topk8 -inform PEM -outform DER -in id_rsa  -nocrypt > rsa.prv # this gets you private key in pkcs8 encoded format
-
-Original files and resultant files are stored in this directory.
\ No newline at end of file