pom.xml 8.32 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2 3 4 5
<project
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
	xmlns="http://maven.apache.org/POM/4.0.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
6 7 8
	<modelVersion>4.0.0</modelVersion>
	<groupId>org.bonitasoft.studio</groupId>
	<artifactId>studio</artifactId>
9
	<version>7.10.1-SNAPSHOT</version>
10 11 12
	<packaging>pom</packaging>
	<name>Bonita Studio</name>
	<properties>
13 14
		<tychoVersion>1.4.0</tychoVersion>
		<tychoExtrasVersion>1.4.0</tychoExtrasVersion>
15
		<os-jvm-flags></os-jvm-flags>
16
		<bundle.version>${project.version}</bundle.version>
17
		<ui.designer.version>1.10.36</ui.designer.version>
18
		<business.data.repository.version>${project.version}</business.data.repository.version>
19 20
		<engine.version>${project.version}</engine.version>
		<filters.version>${project.version}</filters.version>
21
		<platform.version>${project.parent.version}</platform.version>
22
        <tomcat.version>8.5.40</tomcat.version>
23
		<image-overlay-plugin.version>1.0.8</image-overlay-plugin.version>
24
		<p2MirrorUrl>http://update-site.bonitasoft.com/p2/4.10</p2MirrorUrl>
25
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
26 27 28 29 30 31 32 33 34 35 36
		<sonar.exclusions>
			**/org/w3/**/*,
			**/src-gen/**/*,
			**/xtend-gen/**/*,
			**/org/bonitasoft/studio/actors/model/**/*,
			**/org/bonitasoft/studio/connector/model/implementation/provider/**/*,
			**/org/bonitasoft/studio/connector/model/definition/provider/**/*
		</sonar.exclusions>
		<sonar.login>51b70ff55d32a0c24e649805b14314ea7930c2de</sonar.login>
		<sonar.sourceEncoding>UTF-8</sonar.sourceEncoding>
		<tycho.localArtifacts>ignore</tycho.localArtifacts>
37 38 39 40
	</properties>
	<modules>
		<module>patched-plugins</module>
	</modules>
41

42 43 44 45
	<build>
		<pluginManagement>
			<plugins>
				<plugin>
46 47 48 49 50 51 52 53 54 55
					<groupId>io.fabric8</groupId>
					<artifactId>docker-maven-plugin</artifactId>
					<version>0.24.0</version>
				</plugin>
				<plugin>
					<groupId>org.sonarsource.scanner.maven</groupId>
					<artifactId>sonar-maven-plugin</artifactId>
					<version>3.4.0.905</version>
				</plugin>
				<plugin>
56 57
					<groupId>org.bonitasoft.maven</groupId>
					<artifactId>image-overlay-plugin</artifactId>
58
					<version>${image-overlay-plugin.version}</version>
59 60 61 62 63 64 65 66 67
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
					<version>3.5.1</version>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-surefire-plugin</artifactId>
68
					<version>2.22.0</version>
69 70 71 72
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-clean-plugin</artifactId>
73
					<version>3.1.0</version>
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
				</plugin>
				<plugin>
					<groupId>org.eclipse.tycho</groupId>
					<artifactId>tycho-versions-plugin</artifactId>
					<version>${tychoVersion}</version>
				</plugin>
				<plugin>
					<groupId>org.eclipse.tycho.extras</groupId>
					<artifactId>tycho-eclipserun-plugin</artifactId>
					<version>${tychoExtrasVersion}</version>
				</plugin>
				<plugin>
					<groupId>org.eclipse.tycho</groupId>
					<artifactId>tycho-packaging-plugin</artifactId>
					<version>${tychoVersion}</version>
					<configuration>
						<strictBinIncludes>false</strictBinIncludes>
						<strictVersions>false</strictVersions>
						<archive>
							<addMavenDescriptor>false</addMavenDescriptor>
						</archive>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.sonatype.tycho</groupId>
					<artifactId>maven-osgi-compiler-plugin</artifactId>
					<inherited>true</inherited>
					<version>${tychoVersion}</version>
					<configuration>
						<source>1.8</source>
						<target>1.8</target>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-dependency-plugin</artifactId>
					<version>3.0.2</version>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-assembly-plugin</artifactId>
					<version>3.0.0</version>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-antrun-plugin</artifactId>
120
					<version>1.8</version>
121 122 123 124
				</plugin>
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>exec-maven-plugin</artifactId>
125
					<version>1.6.0</version>
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
				</plugin>
				<plugin>
					<groupId>org.eclipse.tycho</groupId>
					<artifactId>tycho-surefire-plugin</artifactId>
					<version>${tycho.version}</version>
					<configuration>
						<useUIHarness>false</useUIHarness>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>build-helper-maven-plugin</artifactId>
					<version>3.0.0</version>
				</plugin>
				<plugin>
					<groupId>com.google.code.maven-replacer-plugin</groupId>
					<artifactId>replacer</artifactId>
					<version>1.5.3</version>
				</plugin>
				<plugin>
					<groupId>org.eclipse.tycho</groupId>
					<artifactId>target-platform-configuration</artifactId>
					<version>${tychoVersion}</version>
					<configuration>
						<executionEnvironment>JavaSE-1.8</executionEnvironment>
						<environments>
							<environment>
153 154 155 156 157 158 159 160 161 162 163 164 165 166
								<os>linux</os>
								<ws>gtk</ws>
								<arch>x86_64</arch>
							</environment>
							<environment>
								<os>macosx</os>
								<ws>cocoa</ws>
								<arch>x86_64</arch>
							</environment>
							<environment>
								<os>win32</os>
								<ws>win32</ws>
								<arch>x86_64</arch>
							</environment>
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
						</environments>
						<target>
							<artifact>
								<groupId>org.bonitasoft.studio</groupId>
								<artifactId>platform</artifactId>
								<version>${platform.version}</version>
							</artifact>
						</target>
						<filters>
							<filter>
								<type>eclipse-plugin</type>
								<id>org.bonitasoft.studioEx.console.libs</id>
								<removeAll />
							</filter>
						</filters>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.8</source>
					<target>1.8</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>tycho-versions-plugin</artifactId>
			</plugin>
			<!-- enable tycho build extension -->
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>tycho-maven-plugin</artifactId>
				<version>${tychoVersion}</version>
				<extensions>true</extensions>
			</plugin>
			<plugin>
				<groupId>org.eclipse.tycho</groupId>
				<artifactId>target-platform-configuration</artifactId>
			</plugin>
		</plugins>
	</build>
212 213 214 215 216 217 218 219 220 221
	
	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.bonitasoft.engine.data</groupId>
				<artifactId>bonita-business-data-generator</artifactId>
				<version>${engine.version}</version>
			</dependency>
		</dependencies>
	</dependencyManagement>
222

223
	<profiles>
224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254
		<profile>
			<id>jdk11-tests</id>
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-toolchains-plugin</artifactId>
						<version>1.1</version>
						<executions>
							<execution>
								<phase>validate</phase>
								<goals>
									<goal>toolchain</goal>
								</goals>
							</execution>
						</executions>
						<configuration>
							<toolchains>
								<jdk>
									<version>11</version>
									<vendor>OpenJDK</vendor>
								</jdk>
							</toolchains>
						</configuration>
					</plugin>
				</plugins>
			</build>
		</profile>
255 256 257 258 259 260 261 262 263
		<profile>
			<id>default</id>
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
			<modules>
				<module>platform</module>
				<module>tests-dependencies</module>
				<module>bundles</module>
264 265 266 267 268 269 270 271
			</modules>
		</profile>
		<profile>
			<id>all-in-one</id>
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
			<modules>
272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292
				<module>all-in-one</module>
			</modules>
		</profile>
		<profile>
			<id>it</id>
			<modules>
				<module>tests</module>
			</modules>
		</profile>
		<profile>
			<id>macosx-jvm-flags</id>
			<activation>
				<os>
					<family>mac</family>
				</os>
			</activation>
			<properties>
				<os-jvm-flags>-XstartOnFirstThread</os-jvm-flags>
			</properties>
		</profile>
	</profiles>
293 294 295


</project>