-
Notifications
You must be signed in to change notification settings - Fork 4
/
pom.xml
83 lines (78 loc) · 3.6 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
<?xml version="1.0" encoding="UTF-8"?>
<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>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<iast.version>1.0</iast.version>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>
<groupId>com.keven1z</groupId>
<artifactId>simpleIAST</artifactId>
<packaging>pom</packaging>
<version>${iast.version}</version>
<modules>
<module>engine</module>
<module>agent</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<!-- support for JDK 6 -->
<version>2.1.5</version>
<executions>
<execution>
<id>git-commit-id</id>
<goals>
<goal>revision</goal>
</goals>
<phase>validate</phase>
<configuration>
<failOnNoGitDirectory>false</failOnNoGitDirectory>
<prefix>git-commit-id</prefix>
<skipPoms>false</skipPoms>
<dotGitDirectory>${session.executionRootDirectory}/../../.git/</dotGitDirectory>
<gitDescribe>
<skip>true</skip>
</gitDescribe>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Project-Version>${project.version}</Project-Version>
<Build-Time>${maven.build.timestamp}</Build-Time>
<Git-Commit>${git-commit-id.commit.id.abbrev}</Git-Commit>
<Git-Branch>${git-commit-id.branch}</Git-Branch>
<Last-Commit-User-Name>${git-commit-id.commit.user.name}</Last-Commit-User-Name>
<Last-Commit-User-Email>${git-commit-id.commit.user.email}
</Last-Commit-User-Email>
<Build-By>keven1z</Build-By>
</manifestEntries>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>