This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pom.xml
104 lines (99 loc) · 4.44 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
<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">
<artifactId>com.varunsingh.frequencyanalysissimulator</artifactId>
<groupId>com.varunsingh</groupId>
<modelVersion>4.0.0</modelVersion> <!-- Because we are in Maven major version 3 -->
<version>1.00</version>
<url>https://varunsingh87.github.io/frequency-analysis-simulator</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>19</maven.compiler.source>
<maven.compiler.release>19</maven.compiler.release>
<exec.mainClass>frequencyanalysissimulator.presentation.main.Main</exec.mainClass>
</properties>
<distributionManagement>
<site>
<id>website</id>
<url>scm:git:[email protected]/varunsingh87/Frequency-Analysis-Simulator.git</url>
</site>
</distributionManagement>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.10.0</version>
<scope>test</scope> <!-- Not packaged in JAR file because it is used for tests only, used for mvn test -->
</dependency>
</dependencies>
<build>
<defaultGoal>mvn compile exec:java -Dexec.mainClass="frequencyanalysissimulator.presentation.main.Main"
</defaultGoal>
<plugins> <!-- Automate Maven lifecycle phases -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/main/generated</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin> <!-- Compiles java files (javac) with mvn compiler:compile (class files go to target folder) -->
<!-- mvn compiler:testCompile for compiling test classes-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<configuration>
<source>20</source> <!-- Configuration for latest version - Java 20 -->
<target>20</target>
</configuration>
</plugin>
<plugin> <!-- Run unit tests and generate reports -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.7</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<scmBranch>gh-pages</scmBranch>
</configuration>
</plugin>
<plugin> <!-- Build an executable JAR by adding a META-INF/MANIFEST.MF file -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<mainClass>frequencyanalysissimulator.presentation.main.Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
<developers>
<developer>
<name>Varun Singh</name>
</developer>
</developers>
</project>