Skip to content

Commit

Permalink
Add LGPL license headers
Browse files Browse the repository at this point in the history
Uses the Maven License plugin. Also renamed the artifacts to xrootd4j.
  • Loading branch information
gbehrmann committed Nov 17, 2011
1 parent fbce64c commit 6032229
Show file tree
Hide file tree
Showing 74 changed files with 1,387 additions and 8 deletions.
34 changes: 32 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.dcache</groupId>
<version>1.0-SNAPSHOT</version>
<artifactId>xrootd-parent</artifactId>
<artifactId>xrootd4j-parent</artifactId>
<packaging>pom</packaging>

<name>xrootd parent</name>
<name>xrootd4j parent</name>
<url>http://www.dcache.org/</url>

<organization>
Expand All @@ -27,6 +27,20 @@
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>mc-release</id>
<name>Local Maven repository of releases</name>
<url>http://mc-repo.googlecode.com/svn/maven2/releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
</pluginRepositories>

<dependencyManagement>
<dependencies>
<dependency>
Expand Down Expand Up @@ -111,6 +125,22 @@
</archive>
</configuration>
</plugin>

<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<configuration>
<header>src/etc/header.txt</header>
<strictCheck>true</strictCheck>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down
17 changes: 17 additions & 0 deletions src/etc/header.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Copyright (C) 2011 dCache.org <[email protected]>

This file is part of xrootd4j.

xrootd4j is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

xrootd4j is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with xrootd4j. If not, see
<http://www.gnu.org/licenses/>.
6 changes: 3 additions & 3 deletions xrootd-lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

<parent>
<groupId>org.dcache</groupId>
<artifactId>xrootd-parent</artifactId>
<artifactId>xrootd4j-parent</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>

<artifactId>xrootd-lib</artifactId>
<artifactId>xrootd4j-lib</artifactId>
<packaging>jar</packaging>

<name>xrootd library</name>
<name>xrootd4j core protocol</name>

<dependencies>
<dependency>
Expand Down
19 changes: 19 additions & 0 deletions xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdDecoder.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2011 dCache.org <[email protected]>
*
* This file is part of xrootd4j.
*
* xrootd4j is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* xrootd4j is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with xrootd4j. If not, see
* <http://www.gnu.org/licenses/>.
*/
package org.dcache.xrootd.core;

import org.jboss.netty.handler.codec.frame.FrameDecoder;
Expand Down
19 changes: 19 additions & 0 deletions xrootd-lib/src/main/java/org/dcache/xrootd/core/XrootdEncoder.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2011 dCache.org <[email protected]>
*
* This file is part of xrootd4j.
*
* xrootd4j is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* xrootd4j is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with xrootd4j. If not, see
* <http://www.gnu.org/licenses/>.
*/
package org.dcache.xrootd.core;

import static org.jboss.netty.channel.Channels.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2011 dCache.org <[email protected]>
*
* This file is part of xrootd4j.
*
* xrootd4j is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* xrootd4j is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with xrootd4j. If not, see
* <http://www.gnu.org/licenses/>.
*/
package org.dcache.xrootd.core;

public class XrootdException extends Exception
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2011 dCache.org <[email protected]>
*
* This file is part of xrootd4j.
*
* xrootd4j is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* xrootd4j is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with xrootd4j. If not, see
* <http://www.gnu.org/licenses/>.
*/
package org.dcache.xrootd.core;

import java.util.Arrays;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2011 dCache.org <[email protected]>
*
* This file is part of xrootd4j.
*
* xrootd4j is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* xrootd4j is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with xrootd4j. If not, see
* <http://www.gnu.org/licenses/>.
*/
package org.dcache.xrootd.core;

import org.jboss.netty.channel.ChannelHandlerContext;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2011 dCache.org <[email protected]>
*
* This file is part of xrootd4j.
*
* xrootd4j is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* xrootd4j is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with xrootd4j. If not, see
* <http://www.gnu.org/licenses/>.
*/
package org.dcache.xrootd.protocol;

public interface XrootdProtocol {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2011 dCache.org <[email protected]>
*
* This file is part of xrootd4j.
*
* xrootd4j is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* xrootd4j is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with xrootd4j. If not, see
* <http://www.gnu.org/licenses/>.
*/
package org.dcache.xrootd.protocol.messages;

import java.nio.charset.Charset;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2011 dCache.org <[email protected]>
*
* This file is part of xrootd4j.
*
* xrootd4j is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* xrootd4j is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with xrootd4j. If not, see
* <http://www.gnu.org/licenses/>.
*/
package org.dcache.xrootd.protocol.messages;

import org.jboss.netty.buffer.ChannelBuffer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2011 dCache.org <[email protected]>
*
* This file is part of xrootd4j.
*
* xrootd4j is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* xrootd4j is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with xrootd4j. If not, see
* <http://www.gnu.org/licenses/>.
*/
package org.dcache.xrootd.protocol.messages;
import static org.dcache.xrootd.protocol.XrootdProtocol.*;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2011 dCache.org <[email protected]>
*
* This file is part of xrootd4j.
*
* xrootd4j is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* xrootd4j is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with xrootd4j. If not, see
* <http://www.gnu.org/licenses/>.
*/
package org.dcache.xrootd.protocol.messages;

import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2011 dCache.org <[email protected]>
*
* This file is part of xrootd4j.
*
* xrootd4j is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* xrootd4j is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with xrootd4j. If not, see
* <http://www.gnu.org/licenses/>.
*/
package org.dcache.xrootd.protocol.messages;

import org.dcache.xrootd.protocol.XrootdProtocol;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2011 dCache.org <[email protected]>
*
* This file is part of xrootd4j.
*
* xrootd4j is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* xrootd4j is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with xrootd4j. If not, see
* <http://www.gnu.org/licenses/>.
*/
package org.dcache.xrootd.protocol.messages;

import static org.dcache.xrootd.protocol.XrootdProtocol.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/**
* Copyright (C) 2011 dCache.org <[email protected]>
*
* This file is part of xrootd4j.
*
* xrootd4j is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* xrootd4j is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with xrootd4j. If not, see
* <http://www.gnu.org/licenses/>.
*/
package org.dcache.xrootd.protocol.messages;

import java.util.List;
Expand Down
Loading

0 comments on commit 6032229

Please sign in to comment.