From 920efc88eb4e6e901819eb9bab87d138ed388807 Mon Sep 17 00:00:00 2001
From: Tor-Einar Skog <tor-einar.skog@nibio.no>
Date: Wed, 29 Nov 2023 14:02:18 +0100
Subject: [PATCH] Update license to GNU Affero GPL v3

---
 .../LygusRugulipennisModel.java                | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/src/main/java/no/nibio/vips/model/lygusrugulipennismodel/LygusRugulipennisModel.java b/src/main/java/no/nibio/vips/model/lygusrugulipennismodel/LygusRugulipennisModel.java
index 245b020..0dd0c72 100755
--- a/src/main/java/no/nibio/vips/model/lygusrugulipennismodel/LygusRugulipennisModel.java
+++ b/src/main/java/no/nibio/vips/model/lygusrugulipennismodel/LygusRugulipennisModel.java
@@ -136,7 +136,23 @@ public class LygusRugulipennisModel extends I18nImpl implements Model{
 
     @Override
     public String getLicense() {
-        return "GNU AFFERO GENERAL PUBLIC LICENSE Version 3";
+        return 
+                "  Copyright (c) 2016 NIBIO <http://www.nibio.no/>. \n" +
+                "  \n" +
+                "  This file is part of LygusRugulipennisModel.\n" +
+                "  This program is free software: you can redistribute it and/or modify\n" +
+                "  it under the terms of the GNU Affero General Public License as published by\n" +
+                "  the Free Software Foundation, either version 3 of the License, or\n" +
+                "  (at your option) any later version.\n" +
+                " \n" +
+                "  This program is distributed in the hope that it will be useful,\n" +
+                "  but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +
+                "  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n" +
+                "  GNU Affero General Public License for more details.\n" +
+                " \n" +
+                "  You should have received a copy of the GNU Affero General Public License\n" +
+                "  along with this program.  If not, see <https://www.gnu.org/licenses/>.\n" +
+                "  \n" ;
     }
 
     @Override
-- 
GitLab