-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
107 lines (100 loc) · 4.2 KB
/
pom.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<!-- In your projects, please remove/replace with your own parent -->
<groupId>com.kohlschutter.jacline</groupId>
<artifactId>jacline</artifactId>
<version>1.0.2-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<groupId>com.kohlschutter.jacline.samples</groupId>
<artifactId>json</artifactId>
<properties>
<!-- In your own projects, replace ${project.version} with the actual
jacline version -->
<jacline.version>${project.version}</jacline.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<!-- Example: This source directory is ignored
by jacline -->
<source>src/server/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.kohlschutter.jacline</groupId>
<artifactId>jacline-maven-plugin</artifactId>
<executions>
<execution>
<id>default-jacline-compile</id>
<goals>
<goal>compile</goal>
</goals>
<phase>compile</phase>
<configuration>
<createLibrary>true</createLibrary>
<transpileSourceRoots>
<transpileSourceRoot>src/main/java</transpileSourceRoot>
</transpileSourceRoots>
<javascriptSourceRoots>
<javascriptSourceRoot>src/main/jacline</javascriptSourceRoot>
</javascriptSourceRoots>
<entryPoints>
<!--
List all possible JavaScript entry points here
-->
<!-- Also see @JsEntryPoint -->
<entryPoint>src/main/jacline/app.js</entryPoint>
</entryPoints>
<outputFile>
<!-- Path relative to target/classes -->jacline-generated.js</outputFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<!-- Example: This source directory is ignored by jacline -->
<directory>src/server/resources</directory>
</resource>
</resources>
</build>
<dependencies>
<dependency>
<groupId>com.kohlschutter.jacline</groupId>
<artifactId>jacline-lib-common</artifactId>
</dependency>
<dependency>
<groupId>com.kohlschutter</groupId>
<artifactId>kohlschutter-test-util</artifactId>
<scope>test</scope>
</dependency>
<dependency><!-- implements jakarta.json-api -->
<groupId>org.eclipse.parsson</groupId>
<artifactId>parsson</artifactId>
<version>1.1.5</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>