pom.xml 7.91 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.9.0-SNAPSHOT</version>
10 11 12
	<packaging>pom</packaging>
	<name>Bonita Studio</name>
	<properties>
13 14
		<tychoVersion>1.3.0</tychoVersion>
		<tychoExtrasVersion>1.3.0</tychoExtrasVersion>
15
		<os-jvm-flags></os-jvm-flags>
16
		<bundle.version>${project.version}</bundle.version>
17
		<ui.designer.version>1.9.18</ui.designer.version>
18 19
		<engine.version>${project.version}</engine.version>
		<filters.version>${project.version}</filters.version>
20 21 22
		<platform.version>${project.parent.version}</platform.version>
		<theme.builder.version>1.1.0</theme.builder.version>
		<watchdog.version>7.2.0</watchdog.version>
23
		<p2MirrorUrl>http://repositories.rd.lan/p2/4.10</p2MirrorUrl>
24
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
25 26 27 28 29 30 31 32 33 34 35
		<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>
36 37 38 39
	</properties>
	<modules>
		<module>patched-plugins</module>
	</modules>
40

41 42 43 44
	<build>
		<pluginManagement>
			<plugins>
				<plugin>
45 46 47 48 49 50 51 52 53 54
					<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>
55 56
					<groupId>org.bonitasoft.maven</groupId>
					<artifactId>image-overlay-plugin</artifactId>
57
					<version>1.0.4</version>
58 59 60 61 62 63 64 65 66
				</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>
67
					<version>2.22.0</version>
68 69 70 71
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-clean-plugin</artifactId>
72
					<version>3.1.0</version>
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
				</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>
119
					<version>1.8</version>
120 121 122 123
				</plugin>
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>exec-maven-plugin</artifactId>
124
					<version>1.6.0</version>
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
				</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>
152 153 154 155 156 157 158 159 160 161 162 163 164 165
								<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>
166 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
						</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>
211

212
	<profiles>
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243
		<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>
244 245 246 247 248 249 250 251 252
		<profile>
			<id>default</id>
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
			<modules>
				<module>platform</module>
				<module>tests-dependencies</module>
				<module>bundles</module>
253 254 255 256 257 258 259 260
			</modules>
		</profile>
		<profile>
			<id>all-in-one</id>
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
			<modules>
261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281
				<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>
282 283 284


</project>