From 66fceca85395d5e809ab87f9747dc0c016ee51a6 Mon Sep 17 00:00:00 2001 From: Tglman Date: Wed, 21 Feb 2024 12:10:59 +0100 Subject: [PATCH] chore: add spotless in studio --- studio/pom.xml | 622 +++++++++++++++++++++++++------------------------ 1 file changed, 321 insertions(+), 301 deletions(-) diff --git a/studio/pom.xml b/studio/pom.xml index ead51c5839b..4c0e8c5eeb7 100644 --- a/studio/pom.xml +++ b/studio/pom.xml @@ -1,303 +1,323 @@ - - - 4.0.0 - com.orientechnologies - orientdb-studio - 4.0.0-SNAPSHOT - OrientDB Studio - OrientDB Studio - web interface for OrientDB server - https://www.orientdb.com - - OrientDB - https://orientdb.com - - - - Apache 2 - http://www.apache.org/licenses/LICENSE-2.0.txt - - - - scm:git:git@github.com:orientechnologies/orientdb-studio.git - scm:git:git@github.com:orientechnologies/orientdb-studio.git - scm:git:git@github.com:orientechnologies/orientdb-studio.git - HEAD - - - GitHub Issues - https://github.com/orientechnologies/orientdb-studio/issues - - - - l.garulli - Luca Garulli - l.garulli@orientdb.com - OrientDB - https://www.orientdb.com - - architect - developer - founder - - +1 - - - e.risa - Enrico Risa - e.risa@orientdb.com - OrientDB - https://www.orientdb.com - - architect - developer - - +1 - - - - - sonatype-nexus-staging - OrientDB Maven2 Repository - https://oss.sonatype.org/service/local/staging/deploy/maven2 - - - sonatype-nexus-snapshots - OrientDB Maven2 Snapshot Repository - https://oss.sonatype.org/content/repositories/snapshots - false - - - - - sonatype-nexus-snapshots - Sonatype Nexus Snapshots - https://oss.sonatype.org/content/repositories/snapshots - - false - - - true - - - - - - - org.apache.maven.plugins - maven-dependency-plugin - 2.8 - - - unzip-community - pre-integration-test - - unpack - - - ${skipTests} - ${project.build.directory} - true - - - com.orientechnologies - orientdb-community - ${project.version} - true - zip - - - **/*orientdb-studio-*.zip - - - - - - maven-resources-plugin - 3.0.2 - - - copy-studio - pre-integration-test - - copy-resources - - - ${project.build.directory}/orientdb-community-${project.version}/plugins + + + 4.0.0 + com.orientechnologies + orientdb-studio + 4.0.0-SNAPSHOT + OrientDB Studio + OrientDB Studio - web interface for OrientDB server + https://www.orientdb.com + + OrientDB + https://orientdb.com + + + + Apache 2 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + scm:git:git@github.com:orientechnologies/orientdb-studio.git + + scm:git:git@github.com:orientechnologies/orientdb-studio.git + scm:git:git@github.com:orientechnologies/orientdb-studio.git + HEAD + + + GitHub Issues + https://github.com/orientechnologies/orientdb-studio/issues + + + + l.garulli + Luca Garulli + l.garulli@orientdb.com + OrientDB + https://www.orientdb.com + + architect + developer + founder + + +1 + + + e.risa + Enrico Risa + e.risa@orientdb.com + OrientDB + https://www.orientdb.com + + architect + developer + + +1 + + + + + sonatype-nexus-staging + OrientDB Maven2 Repository + https://oss.sonatype.org/service/local/staging/deploy/maven2 + + + sonatype-nexus-snapshots + OrientDB Maven2 Snapshot Repository + https://oss.sonatype.org/content/repositories/snapshots + false + + + + + sonatype-nexus-snapshots + Sonatype Nexus Snapshots + https://oss.sonatype.org/content/repositories/snapshots + + false + + + true + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 2.8 + + + unzip-community + pre-integration-test + + unpack + + + ${skipTests} + ${project.build.directory} + true + + + com.orientechnologies + orientdb-community + ${project.version} + true + zip + + + **/*orientdb-studio-*.zip + + + + + + maven-resources-plugin + 3.0.2 + + + copy-studio + pre-integration-test + + copy-resources + + + + ${project.build.directory}/orientdb-community-${project.version}/plugins - - - ${project.build.directory} - - orientdb-studio-${project.version}.zip - - - - - - - - - - org.codehaus.mojo - exec-maven-plugin - 1.4.0 - - - generate-resources - - exec - - - - Install Deps and Dist - generate-resources - - exec - - - yarn - - run - dist - - . - - - - Run OrientB - - exec - - pre-integration-test - - ${skipTests} - test/scripts/run.sh - - ${project.build.directory}/orientdb-community-${project.version}/bin/server.sh - -DORIENTDB_ROOT_PASSWORD=root - - - - - Stop OrientB - - exec - - post-integration-test - - ${skipTests} - test/scripts/stop.sh - - ${project.build.directory}/orientdb-community-${project.version}/bin/shutdown.sh - - - - - npm run test (test) - - exec - - integration-test - - ${skipTests} - test/scripts/test.sh - - - - - npm - - -version - - . - - - - org.apache.maven.plugins - maven-assembly-plugin - - - - distribution-package - package - - single - - - false - - ${basedir}/assembly/archive.xml - - - - - false - gnu - - - - - - org.apache.maven.plugins - maven-source-plugin - 2.4 - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.4 - - - org.apache.maven.plugins - maven-deploy-plugin - 2.8.2 - - - org.apache.maven.plugins - maven-release-plugin - 3.0.0-M5 - - false - @{project.version} - OrientDB - true - - - - - - - release-sign-artifacts - - - performRelease - true - - - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - --pinentry-mode - loopback - - - - - sign-artifacts - verify - - sign - - - - - - - - + + + ${project.build.directory} + + + orientdb-studio-${project.version}.zip + + + + + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.4.0 + + + generate-resources + + exec + + + + Install Deps and Dist + generate-resources + + exec + + + yarn + + run + dist + + . + + + + Run OrientB + + exec + + pre-integration-test + + ${skipTests} + test/scripts/run.sh + + + ${project.build.directory}/orientdb-community-${project.version}/bin/server.sh + -DORIENTDB_ROOT_PASSWORD=root + + + + + Stop OrientB + + exec + + post-integration-test + + ${skipTests} + test/scripts/stop.sh + + + ${project.build.directory}/orientdb-community-${project.version}/bin/shutdown.sh + + + + + npm run test (test) + + exec + + integration-test + + ${skipTests} + test/scripts/test.sh + + + + + npm + + -version + + . + + + + org.apache.maven.plugins + maven-assembly-plugin + + + + distribution-package + package + + single + + + false + + ${basedir}/assembly/archive.xml + + + + + false + gnu + + + + + + org.apache.maven.plugins + maven-source-plugin + 2.4 + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8.2 + + + org.apache.maven.plugins + maven-release-plugin + 3.0.0-M5 + + false + @{project.version} + OrientDB + true + + + + com.diffplug.spotless + spotless-maven-plugin + 2.42.0 + + + compile + + check + + + + + + + + + release-sign-artifacts + + + performRelease + true + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + --pinentry-mode + loopback + + + + + sign-artifacts + verify + + sign + + + + + + + +