arcadedb-studio
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.arcadedb</groupId>
<artifactId>arcadedb-studio</artifactId>
<version>26.2.1</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright © 2021-present Arcade Data Ltd (info@arcadedata.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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>
<parent>
<groupId>com.arcadedb</groupId>
<artifactId>arcadedb-parent</artifactId>
<version>26.2.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>arcadedb-studio</artifactId>
<name>ArcadeDB Studio</name>
<properties>
<node.version>v18.19.0</node.version>
<npm.version>10.2.3</npm.version>
<frontend-maven-plugin.version>2.0.0</frontend-maven-plugin.version>
</properties>
<build>
<plugins>
<!-- Frontend Maven Plugin for Node.js and npm -->
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>${frontend-maven-plugin.version}</version>
<configuration>
<workingDirectory>.</workingDirectory>
<installDirectory>target</installDirectory>
</configuration>
<executions>
<!-- Install Node.js and npm -->
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>${node.version}</nodeVersion>
<npmVersion>${npm.version}</npmVersion>
</configuration>
</execution>
<!-- Install npm dependencies -->
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>
<!-- Run security audit -->
<execution>
<id>npm audit</id>
<goals>
<goal>npm</goal>
</goals>
<phase>compile</phase>
<configuration>
<arguments>audit --audit-level=moderate</arguments>
</configuration>
</execution>
<!-- <!– Build frontend assets –>-->
<!-- <execution>-->
<!-- <id>prebuild</id>-->
<!-- <goals>-->
<!-- <goal>npm</goal>-->
<!-- </goals>-->
<!-- <phase>generate-resources</phase>-->
<!-- <configuration>-->
<!-- <arguments>run prebuild</arguments>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- Build frontend assets -->
<execution>
<id>webpack build</id>
<goals>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>run build</arguments>
</configuration>
</execution>
</executions>
</plugin>
<!-- Clean plugin to remove node_modules and dist on clean -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven-clean-plugin.version}</version>
<configuration>
<filesets>
<fileset>
<directory>node_modules</directory>
<followSymlinks>false</followSymlinks>
</fileset>
<fileset>
<directory>src/main/resources/static/dist</directory>
<followSymlinks>false</followSymlinks>
</fileset>
<fileset>
<directory>target</directory>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>
</configuration>
</plugin>
</plugins>
</build>
</project>