# Copyright 2004 The Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

maven.repo.remote = http://www.bluesunrise.com/maven/, http://www.ibiblio.org/maven/, http://dist.codehaus.org/, http://cvs.apache.org/repository

# Display the date on the Maven web site
maven.xdoc.date = left

# Display the maven version the web site is documenting
maven.xdoc.version = ${pom.currentVersion}

maven.compile.deprecation=on

# Whether to skip tests.
maven.test.skip=true

maven.junit.fork=true
maven.compile.fork=yes

# Include private method and field in Javadoc.
# Note: make sure only one is set to true (which is the reason to define all tree: default protected scope is true)
maven.javadoc.package=false
maven.javadoc.private=true
maven.javadoc.public=false

# Removed the rule rulesets/naming.xml from the default
# maven.pmd.rulesetfiles.  This is because the LongVariableName rule is to
# restrictive.  We need to increase the limit from 12 to 20
maven.pmd.rulesetfiles=rulesets/strings.xml,rulesets/junit.xml,rulesets/braces.xml,rulesets/basic.xml,rulesets/unusedcode.xml,rulesets/design.xml,rulesets/imports.xml,rulesets/codesize.xml

# ---------------------------------------------------------------------------
# Torque settings
torque.project = portal
torque.schema.sql.includes = *-schema.xml
torque.schema.sql.excludes =
torque.schema.dir = ${maven.src.dir}/schema
torque.idTableXMLFile =
torque.template.sql = sql/base/Control.vm

# ---------------------------------------------------------------------------
# Multiproject settings
maven.multiproject.includes=*/project.xml,components/*/project.xml,applications/*/project.xml,portals-bridges/*/project.xml,taglibs/*/project.xml
maven.multiproject.excludes=project.xml,applications/project.xml,cornerstone*/project.xml,portlet-api/project.xml,design-docs/project.xml,site/project.xml,taglibs/project.xml,maven-plugin/project.xml

jar.includes=applications/gems/project.xml,portlet-api/project.xml,commons/project.xml,cps/project.xml,content-server/project.xml,jetspeed-api/project.xml,portals-bridges/**/project.xml,portal/project.xml,components/**/project.xml,taglibs/treecontrol/project.xml
jar.excludes=/project.xml,maven-plugin/**,layout-portlets/**,applications/project.xml,applications/demo/**,applications/jsf-demo/**,applications/localeselector/**,applications/palm/**,applications/pam/**,applications/perl/**,applications/php/**,applications/rss/**,applications/security/**,applications/struts-demo/**,,applications/jpetstore/**site/project.xml,design-docs/project.xml

maven.multiproject.site.goals=site,dashboard:report-single

#----------------------------------------------------------------------------
# Jetspeed 2 internal build and deploy properties

org.apache.jetspeed.portal.name=jetspeed

# Jetspeed 2 checkstyle and license properties
# These are use to dynamically set checkstyle and license properties also for subprojects
# without needing them to be defined there as well (or through relative path references).
# The files are looked up in the subproject or, when not found, upwards in the parent project(s).
org.apache.jetspeed.checkstyle.header.file=checkstyle.license
org.apache.jetspeed.checkstyle.properties=checkstyle.xml
org.apache.jetspeed.license.licenseFile=LICENSE.TXT

# Sets up the system properties for the test JDBC datasource
maven.junit.sysproperties=org.apache.jetspeed.database.url \
org.apache.jetspeed.database.driver \
org.apache.jetspeed.database.user \
org.apache.jetspeed.database.password

#----------------------------------------------------------------------------
# Jetspeed 2 build and deploy configuration properties
#
# The following MUST be defined in the build.properties
# See:
#   http://portals.apache.org/jetspeed-2/getting-started.html

#org.apache.jetspeed.server.home = /jakarta-tomcat-5.0.30
#org.apache.jetspeed.catalina.version.major = 5
#org.apache.jetspeed.server.shared = ${org.apache.jetspeed.server.home}/shared/lib
#org.apache.jetspeed.deploy.war.dir = ${org.apache.jetspeed.server.home}/webapps
#org.apache.jetspeed.services.autodeployment.user = <username>
#org.apache.jetspeed.services.autodeployment.password = <password>

# Default server name and port for autodeployment.
# You can override these via ${user.home}/build.properties.
org.apache.jetspeed.services.autodeployment.server=localhost
org.apache.jetspeed.services.autodeployment.port=8080

# Override the database connection and driverproperties in your ${USER_HOME}/build.properties appropriately
# See:
#   http://portals.apache.org/jetspeed-2/database.html

org.apache.jetspeed.test.database.url = jdbc:hsqldb:hsql://127.0.0.1:9001
org.apache.jetspeed.test.database.driver = org.hsqldb.jdbcDriver
org.apache.jetspeed.test.database.user = sa
org.apache.jetspeed.test.database.password =

org.apache.jetspeed.test.jdbc.drivers.path=
org.apache.jetspeed.test.database.default.name=hsql
org.apache.jetspeed.test.database.ojb.platform=Hsqldb

org.apache.jetspeed.production.database.url = jdbc:hsqldb:hsql://127.0.0.1:9001
org.apache.jetspeed.production.database.driver = org.hsqldb.jdbcDriver
org.apache.jetspeed.production.database.user = sa
org.apache.jetspeed.production.database.password =

org.apache.jetspeed.production.jdbc.drivers.path=
org.apache.jetspeed.production.database.default.name=hsql
org.apache.jetspeed.production.database.ojb.platform=Hsqldb

## Dashboard plugin
maven.dashboard.includes=${maven.multiproject.includes}
maven.dashboard.excludes=${maven.multiproject.excludes}
maven.dashboard.rungoals = false
maven.dashboard.aggregators=cserrors,cswarnings,clovertpc,cloverloc,cloverncloc,junitpassrate,juniterrors,junitfailures,simiantdl
maven.dashboard.ignoreFailures=true

## MultiChanges plugin
maven.multichanges.includes=${maven.multiproject.includes}
maven.multichanges.excludes=${maven.multiproject.excludes}
maven.multichanges.ignoreFailures=true
