From ee81880c8c4b6f67a764ea0a026cbb2220dddae8 Mon Sep 17 00:00:00 2001 From: jupblb Date: Thu, 4 Jun 2026 22:14:22 +0200 Subject: [PATCH] Rename maven-plugin to scip-maven-plugin --- .bazelignore | 2 +- build.sbt | 4 ++-- docs/manual-configuration.md | 4 ++-- examples/maven-example/pom.xml | 2 +- .../main/java/com/sourcegraph/maven/DependencyWriterMojo.java | 0 .../src/main/resources/META-INF/maven/plugin.template.xml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) rename {maven-plugin => scip-maven-plugin}/src/main/java/com/sourcegraph/maven/DependencyWriterMojo.java (100%) rename {maven-plugin => scip-maven-plugin}/src/main/resources/META-INF/maven/plugin.template.xml (98%) diff --git a/.bazelignore b/.bazelignore index 0b48fc8b..1d7b7c85 100644 --- a/.bazelignore +++ b/.bazelignore @@ -1,6 +1,6 @@ .direnv/ examples/ -maven-plugin/target/ +scip-maven-plugin/target/ project/target/ scip-java/target/ scip-aggregator/target/ diff --git a/build.sbt b/build.sbt index 638d7ae9..d3f56e71 100644 --- a/build.sbt +++ b/build.sbt @@ -166,9 +166,9 @@ lazy val scip = project .dependsOn(scipShared) lazy val mavenPlugin = project - .in(file("maven-plugin")) + .in(file("scip-maven-plugin")) .settings( - moduleName := "maven-plugin", + moduleName := "scip-maven-plugin", javaOnlySettings, libraryDependencies ++= Seq( diff --git a/docs/manual-configuration.md b/docs/manual-configuration.md index 9c5c2c25..fb8213f6 100644 --- a/docs/manual-configuration.md +++ b/docs/manual-configuration.md @@ -173,7 +173,7 @@ plugin that can dump the project's dependencies in a format that scip-java under You can either use it directly from commandline: ``` -$ mvn com.sourcegraph:maven-plugin:@STABLE_VERSION@:sourcegraphDependencies +$ mvn com.sourcegraph:scip-maven-plugin:@STABLE_VERSION@:sourcegraphDependencies ``` Or add it to your build like any other maven plugin: @@ -181,7 +181,7 @@ Or add it to your build like any other maven plugin: ```xml com.sourcegraph - maven-plugin + scip-maven-plugin @STABLE_VERSION@ diff --git a/examples/maven-example/pom.xml b/examples/maven-example/pom.xml index 90340127..340b1ec2 100644 --- a/examples/maven-example/pom.xml +++ b/examples/maven-example/pom.xml @@ -82,7 +82,7 @@ com.sourcegraph - maven-plugin + scip-maven-plugin ${scip-java.version} diff --git a/maven-plugin/src/main/java/com/sourcegraph/maven/DependencyWriterMojo.java b/scip-maven-plugin/src/main/java/com/sourcegraph/maven/DependencyWriterMojo.java similarity index 100% rename from maven-plugin/src/main/java/com/sourcegraph/maven/DependencyWriterMojo.java rename to scip-maven-plugin/src/main/java/com/sourcegraph/maven/DependencyWriterMojo.java diff --git a/maven-plugin/src/main/resources/META-INF/maven/plugin.template.xml b/scip-maven-plugin/src/main/resources/META-INF/maven/plugin.template.xml similarity index 98% rename from maven-plugin/src/main/resources/META-INF/maven/plugin.template.xml rename to scip-maven-plugin/src/main/resources/META-INF/maven/plugin.template.xml index 43ad902c..53a594fc 100644 --- a/maven-plugin/src/main/resources/META-INF/maven/plugin.template.xml +++ b/scip-maven-plugin/src/main/resources/META-INF/maven/plugin.template.xml @@ -6,7 +6,7 @@ Sourcegraph scip-java Maven plugin A Maven plugin which exports your project's dependencies in a format scip-java can understand com.sourcegraph - maven-plugin + scip-maven-plugin @VERSION@ sourcegraph false