From a2b275c8dad96f63c690da4219e0e62cd4917169 Mon Sep 17 00:00:00 2001 From: David Hayes Date: Thu, 31 Jul 2025 14:06:11 +0100 Subject: [PATCH] Add pluginRepositories to pom.xml Adds pluginRepositories to the pom.xml to allow the javacc plugin to not download from insecure repositories (https vs http). Also adds missing copyrights which were added by maven. --- pom.xml | 16 ++++++++++++++++ .../statement/select/TimeTravelTest.java | 9 +++++++++ .../statement/select/WithItemTest.java | 9 +++++++++ 3 files changed, 34 insertions(+) diff --git a/pom.xml b/pom.xml index 5cdaea540..877cf0c32 100644 --- a/pom.xml +++ b/pom.xml @@ -40,6 +40,22 @@ false + + + javacc8-snapshots + + true + + false + https://central.sonatype.com/repository/maven-snapshots/ + + + ossrh-snapshots + https://central.sonatype.com/repository/maven-snapshots/ + true + false + + diff --git a/src/test/java/net/sf/jsqlparser/statement/select/TimeTravelTest.java b/src/test/java/net/sf/jsqlparser/statement/select/TimeTravelTest.java index 8f79d9b5d..1c7f2eb23 100644 --- a/src/test/java/net/sf/jsqlparser/statement/select/TimeTravelTest.java +++ b/src/test/java/net/sf/jsqlparser/statement/select/TimeTravelTest.java @@ -1,3 +1,12 @@ +/*- + * #%L + * JSQLParser library + * %% + * Copyright (C) 2004 - 2025 JSQLParser + * %% + * Dual licensed under GNU LGPL 2.1 or Apache License 2.0 + * #L% + */ package net.sf.jsqlparser.statement.select; import net.sf.jsqlparser.JSQLParserException; diff --git a/src/test/java/net/sf/jsqlparser/statement/select/WithItemTest.java b/src/test/java/net/sf/jsqlparser/statement/select/WithItemTest.java index 99eec0b19..7517b9a36 100644 --- a/src/test/java/net/sf/jsqlparser/statement/select/WithItemTest.java +++ b/src/test/java/net/sf/jsqlparser/statement/select/WithItemTest.java @@ -1,3 +1,12 @@ +/*- + * #%L + * JSQLParser library + * %% + * Copyright (C) 2004 - 2025 JSQLParser + * %% + * Dual licensed under GNU LGPL 2.1 or Apache License 2.0 + * #L% + */ package net.sf.jsqlparser.statement.select; import net.sf.jsqlparser.JSQLParserException;