|
3 | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | 5 |
|
6 | | - <groupId>com.codename1.parparvm</groupId> |
| 6 | + <parent> |
| 7 | + <groupId>com.codename1.parparvm</groupId> |
| 8 | + <artifactId>parparvm-parent</artifactId> |
| 9 | + <version>1.0-SNAPSHOT</version> |
| 10 | + </parent> |
| 11 | + |
7 | 12 | <artifactId>parparvm-tests</artifactId> |
8 | | - <version>1.0-SNAPSHOT</version> |
9 | 13 | <name>ParparVM Java Tests</name> |
10 | 14 |
|
11 | | - <properties> |
12 | | - <maven.compiler.source>1.8</maven.compiler.source> |
13 | | - <maven.compiler.target>1.8</maven.compiler.target> |
14 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
15 | | - <junit.jupiter.version>5.10.2</junit.jupiter.version> |
16 | | - <asm.version>5.0.3</asm.version> |
17 | | - </properties> |
18 | | - |
19 | 15 | <dependencies> |
| 16 | + <dependency> |
| 17 | + <groupId>com.codename1.parparvm</groupId> |
| 18 | + <artifactId>ByteCodeTranslator</artifactId> |
| 19 | + <version>1.0-SNAPSHOT</version> |
| 20 | + </dependency> |
20 | 21 | <dependency> |
21 | 22 | <groupId>org.ow2.asm</groupId> |
22 | 23 | <artifactId>asm</artifactId> |
23 | | - <version>${asm.version}</version> |
24 | 24 | </dependency> |
25 | 25 | <dependency> |
26 | 26 | <groupId>org.ow2.asm</groupId> |
27 | 27 | <artifactId>asm-commons</artifactId> |
28 | | - <version>${asm.version}</version> |
29 | 28 | </dependency> |
30 | 29 | <dependency> |
31 | 30 | <groupId>org.junit.jupiter</groupId> |
32 | 31 | <artifactId>junit-jupiter</artifactId> |
33 | | - <version>${junit.jupiter.version}</version> |
34 | 32 | <scope>test</scope> |
35 | 33 | </dependency> |
36 | 34 | </dependencies> |
37 | 35 |
|
38 | 36 | <build> |
39 | | - <testResources> |
40 | | - <testResource> |
41 | | - <directory>../ByteCodeTranslator/src</directory> |
42 | | - </testResource> |
43 | | - </testResources> |
44 | 37 | <plugins> |
| 38 | + <plugin> |
| 39 | + <groupId>org.apache.maven.plugins</groupId> |
| 40 | + <artifactId>maven-compiler-plugin</artifactId> |
| 41 | + <version>3.11.0</version> |
| 42 | + <configuration> |
| 43 | + <!-- Tests run on newer JDK (8+) so source/target 1.8 is appropriate here --> |
| 44 | + <!-- But the code they test targets 1.5. The test runner itself needs to run on the JVM. --> |
| 45 | + <source>1.8</source> |
| 46 | + <target>1.8</target> |
| 47 | + </configuration> |
| 48 | + </plugin> |
45 | 49 | <plugin> |
46 | 50 | <groupId>org.apache.maven.plugins</groupId> |
47 | 51 | <artifactId>maven-surefire-plugin</artifactId> |
|
50 | 54 | <useModulePath>false</useModulePath> |
51 | 55 | </configuration> |
52 | 56 | </plugin> |
53 | | - <plugin> |
54 | | - <groupId>org.codehaus.mojo</groupId> |
55 | | - <artifactId>build-helper-maven-plugin</artifactId> |
56 | | - <version>3.5.0</version> |
57 | | - <executions> |
58 | | - <execution> |
59 | | - <id>add-bytecodetranslator-sources</id> |
60 | | - <phase>generate-sources</phase> |
61 | | - <goals> |
62 | | - <goal>add-source</goal> |
63 | | - </goals> |
64 | | - <configuration> |
65 | | - <sources> |
66 | | - <source>../ByteCodeTranslator/src</source> |
67 | | - </sources> |
68 | | - </configuration> |
69 | | - </execution> |
70 | | - </executions> |
71 | | - </plugin> |
72 | 57 | <plugin> |
73 | 58 | <groupId>org.jacoco</groupId> |
74 | 59 | <artifactId>jacoco-maven-plugin</artifactId> |
|
0 commit comments