summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Culkin <scorpress@gmail.com>2024-01-21 15:47:02 -0500
committerBenjamin Culkin <scorpress@gmail.com>2024-01-21 15:47:02 -0500
commit248018c48444c31df057db9f58a554a305dc5ce3 (patch)
tree6db4edfd831f5b6df8061316bbb72b1fbb5f19a2
parentf761e16078ef0265c2628ace912652c8e9659a2f (diff)
Fix things
-rw-r--r--pom.xml92
-rw-r--r--src/main/java/bjc/rgens/parser/RGrammars.java2
2 files changed, 42 insertions, 52 deletions
diff --git a/pom.xml b/pom.xml
index 7ff0012..2cbc6db 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,7 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
- <groupId>bjc</groupId>
+ <groupId>com.ashardalon</groupId>
<artifactId>RGens</artifactId>
<version>0.0.2-SNAPSHOT</version>
<packaging>jar</packaging>
@@ -45,6 +45,7 @@
<!-- Sets the VM argument line used
when unit tests are run. -->
<argLine>${surefireArgLine}</argLine>
+ <forkCount>0</forkCount>
</configuration>
</plugin>
<plugin>
@@ -62,6 +63,13 @@
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.7.1</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-webdav-jackrabbit</artifactId>
+ <version>3.5.3</version>
+ </dependency>
+ </dependencies>
</plugin>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
@@ -78,49 +86,6 @@
</arguments>
</configuration>
</plugin>
- <plugin>
- <groupId>org.jacoco</groupId>
- <artifactId>jacoco-maven-plugin</artifactId>
- <version>0.8.2</version>
- <executions>
- <!--
- Prepares the property pointing to the JaCoCo runtime agent which
- is passed as VM argument when Maven the Surefire plugin is executed.
- -->
- <execution>
- <id>pre-unit-test</id>
- <goals>
- <goal>prepare-agent</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
- <!--
- Sets the name of the property containing the settings
- for JaCoCo runtime agent.
- -->
- <propertyName>surefireArgLine</propertyName>
- </configuration>
- </execution>
- <!--
- Ensures that the code coverage report for unit tests is created after
- unit tests have been run.
- -->
- <execution>
- <id>post-unit-test</id>
- <phase>test</phase>
- <goals>
- <goal>report</goal>
- </goals>
- <configuration>
- <!-- Sets the path to the file which contains the execution data. -->
- <dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
- <!-- Sets the output directory for the code coverage report. -->
- <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
<resources>
<resource>
@@ -134,12 +99,12 @@
</build>
<dependencies>
<dependency>
- <groupId>bjc</groupId>
+ <groupId>com.ashardalon</groupId>
<artifactId>BJC-Utils2</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency>
<dependency>
- <groupId>bjc</groupId>
+ <groupId>com.ashardalon</groupId>
<artifactId>inflexion</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency>
@@ -159,7 +124,7 @@
<version>1.0</version>
</dependency>
<dependency>
- <groupId>io.github.bculkin2442</groupId>
+ <groupId>com.ashardalon</groupId>
<artifactId>esodata</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency>
@@ -174,10 +139,35 @@
<artifactId>maven-changes-plugin</artifactId>
<version>2.12.1</version>
</plugin>
- <plugin>
- <artifactId>maven-changelog-plugin</artifactId>
- <version>2.3</version>
- </plugin>
</plugins>
</reporting>
+ <distributionManagement>
+ <site>
+ <id>ashardalon-dav</id>
+ <url>dav:https://ashardalon.com/projects/rgens</url>
+ </site>
+ <snapshotRepository>
+ <id>ashardalon</id>
+ <name>Ashardalon Snapshots</name>
+ <url>https://repo.ashardalon.com/snapshots</url>
+ </snapshotRepository>
+ <repository>
+ <id>ashardalon</id>
+ <name>Ashardalon Releases</name>
+ <url>https://repo.ashardalon.com/releases</url>
+ </repository>
+ </distributionManagement>
+ <repositories>
+ <repository>
+ <id>ashardalon-forge</id>
+ <name>Ashardalon Forge</name>
+ <url>https://repo.ashardalon.com</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
</project>
diff --git a/src/main/java/bjc/rgens/parser/RGrammars.java b/src/main/java/bjc/rgens/parser/RGrammars.java
index b049731..0d35469 100644
--- a/src/main/java/bjc/rgens/parser/RGrammars.java
+++ b/src/main/java/bjc/rgens/parser/RGrammars.java
@@ -20,7 +20,7 @@ public class RGrammars {
private static void loadSet() {
try {
- URI rsc = RGrammarTest.class.getResource("/server-config-sample.gcfg").toURI();
+ URI rsc = RGrammars.class.getResource("/server-config-sample.gcfg").toURI();
Map<String, String> env = new HashMap<>();
env.put("create", "true");