Gary Gregory
2014-09-25 10:43:08 UTC
How about making the build fail if a header is missing?
Gary
<div>-------- Original message --------</div><div>From: ***@apache.org </div><div>Date:09/25/2014 00:03 (GMT-05:00) </div><div>To: ***@logging.apache.org </div><div>Subject: [2/5] git commit: Add license header. </div><div>
</div>Add license header.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/268d9df4
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/268d9df4
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/268d9df4
Branch: refs/heads/master
Commit: 268d9df487fb7249e940f1a9b641e179c9bd97fe
Parents: 310e0c4
Author: Matt Sicker <***@apache.org>
Authored: Wed Sep 24 22:18:05 2014 -0500
Committer: Matt Sicker <***@apache.org>
Committed: Wed Sep 24 23:03:31 2014 -0500
----------------------------------------------------------------------
.../org/apache/logging/log4j/spi/LoggerAdapter.java | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/268d9df4/log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerAdapter.java
----------------------------------------------------------------------
diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerAdapter.java b/log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerAdapter.java
index 26f2dcf..6bac9bd 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerAdapter.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerAdapter.java
@@ -1,3 +1,19 @@
+/*
+ * 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.
+ */
package org.apache.logging.log4j.spi;
import java.io.Closeable;
Gary
<div>-------- Original message --------</div><div>From: ***@apache.org </div><div>Date:09/25/2014 00:03 (GMT-05:00) </div><div>To: ***@logging.apache.org </div><div>Subject: [2/5] git commit: Add license header. </div><div>
</div>Add license header.
Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/268d9df4
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/268d9df4
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/268d9df4
Branch: refs/heads/master
Commit: 268d9df487fb7249e940f1a9b641e179c9bd97fe
Parents: 310e0c4
Author: Matt Sicker <***@apache.org>
Authored: Wed Sep 24 22:18:05 2014 -0500
Committer: Matt Sicker <***@apache.org>
Committed: Wed Sep 24 23:03:31 2014 -0500
----------------------------------------------------------------------
.../org/apache/logging/log4j/spi/LoggerAdapter.java | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/268d9df4/log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerAdapter.java
----------------------------------------------------------------------
diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerAdapter.java b/log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerAdapter.java
index 26f2dcf..6bac9bd 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerAdapter.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerAdapter.java
@@ -1,3 +1,19 @@
+/*
+ * 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.
+ */
package org.apache.logging.log4j.spi;
import java.io.Closeable;