Permalink
Browse files

Added legal blurb text files

Added pom.xml resources entry to include them in the META-INF directory
Added license headers to all files missing one
Changed startup detection, requesting exit code
  • Loading branch information...
1 parent 6a0e961 commit f9c21c05efac83ff7df2c00a469dcf24f9833e2a @digitalstain digitalstain committed Jun 22, 2011
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -0,0 +1,29 @@
+Neo4j
+Copyright © 2002-2011 Network Engine for Objects in Lund AB (referred to
+in this notice as “Neo Technology”)
+ [http://neotechnology.com]
+
+This product includes software ("Software") developed by Neo Technology.
+
+The copyright in the Software is owned by Neo Technology.
+The Software developed and owned by Neo Technology is licensed under
+the GNU GENERAL PUBLIC LICENSE Version 3
+(http://www.fsf.org/licensing/licenses/gpl-3.0.html) ("GPL")
+to all third parties and that license, as required by the GPL, is
+included in the LICENSE.txt file.
+
+However, if you have executed an End User Software License and Services
+Agreement or an OEM Software License and Support Services Agreement, or
+another commercial license agreement with Neo Technology or one of its
+affiliates (each, a "Commercial Agreement"), the terms of the license in
+such Commercial Agreement will supersede the GPL and you may use the
+software solely pursuant to the terms of the relevant Commercial
+Agreement.
+
+
+Third party libraries
+---------------------
+
+Parts of the JNA library are included and licensed under the
+GNU LESSER GENERAL PUBLIC LICENSE v2.1 and is
+Copyright (c) 2007, 2008, 2009, 2010 Wayne Meissner, Timothy Wall, Thomas Boerkel
View
17 pom.xml
@@ -37,5 +37,22 @@
</configuration>
</plugin>
</plugins>
+ <resources>
+
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ <resource>
+ <directory>${basedir}</directory>
+ <targetPath>META-INF</targetPath>
+ <includes>
+ <include>NOTICE.txt</include>
+ <include>LICENSE.txt</include>
+ <include>CHANGES.txt</include>
+ <include>LICENSES.txt</include>
+ </includes>
+ </resource>
+ </resources>
+
</build>
</project>
@@ -1,12 +1,14 @@
/*
- * Advapi32.java
- *
- * Created on 6. August 2007, 11:24
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
+ * This library 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 2.1 of the License, or (at your option) any later version.
+ * <p/>
+ * This library 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.
*/
-
package jnacontrib.jna;
import java.util.ArrayList;
@@ -22,9 +24,9 @@
import com.sun.jna.win32.StdCallLibrary;
/**
- *
- * @author TB
+ * @author Thomas Boerkel
*/
+
public interface Advapi32 extends StdCallLibrary
{
Advapi32 INSTANCE = (Advapi32) Native.loadLibrary("Advapi32", Advapi32.class, Options.UNICODE_OPTIONS);
@@ -1,12 +1,14 @@
/*
- * Options.java
- *
- * Created on 8. August 2007, 17:07
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
+ * This library 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 2.1 of the License, or (at your option) any later version.
+ * <p/>
+ * This library 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.
*/
-
package jnacontrib.jna;
import static com.sun.jna.Library.OPTION_FUNCTION_MAPPER;
@@ -19,9 +21,9 @@
import com.sun.jna.win32.W32APITypeMapper;
/**
- *
- * @author TB
+ * @author Thomas Boerkel
*/
+
public interface Options
{
Map<String, Object> UNICODE_OPTIONS = new HashMap<String, Object>()
@@ -1,21 +1,23 @@
/*
- * WINBASE.java
- *
- * Created on 5. September 2007, 11:24
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
+ * This library 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 2.1 of the License, or (at your option) any later version.
+ * <p/>
+ * This library 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.
*/
-
package jnacontrib.jna;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
/**
- *
- * @author TB
+ * @author Thomas Boerkel
*/
+
public interface WINBASE
{
/*
@@ -1,18 +1,20 @@
/*
- * WINERROR.java
- *
- * Created on 7. August 2007, 08:09
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
+ * This library 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 2.1 of the License, or (at your option) any later version.
+ * <p/>
+ * This library 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.
*/
-
package jnacontrib.jna;
/**
- *
- * @author TB
+ * @author Thomas Boerkel
*/
+
public interface WINERROR
{
public final static int ERROR_SUCCESS = 0;
@@ -1,18 +1,20 @@
/*
- * WINNT.java
- *
- * Created on 8. August 2007, 13:41
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
+ * This library 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 2.1 of the License, or (at your option) any later version.
+ * <p/>
+ * This library 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.
*/
-
package jnacontrib.jna;
/**
- *
- * @author TB
+ * @author Thomas Boerkel
*/
+
public interface WINNT
{
public final static int DELETE = 0x00010000;
@@ -1,17 +1,18 @@
/*
- * WINREG.java
- *
- * Created on 17. August 2007, 14:32
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
+ * This library 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 2.1 of the License, or (at your option) any later version.
+ * <p/>
+ * This library 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.
*/
-
package jnacontrib.jna;
/**
- *
- * @author TB
+ * @author Thomas Boerkel
*/
public interface WINREG
{
@@ -1,18 +1,20 @@
/*
- * WINSVC.java
- *
- * Created on 8. August 2007, 15:07
- *
- * To change this template, choose Tools | Template Manager
- * and open the template in the editor.
+ * This library 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 2.1 of the License, or (at your option) any later version.
+ * <p/>
+ * This library 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.
*/
-
package jnacontrib.jna;
/**
- *
- * @author TB
+ * @author Thomas Boerkel
*/
+
public interface WINSVC
{
public final static int SERVICE_CONTROL_STOP = 0x00000001;
Oops, something went wrong.

0 comments on commit f9c21c0

Please sign in to comment.