-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpom.xml
187 lines (170 loc) · 7.39 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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<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>fr.cla</groupId>
<artifactId>wires</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<description>A Java port of the "Simulator for digital circuits" from SICP (Structure and Interpretation of Computer
Programs)
</description>
<url>https://github.com/vandekeiser/wires</url>
<modules>
<module>wires-support</module>
<module>wires-core</module>
<module>wires-neuron</module>
<!--Java 11 not supported by maven-jlink-plugin:3.0.0-alpha-1 -->
<!--<module>wires-jlink</module>-->
</modules>
<properties>
<junit.version>4.12</junit.version>
<assertj.version>3.8.0</assertj.version>
<mockito.version>2.8.47</mockito.version>
<quickcheck.version>0.7</quickcheck.version>
<maven-failsafe-surefire-plugin.version>3.0.0-M2</maven-failsafe-surefire-plugin.version>
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
<maven-exec-plugin.version>1.6.0</maven-exec-plugin.version>
<maven-jlink-plugin.version>3.0.0-alpha-1</maven-jlink-plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>${maven-exec-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>${JAVA_HOME}/bin/java</executable>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-failsafe-surefire-plugin.version}</version>
<configuration>
<forkCount>0</forkCount>
</configuration>
</plugin>
<!--<plugin>-->
<!--<groupId>org.apache.maven.plugins</groupId>-->
<!--<artifactId>maven-jmod-plugin</artifactId>-->
<!--<version>3.0.0-alpha-1</version>-->
<!--<extensions>true</extensions>-->
<!--</plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jlink-plugin</artifactId>
<version>${maven-jlink-plugin.version}</version>
<extensions>true</extensions>
<configuration>
</configuration>
</plugin>
<!--Runs integration tests and binds to the integration-test and verify phases by default-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven-failsafe-surefire-plugin.version}</version>
</plugin>
<!--Create a jar artifact for the tests too.-->
<!--This is useful if you want to have a child project where tests reuse test classes-->
<!-- of this parent project.-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!--Configure javac-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<compilerArguments>
<Werror/>
</compilerArguments>
<!--The "missing serialVersionUID" warning is useless in this project,
as in all projects that dont need a serialization compatibility policy
more advanced than the default one (see Effective Java).-->
<compilerArgument>-Xlint:all,-serial</compilerArgument>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<source>11</source>
<target>11</target>
</configuration>
<!--<dependencies>-->
<!--<dependency>-->
<!--<groupId>org.ow2.asm</groupId>-->
<!--<artifactId>asm</artifactId>-->
<!--<version>6.2</version> <!– Use newer version of ASM –>-->
<!--</dependency>-->
<!--</dependencies>-->
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.pholser</groupId>
<artifactId>junit-quickcheck-core</artifactId>
<version>${quickcheck.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.pholser</groupId>
<artifactId>junit-quickcheck-generators</artifactId>
<version>${quickcheck.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>