-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathwebfx.xml
77 lines (64 loc) · 3.36 KB
/
webfx.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
<?xml version="1.0" encoding="UTF-8"?>
<project name="webfx-cli">
<exported-packages>
<source-packages/>
<resource-package>dev.webfx.cli.commands</resource-package>
</exported-packages>
<dependencies>
<used-by-source-modules/>
<plugin-module>webfx-platform-ast-json-plugin</plugin-module>
<plugin-module>webfx-platform-ast-yaml-plugin</plugin-module>
<plugin-module>webfx-platform-ast-factory-generic</plugin-module>
<plugin-module>jaxen</plugin-module>
</dependencies>
<required-libraries>
<webfx-library artifact="dev.webfx:webfx-lib-reusablestream:0.1.0-SNAPSHOT"/>
<webfx-library artifact="dev.webfx:webfx-platform:0.1.0-SNAPSHOT"/> <!-- for webfx-platform-meta -->
<library artifact="info.picocli:picocli:4.7.6" name="info.picocli"/>
<library artifact="org.apache.commons:commons-compress:1.21" name="org.apache.commons.compress"/>
<library artifact="org.dom4j:dom4j:2.1.4" name="org.dom4j"/>
<library artifact="jaxen:jaxen:1.1.6" name="jaxen"/>
<!-- <library artifact="org.apache.maven.shared:maven-invoker:3.2.0"/> Not used -->
</required-libraries>
<maven-repositories>
<snapshot-repository id="webfx-snapshots">https://oss.sonatype.org/content/repositories/snapshots/</snapshot-repository>
</maven-repositories>
<maven-pom-manual>
<properties>
<!-- Java 13 is required because of the use of FileSystems.newFileSystem() in the code -->
<java.version>13</java.version>
<webfx.mainClass>dev.webfx.cli.WebFxCLI</webfx.mainClass>
<!-- disabling classes and sources dependencies unpack to avoid including them again in the jar -->
<plugin.dependency.param.unpack-classes.phase>none</plugin.dependency.param.unpack-classes.phase>
<plugin.dependency.param.unpack-sources.phase>none</plugin.dependency.param.unpack-sources.phase>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>webfx-cli-timestamp-dev-version</id>
<properties>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
<!-- Storing the timestamp in another property because using directly ${maven.build.timestamp} in the version.ini template doesn't consider the timestamp format -->
<build.timestamp>${maven.build.timestamp}</build.timestamp>
</properties>
<build>
<resources>
<resource>
<directory>src/main/resources/dev/webfx/cli/version/template</directory>
<filtering>true</filtering>
<!-- A bit hacky but for now the development version is stored in a resource file under git source control -->
<targetPath>../../src/main/resources/dev/webfx/cli/version/dev</targetPath>
</resource>
</resources>
</build>
</profile>
</profiles>
</maven-pom-manual>
</project>