|
@@ -3,66 +3,177 @@
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
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">
|
|
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>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
- <parent>
|
|
|
|
|
- <groupId>Odds</groupId>
|
|
|
|
|
- <artifactId>Odds</artifactId>
|
|
|
|
|
- <version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
- <relativePath>../Odds/pom.xml</relativePath>
|
|
|
|
|
- </parent>
|
|
|
|
|
-
|
|
|
|
|
|
|
+ <groupId>nordh.xyz</groupId>
|
|
|
<artifactId>OddsStrategyWeb</artifactId>
|
|
<artifactId>OddsStrategyWeb</artifactId>
|
|
|
<packaging>war</packaging>
|
|
<packaging>war</packaging>
|
|
|
|
|
+ <version>1.0-SNAPSHOT</version>
|
|
|
|
|
+ <name>OddsStrategyWeb</name>
|
|
|
|
|
|
|
|
<properties>
|
|
<properties>
|
|
|
- <maven.compiler.source>21</maven.compiler.source>
|
|
|
|
|
- <maven.compiler.target>21</maven.compiler.target>
|
|
|
|
|
|
|
+ <wicket.version>10.2.0</wicket.version>
|
|
|
|
|
+ <slf4j.version>2.0.16</slf4j.version>
|
|
|
|
|
+ <jetty.version>11.0.21</jetty.version>
|
|
|
|
|
+ <junit.version>5.11.0</junit.version>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
+ <!-- allowed values: R7, 1.0, 1.5, 2.0 or none -->
|
|
|
|
|
+ <wtp.version>none</wtp.version>
|
|
|
</properties>
|
|
</properties>
|
|
|
|
|
|
|
|
- <build>
|
|
|
|
|
- <resources>
|
|
|
|
|
- <resource>
|
|
|
|
|
- <filtering>false</filtering>
|
|
|
|
|
- <directory>src/main/resources</directory>
|
|
|
|
|
- </resource>
|
|
|
|
|
- <resource>
|
|
|
|
|
- <filtering>false</filtering>
|
|
|
|
|
- <directory>src/main/java</directory>
|
|
|
|
|
- <includes>
|
|
|
|
|
- <include>**</include>
|
|
|
|
|
- </includes>
|
|
|
|
|
- <excludes>
|
|
|
|
|
- <exclude>**/*.java</exclude>
|
|
|
|
|
- </excludes>
|
|
|
|
|
- </resource>
|
|
|
|
|
- </resources>
|
|
|
|
|
- <plugins>
|
|
|
|
|
- <plugin>
|
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
- <artifactId>maven-war-plugin</artifactId>
|
|
|
|
|
- <version>3.4.0</version>
|
|
|
|
|
- </plugin>
|
|
|
|
|
- </plugins>
|
|
|
|
|
- </build>
|
|
|
|
|
-
|
|
|
|
|
<dependencies>
|
|
<dependencies>
|
|
|
|
|
+ <!-- WICKET DEPENDENCIES -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.apache.wicket</groupId>
|
|
|
|
|
+ <artifactId>wicket-core</artifactId>
|
|
|
|
|
+ <version>${wicket.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.apache.wicket</groupId>
|
|
|
|
|
+ <artifactId>wicket-native-websocket-javax</artifactId>
|
|
|
|
|
+ <version>${wicket.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!-- OPTIONAL DEPENDENCY
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.apache.wicket</groupId>
|
|
|
|
|
+ <artifactId>wicket-extensions</artifactId>
|
|
|
|
|
+ <version>${wicket.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ -->
|
|
|
|
|
+
|
|
|
|
|
+ <!-- LOGGING DEPENDENCIES - SLF4J-SIMPLE -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.slf4j</groupId>
|
|
|
|
|
+ <artifactId>slf4j-simple</artifactId>
|
|
|
|
|
+ <version>${slf4j.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!-- JUNIT DEPENDENCY FOR TESTING -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.junit.jupiter</groupId>
|
|
|
|
|
+ <artifactId>junit-jupiter-engine</artifactId>
|
|
|
|
|
+ <version>${junit.version}</version>
|
|
|
|
|
+ <scope>test</scope>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- JETTY DEPENDENCIES FOR TESTING -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.apache.wicket</groupId>
|
|
|
|
|
+ <artifactId>wicket-tester</artifactId>
|
|
|
|
|
+ <version>${wicket.version}</version>
|
|
|
|
|
+ <scope>test</scope>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
|
|
+ <artifactId>jetty-server</artifactId>
|
|
|
|
|
+ <scope>test</scope>
|
|
|
|
|
+ <version>${jetty.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
|
|
+ <artifactId>jetty-webapp</artifactId>
|
|
|
|
|
+ <scope>test</scope>
|
|
|
|
|
+ <version>${jetty.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
|
|
+ <artifactId>jetty-jmx</artifactId>
|
|
|
|
|
+ <scope>test</scope>
|
|
|
|
|
+ <version>${jetty.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
<dependency>
|
|
<dependency>
|
|
|
- <groupId>org.apache.wicket</groupId>
|
|
|
|
|
- <artifactId>wicket-core</artifactId>
|
|
|
|
|
- <version>10.2.0</version>
|
|
|
|
|
|
|
+ <groupId>org.eclipse.jetty.websocket</groupId>
|
|
|
|
|
+ <artifactId>websocket-jakarta-server</artifactId>
|
|
|
|
|
+ <scope>test</scope>
|
|
|
|
|
+ <version>${jetty.version}</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- uncomment if WebSocket support is needed
|
|
|
<dependency>
|
|
<dependency>
|
|
|
- <groupId>javax.servlet</groupId>
|
|
|
|
|
- <artifactId>javax.servlet-api</artifactId>
|
|
|
|
|
- <version>4.0.1</version>
|
|
|
|
|
- <scope>provided</scope>
|
|
|
|
|
|
|
+ <groupId>org.eclipse.jetty.websocket</groupId>
|
|
|
|
|
+ <artifactId>websocket-jakarta-server</artifactId>
|
|
|
|
|
+ <version>${jetty.version}</version>
|
|
|
|
|
+ <scope>test</scope>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
+ -->
|
|
|
</dependencies>
|
|
</dependencies>
|
|
|
|
|
+
|
|
|
|
|
+ <build>
|
|
|
|
|
+ <resources>
|
|
|
|
|
+ <resource>
|
|
|
|
|
+ <filtering>false</filtering>
|
|
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
|
|
+ </resource>
|
|
|
|
|
+ <resource>
|
|
|
|
|
+ <filtering>false</filtering>
|
|
|
|
|
+ <directory>src/main/java</directory>
|
|
|
|
|
+ <includes>
|
|
|
|
|
+ <include>**</include>
|
|
|
|
|
+ </includes>
|
|
|
|
|
+ <excludes>
|
|
|
|
|
+ <exclude>**/*.java</exclude>
|
|
|
|
|
+ </excludes>
|
|
|
|
|
+ </resource>
|
|
|
|
|
+ </resources>
|
|
|
|
|
+ <testResources>
|
|
|
|
|
+ <testResource>
|
|
|
|
|
+ <filtering>false</filtering>
|
|
|
|
|
+ <directory>src/test/resources</directory>
|
|
|
|
|
+ </testResource>
|
|
|
|
|
+ <testResource>
|
|
|
|
|
+ <filtering>false</filtering>
|
|
|
|
|
+ <directory>src/test/java</directory>
|
|
|
|
|
+ <includes>
|
|
|
|
|
+ <include>**</include>
|
|
|
|
|
+ </includes>
|
|
|
|
|
+ <excludes>
|
|
|
|
|
+ <exclude>**/*.java</exclude>
|
|
|
|
|
+ </excludes>
|
|
|
|
|
+ </testResource>
|
|
|
|
|
+ </testResources>
|
|
|
|
|
+ <plugins>
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <inherited>true</inherited>
|
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
+ <version>3.13.0</version>
|
|
|
|
|
+ <configuration>
|
|
|
|
|
+ <source>17</source>
|
|
|
|
|
+ <target>17</target>
|
|
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
|
|
+ <showWarnings>true</showWarnings>
|
|
|
|
|
+ <showDeprecation>true</showDeprecation>
|
|
|
|
|
+ </configuration>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
+ <artifactId>maven-war-plugin</artifactId>
|
|
|
|
|
+ <version>3.4.0</version>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.eclipse.jetty</groupId>
|
|
|
|
|
+ <artifactId>jetty-maven-plugin</artifactId>
|
|
|
|
|
+ <version>${jetty.version}</version>
|
|
|
|
|
+ <configuration>
|
|
|
|
|
+ <systemProperties>
|
|
|
|
|
+ <systemProperty>
|
|
|
|
|
+ <name>maven.project.build.directory.test-classes</name>
|
|
|
|
|
+ <value>${project.build.directory}/test-classes</value>
|
|
|
|
|
+ </systemProperty>
|
|
|
|
|
+ </systemProperties>
|
|
|
|
|
+ <jettyXmls>${project.basedir}/src/test/jetty/jetty.xml,${project.basedir}/src/test/jetty/jetty-ssl.xml,${project.basedir}/src/test/jetty/jetty-http.xml,${project.basedir}/src/test/jetty/jetty-https.xml</jettyXmls>
|
|
|
|
|
+ </configuration>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ </plugins>
|
|
|
|
|
+ </build>
|
|
|
|
|
+
|
|
|
<repositories>
|
|
<repositories>
|
|
|
<repository>
|
|
<repository>
|
|
|
- <id>nordhs-repo</id>
|
|
|
|
|
- <name>Nords Repo</name>
|
|
|
|
|
- <url>http://nordh.xyz:9099/repository/nordhs-repo/</url>
|
|
|
|
|
|
|
+ <id>Apache Nexus</id>
|
|
|
|
|
+ <url>https://repository.apache.org/content/repositories/snapshots/</url>
|
|
|
|
|
+ <releases>
|
|
|
|
|
+ <enabled>false</enabled>
|
|
|
|
|
+ </releases>
|
|
|
|
|
+ <snapshots>
|
|
|
|
|
+ <enabled>true</enabled>
|
|
|
|
|
+ </snapshots>
|
|
|
</repository>
|
|
</repository>
|
|
|
</repositories>
|
|
</repositories>
|
|
|
|
|
|