-
-
Notifications
You must be signed in to change notification settings - Fork 173
/
Copy pathpom.xml
152 lines (143 loc) · 5.58 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
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.openwms</groupId>
<artifactId>org.openwms.parent</artifactId>
<version>27.1</version>
<relativePath />
</parent>
<artifactId>org.openwms</artifactId>
<version>3.0.0-SNAPSHOT</version>
<name>OpenWMS.org Project</name>
<packaging>pom</packaging>
<profiles>
<profile>
<!-- Use PostgreSQL as database -->
<id>postgres</id>
<activation>
<property>
<name>db</name>
<value>postgresql</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<scope>runtime</scope>
</dependency>
</dependencies>
</profile>
<profile>
<!-- Use H2 as database -->
<id>h2</id>
<activation>
<property>
<name>db</name>
<value>h2</value>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>generate_glossary</id>
<!-- Call this profile together with all to generate the DocBook Glossary file -->
<!-- Note: The used doclet plugin is available on the private Nexus repository only -->
<build>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<source>${project.build.sourceEncoding}</source>
<doclet>org.openwms.doclet.GlossaryGeneratorDoclet</doclet>
<docletArtifact>
<groupId>org.openwms</groupId>
<artifactId>org.openwms.doclet</artifactId>
<version>0.0.1-SNAPSHOT</version>
</docletArtifact>
<charset>${project.build.sourceEncoding}</charset>
<encoding>${project.build.sourceEncoding}</encoding>
<docencoding>${project.build.sourceEncoding}</docencoding>
<breakiterator>true</breakiterator>
<level>private</level>
<show>private</show>
<keywords>true</keywords>
<useStandardDocletOptions>false</useStandardDocletOptions>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<properties>
<moduleDir>.</moduleDir>
<env.all>true</env.all>
<ci.buildNumber>MANUAL</ci.buildNumber>
<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
<ms.group>NULL</ms.group>
<!-- Plugin versions -->
<site-maven-plugin.version>0.12</site-maven-plugin.version>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>${site-maven-plugin.version}</version>
<configuration>
<message>Creating site for ${project.version}</message>
<outputDirectory>
${project.basedir}/${moduleDir}/docs
</outputDirectory>
</configuration>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>package</phase>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
<repositories>
<repository>
<id>sonatype-nexus-staging</id>
<name>Staging Repository</name>
<url>https://oss.sonatype.org/content/groups/staging/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>sonatype-nexus-snapshots</id>
<name>Snapshot Repository</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
<modules>
<module>org.openwms.core.util</module>
</modules>
</project>