This repository has been archived by the owner on Feb 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
pom.xml
159 lines (135 loc) · 6.11 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<?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>
<groupId>none.cvg.cgutils</groupId>
<artifactId>reflection-and-unsafe</artifactId>
<version>1.0.0</version>
<name>Reflection and Unsafe - Alternates - A Kata</name>
<url>http://cguntur.me</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<apiguardian-api.version>1.0.0</apiguardian-api.version>
<opentest4j.version>1.1.1</opentest4j.version>
<junit-platform-surefire-provider.version>1.2.0</junit-platform-surefire-provider.version>
<junit5.version>5.4.1</junit5.version>
</properties>
<dependencies>
<!-- HAD TO MANUALLY DECLARE ALL BELOW SINCE THE PROJECT USES A SYSTEM SCOPE -->
<!-- Should you connect to the internet and use maven central or any similar repo -->
<!-- You only need org.junit.jupiter:junit-jupiter:5.4.1 as a dependency -->
<!-- UNCOMMENT JUST THIS ONE DEPENDENCY BELOW
IF CONNECTED TO THE INTERNET AND USING A MAVEN REPO -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit5.version}</version>
</dependency>
<!-- COMMENT OUT ALL OF THE DEPENDENCIES BELOW
IF CONNECTED TO THE INTERNET AND USING A MAVEN REPO
<dependency>
<groupId>org.apiguardian</groupId>
<artifactId>apiguardian-api</artifactId>
<version>${apiguardian-api.version}</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/test/lib/apiguardian-api-1.0.0.jar</systemPath>
</dependency>
<dependency>
<groupId>org.opentest4j</groupId>
<artifactId>opentest4j</artifactId>
<version>${opentest4j.version}</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/test/lib/opentest4j-1.1.1.jar</systemPath>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-surefire-provider</artifactId>
<version>${junit-platform-surefire-provider.version}</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/test/lib/junit-platform-surefire-provider-1.2.0.jar</systemPath>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit5.version}</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/test/lib/junit-jupiter-api-5.4.1.jar</systemPath>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit5.version}</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/test/lib/junit-jupiter-5.4.1.jar</systemPath>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit5.version}</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/test/lib/junit-jupiter-engine-5.4.1.jar</systemPath>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>${junit5.version}</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/test/lib/junit-jupiter-params-5.4.1.jar</systemPath>
</dependency>
-->
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.21.0</version>
<configuration>
<properties>
<includeTags>PASSING</includeTags>
<excludeTags>TODO</excludeTags>
</properties>
</configuration>
<dependencies>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-surefire-provider</artifactId>
<version>${junit-platform-surefire-provider.version}</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit5.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.9.1</version>
<executions>
<execution>
<id>add-test-source</id>
<phase>generate-test-sources</phase>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>src/solutions/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>