You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by co...@apache.org on 2023/06/05 22:19:57 UTC
[tinkerpop] branch 3.5-dev updated: added profile to print warning if .glv files are missing
This is an automated email from the ASF dual-hosted git repository.
colegreer pushed a commit to branch 3.5-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/3.5-dev by this push:
new 0970f6dedd added profile to print warning if .glv files are missing
new d50f416c0b Merge pull request #2004 from Bit-Quill/cole/missing-glv-file-warnings
0970f6dedd is described below
commit 0970f6dedd3cbbd192acc7008e4e61cb866db696
Author: Cole Greer <co...@bitquilltech.com>
AuthorDate: Tue Mar 28 14:53:42 2023 -0700
added profile to print warning if .glv files are missing
---
gremlin-dotnet/src/pom.xml | 37 +++++++++++++++++++++++++++++++++++++
gremlin-dotnet/test/pom.xml | 33 +++++++++++++++++++++++++++++++++
gremlin-go/pom.xml | 33 +++++++++++++++++++++++++++++++++
gremlin-python/pom.xml | 33 +++++++++++++++++++++++++++++++++
4 files changed, 136 insertions(+)
diff --git a/gremlin-dotnet/src/pom.xml b/gremlin-dotnet/src/pom.xml
index edab67305e..63a9fad7bc 100644
--- a/gremlin-dotnet/src/pom.xml
+++ b/gremlin-dotnet/src/pom.xml
@@ -186,6 +186,43 @@ limitations under the License.
</plugins>
</build>
</profile>
+ <profile>
+ <id>gremlin-dotnet-src-skipped-warning</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ <file>
+ <missing>.glv</missing>
+ </file>
+ </activation>
+ <properties>
+ <packaging.type>pom</packaging.type>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.github.ekryd.echo-maven-plugin</groupId>
+ <artifactId>echo-maven-plugin</artifactId>
+ <version>1.3.2</version>
+ <executions>
+ <execution>
+ <id>skipped-gremlin-dotnet-src-warning</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>echo</goal>
+ </goals>
+ <configuration>
+ <message>
+ Skipping gremlin-dotnet build. Activate by creating files tinkerpop/gremlin-dotnet/src/.glv and tinkerpop/gremlin-dotnet/test/.glv
+ </message>
+ <level>WARNING</level>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
<!--
Provides a way to deploy the Gremlin.Net GLV to nuget. This cannot be part of the standard maven execution
because nuget does not have a staging environment like sonatype for releases. As soon as the release is
diff --git a/gremlin-dotnet/test/pom.xml b/gremlin-dotnet/test/pom.xml
index dfa1cd9d08..dca1c6a682 100644
--- a/gremlin-dotnet/test/pom.xml
+++ b/gremlin-dotnet/test/pom.xml
@@ -203,5 +203,38 @@ limitations under the License.
</plugins>
</build>
</profile>
+ <profile>
+ <id>gremlin-dotnet-skipped-warning</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ <file>
+ <missing>.glv</missing>
+ </file>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.github.ekryd.echo-maven-plugin</groupId>
+ <artifactId>echo-maven-plugin</artifactId>
+ <version>1.3.2</version>
+ <executions>
+ <execution>
+ <id>skipped-gremlin-dotnet-warning</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>echo</goal>
+ </goals>
+ <configuration>
+ <message>
+ Skipping gremlin-dotnet build. Activate by creating files tinkerpop/gremlin-dotnet/src/.glv and tinkerpop/gremlin-dotnet/test/.glv
+ </message>
+ <level>WARNING</level>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
diff --git a/gremlin-go/pom.xml b/gremlin-go/pom.xml
index 600f143787..6a783eba79 100644
--- a/gremlin-go/pom.xml
+++ b/gremlin-go/pom.xml
@@ -207,5 +207,38 @@ limitations under the License.
</plugins>
</build>
</profile>
+ <profile>
+ <id>glv-go-skipped-warning</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ <file>
+ <missing>.glv</missing>
+ </file>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.github.ekryd.echo-maven-plugin</groupId>
+ <artifactId>echo-maven-plugin</artifactId>
+ <version>1.3.2</version>
+ <executions>
+ <execution>
+ <id>skipped-go-glv-warning</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>echo</goal>
+ </goals>
+ <configuration>
+ <message>
+ Skipping Go GLV build. Activate by creating file tinkerpop/gremlin-go/.glv
+ </message>
+ <level>WARNING</level>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>
diff --git a/gremlin-python/pom.xml b/gremlin-python/pom.xml
index b9369996b8..5b9daa4864 100644
--- a/gremlin-python/pom.xml
+++ b/gremlin-python/pom.xml
@@ -225,6 +225,39 @@ limitations under the License.
</plugins>
</build>
</profile>
+ <profile>
+ <id>glv-python-skipped-warning</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ <file>
+ <missing>.glv</missing>
+ </file>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>com.github.ekryd.echo-maven-plugin</groupId>
+ <artifactId>echo-maven-plugin</artifactId>
+ <version>1.3.2</version>
+ <executions>
+ <execution>
+ <id>skipped-python-glv-warning</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>echo</goal>
+ </goals>
+ <configuration>
+ <message>
+ Skipping Python GLV build. Activate by creating file tinkerpop/gremlin-python/.glv
+ </message>
+ <level>WARNING</level>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
<!--
Provides a way to deploy the gremlinpython GLV to pypi. This cannot be part of the standard maven execution
because pypi does not have a staging environment like sonatype for releases. As soon as the release is