Add missing license headers 68/42368/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 23 Jul 2016 01:27:29 +0000 (21:27 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 23 Jul 2016 01:27:29 +0000 (21:27 -0400)
Change-Id: I5a284260b0700e605ca6781131191955339df3eb
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
common/checkstyle-logging/src/test/java/org/opendaylight/yangtools/checkstyle/FileNameUtilTest.java
websocket/websocket-client/pom.xml

index ffd5e9cf83ac4f33017facfc3096fee9646284a5..d1226413f53a98bd06b7c336f652bec93f69d4c9 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2016 Red Hat, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
 package org.opendaylight.yangtools.checkstyle;
 
 import static org.junit.Assert.assertEquals;
index 235005842d5dc8f6bdc92c0c5f803fe81afdc270..355ff40f94ec5556c217f1b50792d902ad3ed2d9 100644 (file)
     <build>
         <plugins>
             <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-checkstyle-plugin</artifactId>
-                <configuration>
-                    <includeTestSourceDirectory>false</includeTestSourceDirectory>
-                </configuration>
+                <executions>
+                    <execution>
+                        <id>check-license</id>
+                        <configuration>
+                            <excludes>
+                                <!-- Skip Apache Licensed files -->
+                                org/opendaylight/yangtools/websocket/server/WebSocketServerHandler.java,
+                                org/opendaylight/yangtools/websocket/server/WebSocketServer.java,
+                                org/opendaylight/yangtools/websocket/server/WebSocketServerInitializer.java,
+                            </excludes>
+                        </configuration>
+                    </execution>
+                </executions>
             </plugin>
         </plugins>
     </build>