-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom_clj.xml
69 lines (63 loc) · 2.29 KB
/
pom_clj.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<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>com.example.cloud.functions</groupId>
<artifactId>functions-hello-world</artifactId>
<version>1.0.0-SNAPSHOT</version>
<properties>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
</properties>
<dependencies>
<!-- Required for Function primitives -->
<dependency>
<groupId>com.google.cloud.functions</groupId>
<artifactId>functions-framework-api</artifactId>
<version>1.0.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
<version>1.10.3</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- <plugin> -->
<!-- Google Cloud Functions Framework Maven plugin -->
<!-- This plugin allows you to run Cloud Functions Java code -->
<!-- locally. Use the following terminal command to run a -->
<!-- given function locally: -->
<!-- mvn function:run -Drun.functionTarget=your.package.yourFunction -->
<!-- <groupId>com.google.cloud.functions</groupId> -->
<!-- <artifactId>function-maven-plugin</artifactId> -->
<!-- <version>0.10.0</version> -->
<!-- <configuration> -->
<!-- <functionTarget>functions.ClojureHelloWorld</functionTarget> -->
<!-- </configuration> -->
<!-- </plugin> -->
<plugin>
<groupId>com.theoryinpractise</groupId>
<artifactId>clojure-maven-plugin</artifactId>
<version>1.8.3</version>
<configuration>
<sourceDirectories>
<sourceDirectory>src/main/clojure</sourceDirectory>
</sourceDirectories>
</configuration>
<executions>
<execution>
<id>clojure-compile</id>
<phase>process-resources</phase>
<goals>
<goal>add-source</goal>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>