Skip to content
Snippets Groups Projects
Commit ac3b7ac2 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] add missing thrid-party license + add license header

[fix] remove unused github maven plugin
parent 673a6b29
No related branches found
No related tags found
No related merge requests found
Showing
with 399 additions and 27 deletions
# Generated by org.codehaus.mojo.license.AddThirdPartyMojo
#-------------------------------------------------------------------------------
# Already used licenses in project :
# - Apache 2.0
# - BSD License
# - CDDL
# - CDDL+GPL
# - COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
# - Common Development and Distribution License (CDDL) v1.0
# - Dual license consisting of the CDDL v1.1 and GPL v2
# - GPLv2+CE
# - General Public License (GPL) v3
# - Indiana University Extreme! Lab Software License, vesion 1.1.1
# - Lesser General Public License (LGPL) v 3.0
# - Lesser General Public License (LPGL)
# - Lesser General Public License (LPGL) v 2.1
# - MIT License
# - The Apache Software License, Version 2.0
#-------------------------------------------------------------------------------
# Please fill the missing licenses for dependencies :
#
#
#Tue Mar 28 09:33:08 CEST 2017
commons-primitives--commons-primitives--1.0=The Apache Software License, Version 2.0
dnl.utils--j-text-utils--0.3.3=GNU General Lesser Public License (LGPL) version 3.0
net.sf.opencsv--opencsv--2.3=GNU General Lesser Public License (LGPL) version 3.0
package org.duniter.core.client.service.bma; package org.duniter.core.client.service.bma;
/*-
* #%L
* Duniter4j :: Core Client API
* %%
* Copyright (C) 2014 - 2017 EIS
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
import org.duniter.core.exception.TechnicalException; import org.duniter.core.exception.TechnicalException;
/** /**
......
package org.duniter.core.beans; package org.duniter.core.beans;
/*-
* #%L
* Duniter4j :: Core Shared
* %%
* Copyright (C) 2014 - 2017 EIS
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
import org.duniter.core.exception.TechnicalException; import org.duniter.core.exception.TechnicalException;
/** /**
......
package org.duniter.core.model; package org.duniter.core.model;
/*-
* #%L
* Duniter4j :: Core Shared
* %%
* Copyright (C) 2014 - 2017 EIS
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
public class SmtpConfig { public class SmtpConfig {
...@@ -75,4 +97,4 @@ public class SmtpConfig { ...@@ -75,4 +97,4 @@ public class SmtpConfig {
public void setStartTLS(boolean startTLS) { public void setStartTLS(boolean startTLS) {
this.startTLS = startTLS; this.startTLS = startTLS;
} }
} }
\ No newline at end of file
package org.duniter.core.util.protocols.classpath; package org.duniter.core.util.protocols.classpath;
/*-
* #%L
* Duniter4j :: Core Shared
* %%
* Copyright (C) 2014 - 2017 EIS
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
import org.duniter.core.exception.TechnicalException; import org.duniter.core.exception.TechnicalException;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
...@@ -29,4 +51,4 @@ public class Handler extends URLStreamHandler { ...@@ -29,4 +51,4 @@ public class Handler extends URLStreamHandler {
} }
return resourceUrl.openConnection(); return resourceUrl.openConnection();
} }
} }
\ No newline at end of file
package org.duniter.core.util.url; package org.duniter.core.util.url;
/*-
* #%L
* Duniter4j :: Core Shared
* %%
* Copyright (C) 2014 - 2017 EIS
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
import org.duniter.core.exception.TechnicalException; import org.duniter.core.exception.TechnicalException;
import java.net.MalformedURLException; import java.net.MalformedURLException;
......
package org.duniter.core.service; package org.duniter.core.service;
/*-
* #%L
* Duniter4j :: Core Shared
* %%
* Copyright (C) 2014 - 2017 EIS
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
import org.duniter.core.model.SmtpConfig; import org.duniter.core.model.SmtpConfig;
import org.duniter.core.test.TestFixtures; import org.duniter.core.test.TestFixtures;
import org.junit.Before; import org.junit.Before;
......
package org.duniter.core.util.http; package org.duniter.core.util.http;
/*-
* #%L
* Duniter4j :: Core Shared
* %%
* Copyright (C) 2014 - 2017 EIS
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
import org.junit.Assert; import org.junit.Assert;
import org.junit.Test; import org.junit.Test;
......
package org.duniter.elasticsearch.beans; package org.duniter.elasticsearch.beans;
/*-
* #%L
* Duniter4j :: ElasticSearch Core plugin
* %%
* Copyright (C) 2014 - 2017 EIS
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
import org.duniter.core.beans.Bean; import org.duniter.core.beans.Bean;
import org.duniter.core.beans.BeanCreationException; import org.duniter.core.beans.BeanCreationException;
import org.duniter.core.beans.BeanFactory; import org.duniter.core.beans.BeanFactory;
......
package org.duniter.elasticsearch.client; package org.duniter.elasticsearch.client;
/*-
* #%L
* Duniter4j :: ElasticSearch Core plugin
* %%
* Copyright (C) 2014 - 2017 EIS
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
import org.duniter.core.beans.Bean; import org.duniter.core.beans.Bean;
import org.duniter.core.client.model.local.LocalEntity; import org.duniter.core.client.model.local.LocalEntity;
import org.duniter.elasticsearch.dao.handler.StringReaderHandler; import org.duniter.elasticsearch.dao.handler.StringReaderHandler;
......
package org.duniter.elasticsearch.dao; package org.duniter.elasticsearch.dao;
/*-
* #%L
* Duniter4j :: ElasticSearch Core plugin
* %%
* Copyright (C) 2014 - 2017 EIS
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
import org.duniter.core.beans.Bean; import org.duniter.core.beans.Bean;
import org.duniter.core.client.model.bma.BlockchainBlock; import org.duniter.core.client.model.bma.BlockchainBlock;
......
package org.duniter.elasticsearch.dao; package org.duniter.elasticsearch.dao;
/*-
* #%L
* Duniter4j :: ElasticSearch Core plugin
* %%
* Copyright (C) 2014 - 2017 EIS
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
import org.duniter.core.client.dao.CurrencyDao; import org.duniter.core.client.dao.CurrencyDao;
/** /**
......
package org.duniter.elasticsearch.dao; package org.duniter.elasticsearch.dao;
/*-
* #%L
* Duniter4j :: ElasticSearch Core plugin
* %%
* Copyright (C) 2014 - 2017 EIS
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
import org.duniter.elasticsearch.dao.handler.StringReaderHandler; import org.duniter.elasticsearch.dao.handler.StringReaderHandler;
/** /**
......
package org.duniter.elasticsearch.dao; package org.duniter.elasticsearch.dao;
/*-
* #%L
* Duniter4j :: ElasticSearch Core plugin
* %%
* Copyright (C) 2014 - 2017 EIS
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
import org.duniter.elasticsearch.dao.handler.StringReaderHandler; import org.duniter.elasticsearch.dao.handler.StringReaderHandler;
import org.elasticsearch.common.xcontent.XContentBuilder; import org.elasticsearch.common.xcontent.XContentBuilder;
......
package org.duniter.elasticsearch.dao; package org.duniter.elasticsearch.dao;
/*-
* #%L
* Duniter4j :: ElasticSearch Core plugin
* %%
* Copyright (C) 2014 - 2017 EIS
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
import org.elasticsearch.common.xcontent.XContentBuilder; import org.elasticsearch.common.xcontent.XContentBuilder;
import java.util.Map; import java.util.Map;
......
package org.duniter.elasticsearch.dao.handler; package org.duniter.elasticsearch.dao.handler;
/*-
* #%L
* Duniter4j :: ElasticSearch Core plugin
* %%
* Copyright (C) 2014 - 2017 EIS
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
import java.util.regex.Pattern; import java.util.regex.Pattern;
public class AddSequenceAttributeHandler implements StringReaderHandler { public class AddSequenceAttributeHandler implements StringReaderHandler {
...@@ -23,4 +45,4 @@ public class AddSequenceAttributeHandler implements StringReaderHandler { ...@@ -23,4 +45,4 @@ public class AddSequenceAttributeHandler implements StringReaderHandler {
} }
return line; return line;
} }
} }
\ No newline at end of file
package org.duniter.elasticsearch.dao.handler; package org.duniter.elasticsearch.dao.handler;
/*-
* #%L
* Duniter4j :: ElasticSearch Core plugin
* %%
* Copyright (C) 2014 - 2017 EIS
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
* #L%
*/
public interface StringReaderHandler { public interface StringReaderHandler {
String onReadLine(String line); String onReadLine(String line);
} }
\ No newline at end of file
...@@ -2,19 +2,25 @@ ...@@ -2,19 +2,25 @@
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Already used licenses in project : # Already used licenses in project :
# - ASL, version 2 # - ASL, version 2
# - Apache 2
# - Apache License 2.0 # - Apache License 2.0
# - Apache License Version 2.0 # - Apache License Version 2.0
# - BSD License # - Apache License, Version 2.0
# - BSD
# - BSD licence
# - Bouncy Castle Licence
# - CC0 1.0 Universal # - CC0 1.0 Universal
# - COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 # - CDDL
# - CDDL+GPL
# - Common Development and Distribution License (CDDL) v1.0
# - Dual license consisting of the CDDL v1.1 and GPL v2
# - Eclipse Public License 1.0 # - Eclipse Public License 1.0
# - GPLv2+CE
# - General Public License (GPL) v3 # - General Public License (GPL) v3
# - Indiana University Extreme! Lab Software License, vesion 1.1.1
# - LGPL, version 2.1 # - LGPL, version 2.1
# - Lesser General Public License (LGPL) v 3.0 # - Lesser General Public License (LGPL) v 3.0
# - Lesser General Public License (LPGL)
# - Lesser General Public License (LPGL) v 2.1
# - MIT License # - MIT License
# - Mozilla Public License 1.1 (MPL 1.1)
# - New BSD License # - New BSD License
# - Public Domain, per Creative Commons CC0 # - Public Domain, per Creative Commons CC0
# - The Apache Software License, Version 2.0 # - The Apache Software License, Version 2.0
...@@ -22,5 +28,7 @@ ...@@ -22,5 +28,7 @@
# Please fill the missing licenses for dependencies : # Please fill the missing licenses for dependencies :
# #
# #
#Tue Jan 05 15:24:57 CET 2016 #Thu Apr 20 14:23:02 CEST 2017
com.googlecode.juniversalchardet--juniversalchardet--1.0.3=Mozilla Public License 1.1 (MPL 1.1)
commons-primitives--commons-primitives--1.0=The Apache Software License, Version 2.0 commons-primitives--commons-primitives--1.0=The Apache Software License, Version 2.0
org.antlr--antlr-runtime--3.3=BSD licence
...@@ -86,8 +86,6 @@ ...@@ -86,8 +86,6 @@
<distribution.snapshotRepository.id>eis-nexus-deploy</distribution.snapshotRepository.id> <distribution.snapshotRepository.id>eis-nexus-deploy</distribution.snapshotRepository.id>
<distribution.snapshotRepository.url>http://nexus.e-is.pro/nexus/content/repositories/duniter4j-snapshots</distribution.snapshotRepository.url> <distribution.snapshotRepository.url>http://nexus.e-is.pro/nexus/content/repositories/duniter4j-snapshots</distribution.snapshotRepository.url>
<github.global.server>github</github.global.server>
<assembly.skip>false</assembly.skip> <assembly.skip>false</assembly.skip>
</properties> </properties>
...@@ -225,7 +223,7 @@ ...@@ -225,7 +223,7 @@
<dependency> <dependency>
<groupId>org.abstractj.kalium</groupId> <groupId>org.abstractj.kalium</groupId>
<artifactId>kalium</artifactId> <artifactId>kalium</artifactId>
<version>0.5.1</version> <version>${kalium.version}</version>
</dependency> </dependency>
<!-- scrypt lib --> <!-- scrypt lib -->
<dependency> <dependency>
...@@ -317,7 +315,7 @@ ...@@ -317,7 +315,7 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId> <artifactId>license-maven-plugin</artifactId>
<version>1.12</version> <version>1.9</version>
</plugin> </plugin>
<plugin> <plugin>
...@@ -418,18 +416,6 @@ ...@@ -418,18 +416,6 @@
<version>2.3</version> <version>2.3</version>
</plugin> </plugin>
<plugin>
<groupId>com.github.github</groupId>
<artifactId>github-maven-core</artifactId>
<version>0.12</version>
</plugin>
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.12</version>
</plugin>
<plugin> <plugin>
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version> <version>1.8</version>
...@@ -754,7 +740,7 @@ ...@@ -754,7 +740,7 @@
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId> <artifactId>versions-maven-plugin</artifactId>
<version>2.1</version> <version>2.3</version>
<reportSets> <reportSets>
<reportSet> <reportSet>
<reports> <reports>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment