Change-Id: I5a284260b0700e605ca6781131191955339df3eb
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
+/*
+ * 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;
<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>