forked from liferay/liferay-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.properties
396 lines (322 loc) · 13.1 KB
/
build.properties
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
153
154
155
156
157
158
159
160
161
162
163
164
165
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
211
212
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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
##
## DO NOT EDIT THIS FILE.
##
## To update the properties of this file, create a separate properties file
## named "build.${user.name}.properties" with the properties to overwrite.
##
##
## Baseline JAR
##
baseline.jar.bnddir.name=.bnd
#baseline.jar.report.level=diff
#baseline.jar.report.level=off
baseline.jar.report.level=persist
#baseline.jar.report.level=standard
baseline.jar.report.only.dirty.packages=true
baseline.jar.reports.dir.name=baseline-reports
baseline.jar.url=https://repository.liferay.com/nexus/content/repositories/liferay-public-releases
-baseline=
-baselinerepo=remoterepo
-fixupmessages: "While setting properties ...";is:=ignore
-metatype: *
-plugin=\
aQute.bnd.deployer.repository.LocalIndexedRepo;\
local=${project.dir}/.bnd/localrepo;\
name=localrepo;\
phase=any;\
type=R5,\
aQute.bnd.deployer.repository.FixedIndexedRepo;\
cache=${project.dir}/.bnd/bndtoolsrepo;\
locations='https://github.com/bndtools/bundle-hub/raw/master/index.xml.gz';\
name=bndtoolsrepo;\
phase=any;\
type=R5,\
aQute.bnd.deployer.repository.FixedIndexedRepo;\
cache=${project.dir}/.bnd/remoterepo;\
locations='http://obr.liferay.com/r5/liferay-portal/index.xml.gz';\
name=remoterepo;\
phase=any;\
type=R5,\
com.liferay.ant.bnd.jsp.JspAnalyzerPlugin,\
com.liferay.ant.bnd.npm.NpmAnalyzerPlugin,\
com.liferay.ant.bnd.resource.bundle.ResourceBundleLoaderAnalyzerPlugin,\
com.liferay.ant.bnd.sass.SassAnalyzerPlugin,\
com.liferay.ant.bnd.service.ServiceAnalyzerPlugin,\
com.liferay.ant.bnd.spring.SpringDependencyAnalyzerPlugin
-pluginpath=${project.dir}/tools/sdk/osgi/lib/plugin/bnd-repository.jar
-releaserepo=localrepo
##
## BND Test
##
-resolve.effective=active
-runee=JavaSE-1.6
-runfw=org.apache.felix.framework
-runvm=-ea
##
## Build
##
build.binaries.cache.dir=../${build.binaries.cache.repository.name}
build.binaries.cache.repository.name=liferay-binaries-cache-2017
build.binaries.cache.url=https://github.com/liferay/${build.binaries.cache.repository.name}.git
build.binaries.gradle.file=gradle-3.3.LIFERAY-PATCHED-1-bin.zip
build.binaries.gradle.url=https://github.com/liferay/${build.binaries.cache.repository.name}/raw/master/${build.binaries.gradle.file}
build.bnd.print.enabled=false
#
# Set the module directories to exclude when running "ant all".
#
build.exclude.dirs=
#
# Set the module directories to include when running "ant all". Only the
# modules contained in these directories which also present a
# ".lfrbuild-portal" marker file will be deployed. If none is specified, all
# modules with a ".lfrbuild-portal" marker file will be deployed.
#
build.include.dirs=
#build.include.dirs=\
# apps/collaboration,\
# apps/forms-and-workflow,\
# apps/foundation,\
# apps/ip-geocoder,\
# apps/marketplace,\
# apps/static,\
# apps/sync,\
# apps/web-experience,\
# core,\
# util
build.marketplace.apps.enabled=true
build.performance.logger.enabled=false
build.repository.local.dir=${project.dir}/.m2
build.repository.private.password=
build.repository.private.url=
build.repository.private.username=
build.sdk.version=1.0.16
build.services.skip.read.only=true
##
## Compiler
##
ant.build.javac.source=1.8
ant.build.javac.target=1.8
#javac.compiler=com.google.errorprone.ErrorProneAntCompilerAdapter
javac.compiler=modern
javac.debug=on
javac.deprecation=off
javac.encoding=ISO-8859-1
javac.nowarn=on
jsp.precompile=off
jsp.precompile.dir=docroot
jsp.precompile.from.source=${build.marketplace.apps.enabled}
jsp.precompile.modules=${jsp.precompile}
jsp.precompile.parallel=on
##
## Classpath
##
classpath.full=${env.JAVA_HOME}/lib/tools.jar;${project.dir}/classes;${project.dir}/portal-impl/classes;${project.dir}/portal-impl/test-classes/integration;${project.dir}/portal-impl/test-classes/unit;${project.dir}/portal-kernel/classes;${project.dir}/portal-kernel/test-classes/unit;${project.dir}/portal-test/classes;${project.dir}/portal-test-integration/classes;${project.dir}/portal-web/docroot/WEB-INF/classes;${project.dir}/portal-web/test-classes/functional;${project.dir}/portal-web/test-classes/functional-generated;${project.dir}/util-bridges/classes;${project.dir}/util-java/classes;${project.dir}/util-java/test-classes/unit;${project.dir}/util-slf4j/classes;${project.dir}/util-taglib/classes
classpath.portal-impl-integration=${env.JAVA_HOME}/lib/tools.jar;${project.dir}/classes;${project.dir}/portal-impl/portal-impl.jar;${project.dir}/portal-impl/test-classes/integration;${project.dir}/portal-kernel/portal-kernel.jar;${project.dir}/portal-test/classes;${project.dir}/portal-test-integration/classes;${project.dir}/tools/sdk/dist/com.liferay.portal.impl.blogs.compat-1.0.0.jar;${project.dir}/tools/sdk/dist/com.liferay.portal.kernel.blogs.compat-1.0.0.jar;${project.dir}/tools/sdk/dist/com.liferay.portal.impl.trash.compat-1.0.0.jar;${project.dir}/util-bridges/classes;${project.dir}/util-java/classes;${project.dir}/util-slf4j/classes;${project.dir}/util-taglib/classes
classpath.portal-impl-unit=${env.JAVA_HOME}/lib/tools.jar;${project.dir}/classes;${project.dir}/portal-impl/classes;${project.dir}/portal-impl/test-classes/unit;${project.dir}/portal-kernel/classes;${project.dir}/portal-test/classes;${project.dir}/portal-test-integration/classes;${project.dir}/util-bridges/classes;${project.dir}/util-java/classes;${project.dir}/util-slf4j/classes;${project.dir}/util-taglib/classes
classpath.portal-kernel-unit=${env.JAVA_HOME}/lib/tools.jar;${project.dir}/classes;${project.dir}/portal-kernel/classes;${project.dir}/portal-kernel/test-classes/unit;${project.dir}/portal-test/classes
classpath.util-java-unit=${env.JAVA_HOME}/lib/tools.jar;${project.dir}/classes;${project.dir}/portal-kernel/classes;${project.dir}/portal-test/classes;${project.dir}/util-java/classes;${project.dir}/util-java/test-classes/unit
##
## Database Builder
##
db.build.java.mx=1024m
db.build.java.maxpermsize=256m
##
## Endorsed Libraries
##
endorsed.libraries=development/jutf7.jar,portal/ccpp.jar
##
## Git
##
git.working.branch.name=master
##
## Gradle
##
gradle.publish.key=
gradle.publish.secret=
org.gradle.daemon=false
##
## JaCoCo
##
jacoco.agent.jar=${project.dir}/lib/development/jacocoagent.jar
jacoco.dump.file=${project.dir}/jacoco/liferay-jacoco.exec
jacoco.excludes=
jacoco.includes=*
jacoco.report.folder=${project.dir}/jacoco/html-report
jacoco.report.include.source.file=true
##
## JDBC Drivers
##
jdbc.db2.driver=db2jcc4.jar,db2jcc_license_cu.jar
jdbc.hypersonic.driver=hsql.jar
jdbc.mariadb.driver=mariadb.jar
jdbc.mysql.driver=mysql.jar
jdbc.oracle.driver=ojdbc6.jar
jdbc.p6spy.driver=p6spy.jar,spy.properties
jdbc.postgresql.driver=postgresql.jar
jdbc.sqlserver.driver=sqljdbc42.jar
jdbc.sybase.driver=jconn4.jar
jdbc.drivers=${jdbc.db2.driver},${jdbc.hypersonic.driver},${jdbc.mariadb.driver},${jdbc.mysql.driver},${jdbc.oracle.driver},${jdbc.p6spy.driver},${jdbc.postgresql.driver},${jdbc.sqlserver.driver},${jdbc.sybase.driver}
#jdbc.drivers.optional.dir=
##
## JPDA
##
jpda.settings=-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y
##
## JUnit
##
junit.code.coverage=false
junit.halt.on.failure=false
junit.java.integration.gc=-Xms1024m -Xmx1024m -XX:MaxMetaspaceSize=512m -XX:MaxNewSize=32m -XX:MaxTenuringThreshold=0 -XX:MetaspaceSize=256m -XX:NewSize=32m -XX:ParallelGCThreads=2 -XX:SurvivorRatio=65536 -XX:TargetSurvivorRatio=0 -XX:-UseAdaptiveSizePolicy -XX:+UseParallelOldGC
junit.java.unit.gc=-Xms512m -Xmx512m -XX:MaxMetaspaceSize=128m -XX:MaxNewSize=32m -XX:MaxTenuringThreshold=0 -XX:MetaspaceSize=64m -XX:NewSize=32m -XX:ParallelGCThreads=2 -XX:SurvivorRatio=65536 -XX:TargetSurvivorRatio=0 -XX:-UseAdaptiveSizePolicy -XX:+UseParallelOldGC
junit.java.unit.gc.logging=off
junit.jvm=java
junit.test.excludes=(?!)
junit.whip.jar=tools/sdk/dependencies/com.liferay.whip/lib/com.liferay.whip.jar
junit.whip.excludes=.*Test,.*Test\\$.*,.*\\$\\$EnhancerByMockitoWithCGLIB\\$\\$.*,.*\\$\\$FastClassByMockitoWithCGLIB\\$\\$.*,.*\\$Proxy.*,com/liferay/whip/.*
junit.whip.includes=com/liferay/.*
##
## Microsoft Translator
##
#
# Set the subscription key for Microsoft Translation integration.
# Subscription to the Translator Text Translation API on Microsoft Cognitive
# Services is required. Basic subscriptions, up to 2 million characters a
# month, are free. See
# http://docs.microsofttranslator.com/text-translate.html for more
# information.
#
microsoft.translator.subscription.key=
##
## Mirrors
##
mirrors.cache.dir=${user.home}/.liferay/mirrors
##
## NodeJS
##
#
# Set additional arguments to pass to NPM when invoked via Gradle.
#
nodejs.npm.args=
#nodejs.npm.args=--maxsockets 3
#
# Set the registry URL to use when invoking NPM via Gradle in a Jenkins
# environment. Leave the property empty to use the default NPM registry.
#
nodejs.npm.ci.registry=
#nodejs.npm.ci.registry=http://mirrors.lax.liferay.com:4873
#
# Set the alternative node-sass binaries download URL to use when invoking
# NPM via Gradle in a Jenkins environment.
#
nodejs.npm.ci.sass.binary.site=
#nodejs.npm.ci.sass.binary.site=http://mirrors.lax.liferay.com/github.com/sass/node-sass/releases/download
#
# Set the credentials to use when publishing NPM modules via Gradle.
#
nodejs.npm.email=
nodejs.npm.password=
nodejs.npm.user=
#
# Set the registry URL to use when invoking NPM via Gradle. Leave the
# property empty to use the default NPM registry.
#
nodejs.npm.registry=
#nodejs.npm.registry=https://registry.npm.taobao.org
#
# Set the alternative node-sass binaries download URL.
#
nodejs.npm.sass.binary.site=
#nodejs.npm.sass.binary.site=http://npm.taobao.org/mirrors/node-sass
##
## Operating Systems
##
os.apple=Mac OS X
os.unix=Linux,FreeBSD,Solaris,SunOS
os.windows=Windows 95,Windows 98,Windows NT,Windows 2000,Windows 2003,Windows XP,Windows Vista,Windows 7
##
## Parallel Thread Count
##
parallel.thread.count=8
##
## PMD
##
pmd.java.excludes=\
**/tmp/**,\
modules/apps/collaboration/wiki/wiki-engine-creole/src/main/java/com/liferay/wiki/engine/creole/internal/parser/parser/Creole10Parser.java,\
modules/apps/opensocial/opensocial-portlet/docroot/WEB-INF/src/org/apache/shindig/gadgets/oauth/OAuthRequest.java,\
modules/sdk/project-templates/project-templates-*/classes/archetype-resources/*/**,\
modules/sdk/project-templates/project-templates-*/src/main/resources/archetype-resources/*/**,\
modules/third-party/**,\
portal-client/**,\
portal-kernel/src/com/liferay/portal/kernel/license/messaging/LicenseManagerMessageType.java,\
tools/sdk/**
##
## Proxy
##
#setproxy.proxy.host=
#setproxy.proxy.port=
##
## Release Versions Test
##
release.versions.test.other.dir=
##
## Sass Compiler
##
sass.compiler.class.name=jni
#sass.compiler.class.name=ruby
sass.generate.source.map=false
sass.precision=5
##
## Service Builder
##
-liferay-service-xml: */service.xml
##
## Snapshot
##
snapshot.check.enabled=true
##
## Sonar
##
sonar.binaries=classes
sonar.dynamicAnalysis=reuseReports
sonar.exclusions=java/*,javax/*
sonar.host.url=http://localhost:9000
sonar.java.source=1.6
sonar.jdbc.driverClassName=com.mysql.jdbc.Driver
sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8
sonar.jdbc.password=liferay
sonar.jdbc.username=liferay
sonar.junit.reportsPath=test-results
sonar.language=java
sonar.modules=portal-impl,portal-kernel,util-bridges,util-java,util-taglib
sonar.projectKey=org.codehaus.sonar:liferay-portal
sonar.projectName=Liferay Portal
sonar.projectVersion=7.0.x
sonar.sourceEncoding=UTF-8
sonar.sources=src
sonar.tests=test-results/integration,test-results/unit
#
# See http://docs.codehaus.org/display/SONAR/Analyzing+with+SonarQube+Runner#AnalyzingwithSonarQubeRunner-Multi-moduleProject
# for more information.
#
portal-impl.sonar.projectName=Liferay Portal Impl
portal-kernel.sonar.projectName=Liferay Portal Kernel
util-bridges.sonar.projectName=Liferay Util Bridges
util-java.sonar.projectName=Liferay Util Java
util-taglib.sonar.projectName=Liferay Util Taglib
##
## Source Formatter
##
source.formatter.include.subrepositories=false
source.formatter.max.line.length=80
source.formatter.processor.thread.count=5
source.formatter.show.documentation=false
source.formatter.show.status.updates=true
##
## Testable Tomcat
##
testable.tomcat.debug.logging=off
##
## Upgrade Table Builder
##
upgrade.table.dir=