Files
iparenteau a6df549919
Locusworks Team/portal-webapp/pipeline/head There was a failure building this commit
Upgraded all libraries, switched to npm, upgraded angular and jdk21
2026-09-04 15:22:35 -05:00

408 lines
12 KiB
XML

<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>net.locusworks</groupId>
<artifactId>portal</artifactId>
<version>1.0.0-RELEASE</version>
<packaging>pom</packaging>
<name>Portal Web site</name>
<description>Website used for automated script runner</description>
<inceptionYear>2017</inceptionYear>
<organization>
<name>Locusworks</name>
<url>https://www.locusworks.net</url>
</organization>
<scm>
<connection>ssh://gitea@gitea.locusworks.net:7999/locusworks/portal-webapp.git</connection>
</scm>
<distributionManagement>
<snapshotRepository>
<id>nexus-snapshot</id>
<url>${nexus.repo}/repository/locusworks-snapshot/</url>
</snapshotRepository>
<repository>
<id>nexus-release</id>
<url>${nexus.repo}/repository/locusworks-release/</url>
</repository>
</distributionManagement>
<repositories>
<repository>
<id>locusworks-public</id>
<name>locusworks-public</name>
<url>${nexus.repo}/repository/locusworks-public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>locusworks-public</id>
<url>${nexus.repo}/repository/locusworks-public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<properties>
<nexus.repo>https://nexus.locusworks.net</nexus.repo>
<java.version>21</java.version>
<maven.compiler.release>${java.version}</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<spring-boot.version>4.1.1</spring-boot.version>
<tomcat.version>11.0.25</tomcat.version>
<mysql-connector.version>26.7.0</mysql-connector.version>
<!-- Enable with -Dportal.ossIndexEnabled=true and a Maven server named oss-index. -->
<portal.ossIndexEnabled>false</portal.ossIndexEnabled>
<main.basedir>${project.basedir}</main.basedir>
<h2.version>2.4.240</h2.version>
<flyway.version>13.5.0</flyway.version>
<leak-prevention.version>2.7.0</leak-prevention.version>
<current.version>1.0.0-RELEASE</current.version>
<slf4j.version>1.7.25</slf4j.version>
<findbugs.version>3.0.5</findbugs.version>
<junit.version>4.13.2</junit.version>
<frontend-maven-plugin.version>2.0.2</frontend-maven-plugin.version>
<node.version>v24.20.0</node.version>
<npm.version>12.0.2</npm.version>
<flyway_deploy.url> jdbc:mysql://localhost:3306 </flyway_deploy.url>
<flyway_deploy.server> flyway-localhost </flyway_deploy.server>
</properties>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs.version}</version>
<configuration>
<xmlOutput>true</xmlOutput>
<xmlOutputDirectory>target/site</xmlOutputDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.12.0</version>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
<failOnError>false</failOnError>
<additionalDependencies>
<additionalDependency>
<groupId>jakarta.interceptor</groupId>
<artifactId>jakarta.interceptor-api</artifactId>
<version>2.2.0</version>
</additionalDependency>
<additionalDependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>3.0.0</version>
</additionalDependency>
</additionalDependencies>
<groups>
<group>
<title>Locusworks Portal Common Library</title>
<packages>net.locusworks.portal.common*</packages>
</group>
<group>
<title>Locusworks Portal Database Library</title>
<packages>net.locusworks.portal.database*</packages>
</group>
<group>
<title>Locusworks Portal Migration Library</title>
<packages>net.locusworks.portal.migration*</packages>
</group>
<group>
<title>Locusworks Portal WebApp Library</title>
<packages>
net.locusworks.portal.config
:net.locusworks.portal.controllers
:net.locusworks.portal.handlers
:net.locusworks.portal.services
:net.locusworks.portal.utils
:net.locusworks.portal.websocket
</packages>
</group>
</groups>
</configuration>
<reportSets>
<reportSet>
<id>non-aggregate</id>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
<reportSet>
<id>aggregate</id>
<reports>
<report>aggregate</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-maven-plugin</artifactId>
<version>${flyway.version}</version>
<configuration>
<skip>true</skip>
<serverId> ${flyway_deploy.server} </serverId>
<url> ${flyway_deploy.url}?useSSL=false </url>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.21.0</version>
<configuration>
<generateBackupPoms>false</generateBackupPoms>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>13.0.0</version>
<configuration>
<skipProvidedScope>true</skipProvidedScope>
<skipTestScope>true</skipTestScope>
<!-- OSS Index cannot run anonymously; NVD and other analyzers remain enabled. -->
<ossIndexAnalyzerEnabled>${portal.ossIndexEnabled}</ossIndexAnalyzerEnabled>
<!-- Native dev-tool binaries for other platforms are not deployed.
Keep the lockfile audit of ALL npm dependencies, including dev tools. -->
<nodePackageSkipDevDependencies>true</nodePackageSkipDevDependencies>
<nodeAuditSkipDevDependencies>false</nodeAuditSkipDevDependencies>
<failOnError>false</failOnError>
<versionCheckEnabled>true</versionCheckEnabled>
<nvdApiKey>e2eb1036-9b5b-4df9-95e7-0888be947011</nvdApiKey> </configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.16.0</version>
<configuration>
<release>${maven.compiler.release}</release>
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.6</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.4</version>
</plugin>
<plugin>
<artifactId>maven-scm-plugin</artifactId>
<version>2.2.1</version>
<configuration>
<tag>portal-${project.version}</tag>
</configuration>
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<!-- Security fixes newer than the Spring Boot 4.1.1 BOM. -->
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-el</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-websocket</artifactId>
<version>${tomcat.version}</version>
</dependency>
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<version>${mysql-connector.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.11.0</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.22.1</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.22.0</version>
</dependency>
</dependencies>
</dependencyManagement>
<!-- Most every project depends upon others to build and run correctly.
Maven downloads and links the dependencies for you on compilation and other
goals that require them. -->
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>5.5.1</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>5.5.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.20.0</version>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-math3</artifactId>
<version>3.6.1</version>
</dependency>
<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>1.11.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
<version>${flyway.version}</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-mysql</artifactId>
<version>${flyway.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/se.jiderhamn.classloader-leak-prevention/classloader-leak-prevention-core -->
<dependency>
<groupId>se.jiderhamn.classloader-leak-prevention</groupId>
<artifactId>classloader-leak-prevention-core</artifactId>
<version>${leak-prevention.version}</version>
</dependency>
<dependency>
<groupId>se.jiderhamn.classloader-leak-prevention</groupId>
<artifactId>classloader-leak-prevention-servlet</artifactId>
<version>${leak-prevention.version}</version>
</dependency>
<dependency>
<groupId>net.locusworks</groupId>
<artifactId>locusworks-commons</artifactId>
<version>3.0.1-RELEASE</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>net.locusworks</groupId>
<artifactId>applogger</artifactId>
<version>2.0.2-RELEASE</version>
</dependency>
</dependencies>
<profiles>
<profile>
<id>oss-index</id>
<activation>
<property>
<name>portal.ossIndexEnabled</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<configuration>
<ossIndexServerId>oss-index</ossIndexServerId>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<modules>
<module>portal_client</module>
<module>portal_database</module>
<module>portal_migration</module>
<module>portal_common</module>
<module>portal_webapp</module>
<module>portal_json</module>
</modules>
</project>