pom.xml 8.47 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2 3
<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">
4 5 6
	<modelVersion>4.0.0</modelVersion>
	<groupId>org.bonitasoft.studio</groupId>
	<artifactId>studio</artifactId>
7
    <version>7.8.1-SNAPSHOT</version>
8 9 10
	<packaging>pom</packaging>
	<name>Bonita Studio</name>
	<properties>
11 12
		<tychoVersion>1.1.0</tychoVersion>
		<tychoExtrasVersion>1.1.0</tychoExtrasVersion>
13
		<os-jvm-flags></os-jvm-flags>
14
		<bundle.version>${project.version}</bundle.version>
15
		<ui.designer.version>1.8.33</ui.designer.version>
16 17
		<engine.version>${project.version}</engine.version>
		<filters.version>${project.version}</filters.version>
18 19 20
		<platform.version>${project.parent.version}</platform.version>
		<theme.builder.version>1.1.0</theme.builder.version>
		<watchdog.version>7.2.0</watchdog.version>
21
        <p2MirrorUrl>http://repositories.rd.lan/p2/7.7</p2MirrorUrl>
22
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23
        <sonar.exclusions>
Romain Bioteau's avatar
Romain Bioteau committed
24
            **/org/w3/**/*,
25 26
            **/src-gen/**/*,
            **/xtend-gen/**/*,
Romain Bioteau's avatar
Romain Bioteau committed
27 28 29
            **/org/bonitasoft/studio/actors/model/**/*,
            **/org/bonitasoft/studio/connector/model/implementation/provider/**/*,
            **/org/bonitasoft/studio/connector/model/definition/provider/**/*
30 31 32
        </sonar.exclusions>
        <sonar.login>51b70ff55d32a0c24e649805b14314ea7930c2de</sonar.login>
        <sonar.sourceEncoding>UTF-8</sonar.sourceEncoding>
33
        <tycho.localArtifacts>ignore</tycho.localArtifacts>
34 35 36 37
	</properties>
	<modules>
		<module>patched-plugins</module>
	</modules>
38

39 40 41 42
	<build>
		<pluginManagement>
			<plugins>
				<plugin>
43 44 45 46 47 48 49 50 51 52
                    <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>
53 54
					<groupId>org.bonitasoft.maven</groupId>
					<artifactId>image-overlay-plugin</artifactId>
55
                    <version>1.0.4</version>
56 57 58 59 60 61 62 63 64
				</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>
65
                    <version>2.20.1</version>
66 67 68 69
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-clean-plugin</artifactId>
70
					<version>3.1.0</version>
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
				</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>
117
                    <version>1.8</version>
118 119 120 121
				</plugin>
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>exec-maven-plugin</artifactId>
122
					<version>1.6.0</version>
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
				</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>
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
                                <os>linux</os>
                                <ws>gtk</ws>
                                <arch>x86_64</arch>
                            </environment>
                            <environment>
                                <os>linux</os>
                                <ws>gtk</ws>
                                <arch>x86</arch>
                            </environment>
                            <environment>
                                <os>macosx</os>
                                <ws>cocoa</ws>
                                <arch>x86_64</arch>
                            </environment>
                            <environment>
                                <os>win32</os>
                                <ws>win32</ws>
                                <arch>x86</arch>
                            </environment>
                            <environment>
                                <os>win32</os>
                                <ws>win32</ws>
                                <arch>x86_64</arch>
                            </environment>
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 212 213 214 215 216 217 218
						</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>
219

220 221 222 223 224 225 226
	<repositories>
		<repository>
			<id>update-site</id>
			<url>${p2MirrorUrl}</url>
			<layout>p2</layout>
		</repository>
	</repositories>
227

228 229 230 231 232 233 234 235 236 237
	<profiles>
		<profile>
			<id>default</id>
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
			<modules>
				<module>platform</module>
				<module>tests-dependencies</module>
				<module>bundles</module>
238 239
            </modules>
        </profile>
240 241 242 243 244 245
        <profile>
            <id>all-in-one</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <modules>
246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266
				<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>
267 268 269


</project>