Skip to content

Commit 4c96c6a

Browse files
Add cprover-api Maven dependency
1 parent 242aaff commit 4c96c6a

File tree

1 file changed

+43
-1
lines changed

1 file changed

+43
-1
lines changed

pom.xml

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,58 @@
2626
</profile>
2727
</profiles>
2828

29+
<dependencies>
30+
<dependency>
31+
<groupId>org.cprover.util</groupId>
32+
<artifactId>cprover-api</artifactId>
33+
<version>1.0.0</version>
34+
<scope>compile</scope>
35+
</dependency>
36+
</dependencies>
37+
2938
<build>
3039
<finalName>core-models</finalName>
3140
<plugins>
41+
<plugin>
42+
<artifactId>maven-dependency-plugin</artifactId>
43+
<version>2.8</version>
44+
<executions>
45+
<execution>
46+
<phase>generate-sources</phase>
47+
<goals>
48+
<goal>build-classpath</goal>
49+
</goals>
50+
<configuration>
51+
<outputProperty>maven.compile.classpath</outputProperty>
52+
</configuration>
53+
</execution>
54+
<execution>
55+
<id>copy-dependencies</id>
56+
<phase>package</phase>
57+
<goals>
58+
<goal>copy</goal>
59+
</goals>
60+
<configuration>
61+
<artifactItems>
62+
<artifactItem>
63+
<groupId>org.cprover.util</groupId>
64+
<artifactId>cprover-api</artifactId>
65+
<outputDirectory>${project.build.directory}</outputDirectory>
66+
<destFileName>cprover-api.jar</destFileName>
67+
</artifactItem>
68+
</artifactItems>
69+
</configuration>
70+
</execution>
71+
</executions>
72+
</plugin>
73+
3274
<plugin>
3375
<groupId>org.apache.maven.plugins</groupId>
3476
<artifactId>maven-compiler-plugin</artifactId>
3577
<version>3.6.1</version>
3678
<configuration>
3779
<compilerArguments>
38-
<classpath>${java.home}/lib/rt.jar</classpath>
80+
<classpath>${java.home}/lib/rt.jar${path.separator}${maven.compile.classpath}</classpath>
3981
</compilerArguments>
4082
<source>1.8</source>
4183
<target>1.8</target>

0 commit comments

Comments
 (0)