-
Notifications
You must be signed in to change notification settings - Fork 162
/
pom.xml
99 lines (91 loc) · 3.8 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
<?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>
<parent>
<groupId>it.unibz.inf.ontop</groupId>
<artifactId>ontop-build</artifactId>
<version>5.2.0-SNAPSHOT</version>
</parent>
<artifactId>ontop-distribution</artifactId>
<description>Builds the distribution files for quest and the core apis.</description>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
<assembly.appendAssemblyId>false</assembly.appendAssemblyId>
<assembly.attach>false</assembly.attach>
<license.skipAddThirdParty>false</license.skipAddThirdParty> <!-- enable CLI execution of license:add-third-party -->
</properties>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>ontop-cli</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>ontop-owlapi</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>ontop-rdf4j</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>attach-cli-assembly</id>
<phase>${asset-cli.phase-prefix}package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/assembly/ontop-cli.xml</descriptor>
</descriptors>
<finalName>ontop-cli-${project.version}</finalName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<!-- Enforce a specific ontop-cli assembly format by setting -Dassembly.cli.format (used by Docker build-image.sh)
(implemented as automatically activated profile, so to preserve the original format in the
XML assembly descriptor file in case property ${assembly.cli.format} is not specified) -->
<profile>
<activation>
<property>
<name>assembly.cli.format</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>attach-cli-assembly</id>
<configuration>
<formats>
<format>${assembly.cli.format}</format>
</formats>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>