pom.xml 7.04 KB
Newer Older
1
<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">
2
    <modelVersion>4.0.0</modelVersion>
3

4
5
6
    <groupId>org.bonitasoft.distrib</groupId>
    <artifactId>bonita-distrib</artifactId>
    <name>bonita distrib</name>
7
    <version>7.13.0-SNAPSHOT</version>
8
9
10
    <packaging>pom</packaging>

    <modules>
11
        <module>bonita-runtime-bom</module>
12
        <module>resources</module>
13
14
        <module>bonita-war</module>
        <module>tomcat-resources</module>
15
        <module>tomcat</module>
16
    </modules>
17

18
19
20
21
    <scm>
        <connection>scm:git:git@github.com:bonitasoft/bonita-distrib.git</connection>
        <url>scm:git:git@github.com:bonitasoft/bonita-distrib.git</url>
    </scm>
22

23
    <properties>
24
        <branding.version>2021.2-SNAPSHOT</branding.version>
25
26
27
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

28
        <bonita.web.version>${project.version}</bonita.web.version>
29
        <bonita.engine.version>${project.version}</bonita.engine.version>
30

31
32
        <tomcat.version>8.5.68</tomcat.version>
        <tomcat9.version>9.0.48</tomcat9.version>
33
        <slf4j.version>1.7.25</slf4j.version>
34
35

        <deploy_plugin_skip>false</deploy_plugin_skip>
36
37
38

        <maven.compiler.source>11</maven.compiler.source>
        <maven.compiler.target>11</maven.compiler.target>
39
    </properties>
40

41
42
43
    <dependencyManagement>
        <dependencies>
            <dependency>
44
45
46
47
48
                <groupId>org.bonitasoft.engine</groupId>
                <artifactId>bonita-engine</artifactId>
                <version>${bonita.engine.version}</version>
                <type>pom</type>
                <scope>import</scope>
49
            </dependency>
50
            <!-- 3rd parties -->
51
52
53
54
55
56
57
58
59
60
61
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
                <version>${slf4j.version}</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-jdk14</artifactId>
                <version>${slf4j.version}</version>
                <scope>runtime</scope>
            </dependency>
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79

            <!-- to make sure transitive dependencies do not select a different version: -->
            <dependency>
                <groupId>commons-logging</groupId>
                <artifactId>commons-logging</artifactId>
                <version>1.2</version>
            </dependency>
            <dependency>
                <groupId>commons-codec</groupId>
                <artifactId>commons-codec</artifactId>
                <version>1.11</version>
            </dependency>
            <dependency>
                <groupId>commons-collections</groupId>
                <artifactId>commons-collections</artifactId>
                <version>3.2.2</version>
            </dependency>

80
81
        </dependencies>
    </dependencyManagement>
82

83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
    <repositories>
        <repository>
            <id>jboss-public-repository-group</id>
            <name>JBoss Public Maven Repository Group</name>
            <url>https://repository.jboss.org/nexus/content/groups/public/</url>
            <layout>default</layout>
            <releases>
                <enabled>true</enabled>
                <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>never</updatePolicy>
            </snapshots>
        </repository>
    </repositories>
99

100
101
102
103
    <build>
        <pluginManagement>
            <plugins>
                <plugin>
104
105
106
107
108
109
110
111
112
113
114
115
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-antrun-plugin</artifactId>
                    <version>1.8</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-assembly-plugin</artifactId>
                    <version>3.2.0</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-dependency-plugin</artifactId>
116
                    <version>3.1.2</version>
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-failsafe-plugin</artifactId>
                    <version>2.22.2</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-install-plugin</artifactId>
                    <version>2.5.2</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-jar-plugin</artifactId>
                    <version>3.2.0</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-resources-plugin</artifactId>
                    <version>3.1.0</version>
137
                </plugin>
138
                <plugin>
139
140
141
142
143
144
145
146
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-source-plugin</artifactId>
                    <version>3.2.1</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>2.22.2</version>
147
                </plugin>
148
149
150
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-war-plugin</artifactId>
151
152
153
154
155
156
157
                    <version>3.2.3</version>
                </plugin>
                <!-- 3rd party plugins -->
                <plugin>
                    <groupId>com.github.eirslett</groupId>
                    <artifactId>frontend-maven-plugin</artifactId>
                    <version>1.9.1</version>
158
                </plugin>
159
160
161
162
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
163
164
165
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.1</version>
166
                <configuration>
167
                    <release>11</release>
168
169
                    <showDeprecation>true</showDeprecation>
                    <showWarnings>true</showWarnings>
170
171
                </configuration>
            </plugin>
172
173
174
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-deploy-plugin</artifactId>
175
                <version>2.8.2</version>
176
                <configuration>
177
                    <deployAtEnd>true</deployAtEnd>
178
                    <skip>${deploy_plugin_skip}</skip>
179
180
                </configuration>
            </plugin>
181
182
        </plugins>
    </build>
183
</project>