-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
executable file
·124 lines (105 loc) · 4.52 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<name>JVM Energy Consumption</name>
<groupId>jvm.energy.consumption</groupId>
<artifactId>jvm-energy-consumption</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spotless.maven.plugin.version>2.42.0</spotless.maven.plugin.version>
<maven.jar.plugin.version>3.3.0</maven.jar.plugin.version>
<maven.compiler.plugin.version>3.12.1</maven.compiler.plugin.version>
<!-- These properties will be overridden by command line parameters -DmainClass="..." -DimageName="..." -Djar.finalName="..."-->
<mainClass>undefined</mainClass>
<imageName>undefined</imageName>
<jar.finalName>undefined</jar.finalName>
</properties>
<modules>
<module>java-samples</module>
<module>summary-reporting</module>
</modules>
<scm>
<connection>[email protected]:ionutbalosin/jvm-energy-consumption.git</connection>
<developerConnection>[email protected]:ionutbalosin/jvm-energy-consumption.git
</developerConnection>
<url>[email protected]:ionutbalosin/jvm-energy-consumption.git</url>
</scm>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.*</include>
</includes>
</resource>
</resources>
<finalName>${jar.finalName}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<compilerArgs>--enable-preview</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven.jar.plugin.version}</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>${mainClass}</mainClass>
</manifest>
</archive>
<forceCreation>true</forceCreation>
</configuration>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>${spotless.maven.plugin.version}</version>
<configuration>
<java>
<googleJavaFormat>
<version>1.19.2</version>
<style>GOOGLE</style>
<reflowLongStrings>true</reflowLongStrings>
<groupArtifact>com.google.googlejavaformat:google-java-format</groupArtifact>
</googleJavaFormat>
<removeUnusedImports/>
<licenseHeader>
<file>${maven.multiModuleProjectDirectory}/LICENSE-HEADER-JAVA</file>
</licenseHeader>
</java>
</configuration>
<executions>
<execution>
<goals>
<goal>apply</goal>
</goals>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-math3</artifactId>
<version>3.6.1</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>