Skip to content

Commit a2b275c

Browse files
author
David Hayes
committed
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.
1 parent 88d29b6 commit a2b275c

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,22 @@
4040
<releases><enabled>false</enabled></releases>
4141
</repository>
4242
</repositories>
43+
<pluginRepositories>
44+
<pluginRepository>
45+
<id>javacc8-snapshots</id>
46+
<snapshots>
47+
<enabled>true</enabled>
48+
</snapshots>
49+
<releases><enabled>false</enabled></releases>
50+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
51+
</pluginRepository>
52+
<pluginRepository>
53+
<id>ossrh-snapshots</id>
54+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
55+
<snapshots><enabled>true</enabled></snapshots>
56+
<releases><enabled>false</enabled></releases>
57+
</pluginRepository>
58+
</pluginRepositories>
4359

4460
<dependencies>
4561
<!-- needed for parsing the Keywords via JTree in ParserKeywordsUtils -->

src/test/java/net/sf/jsqlparser/statement/select/TimeTravelTest.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/*-
2+
* #%L
3+
* JSQLParser library
4+
* %%
5+
* Copyright (C) 2004 - 2025 JSQLParser
6+
* %%
7+
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0
8+
* #L%
9+
*/
110
package net.sf.jsqlparser.statement.select;
211

312
import net.sf.jsqlparser.JSQLParserException;

src/test/java/net/sf/jsqlparser/statement/select/WithItemTest.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/*-
2+
* #%L
3+
* JSQLParser library
4+
* %%
5+
* Copyright (C) 2004 - 2025 JSQLParser
6+
* %%
7+
* Dual licensed under GNU LGPL 2.1 or Apache License 2.0
8+
* #L%
9+
*/
110
package net.sf.jsqlparser.statement.select;
211

312
import net.sf.jsqlparser.JSQLParserException;

0 commit comments

Comments
 (0)