-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpom.xml
More file actions
96 lines (90 loc) · 3.57 KB
/
pom.xml
File metadata and controls
96 lines (90 loc) · 3.57 KB
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
<?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>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<shapesge.source>main-en</shapesge.source>
<shapesge.jar>shapesGE</shapesge.jar>
<shapesge.docdir>en</shapesge.docdir>
<version>git</version>
</properties>
<groupId>fri.shapesge</groupId>
<artifactId>${shapesge.jar}</artifactId>
<version>${version}</version>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>src/${shapesge.source}/java</source>
</sources>
</configuration>
</execution>
<execution>
<id>add-resource</id>
<phase>generate-resources</phase>
<goals>
<goal>add-resource</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>src/${shapesge.source}/resources</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<finalName>${shapesge.jar}</finalName>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.2</version>
<configuration>
<excludePackageNames>fri.shapesge.*</excludePackageNames>
<destDir>${shapesge.docdir}</destDir>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>lang-sk</id>
<activation>
<property>
<name>lang</name>
<value>sk</value>
</property>
</activation>
<properties>
<shapesge.source>main-sk</shapesge.source>
<shapesge.jar>shapesGE-SK</shapesge.jar>
<shapesge.docdir>sk</shapesge.docdir>
</properties>
</profile>
</profiles>
</project>