All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
TBD
3.3.0 2021-01-20
-
Task
validateManifest
- New Validations- Check if of cloud media conversion is correct
- Fail if
<extension>.webroot
properties are used
3.2.0 2021-01-15
-
CCv2: New Task
validateManifest
Validate yourmanifest.json
for common errors locally, instead of detecting error only after you have triggered the build in the cloud portal or, even worse, during deployment.
For details please check the user documentation -
CCv2: Task
installManifestAddons
Support forstorefrontAddons.addons
/storefrontAddons.storefronts
arrays (Documentation) -
Build: Configure default task dependencies for generated ant tasks (#24)
You can now configure the default dependencies for ant tasks generated by the ant task rulehybris { antTaskDependencies.set(listOf("bootstrapPlatform")) }
- CCv2: Task
installManifestAddons
Addons are now installed exactly in the same way as they are in the cloud build.
3.1.0 - 2020-12-23
removeUnusedExtensions
- remove all extensions that the project doesn't use (to save disk space)
3.0.0 - 2020-09-25
- Plugin IDs
The new plugin IDs are:sap.commerce.build
sap.commerce.build.ccv2
sap.commerce.ccv1.package
- Removed
SupportPortalDownload
2.1.1 - 2020-09-25
-
Plugin IDs
Since the plugin recently moved to the SAP open source organization, the plugin will soon be updated to reflect this changeOld New mpern.sap.commerce.build
sap.commerce.build
mpern.sap.commerce.build.ccv2
sap.commerce.build.ccv2
mpern.sap.commerce.ccv1.package
sap.commerce.ccv1.package
-
Task Type
SupportPortalDownload
The logic to determine the download link for an artifact is quite complex and brittle, and there are easier ways to do achieve the same outcome.
Check the FAQ for more information
2.1.0 - 2020-06-16
- CCv2 Plugin: Support
extensionPacks
array (docs). This is especially relevant for the new "Integration Extension Pack"
During the execution of the bootstrapPlatform
task, the plugin resolves extension packs as dependencies as follows:
name
/version
:
de.hybris.platform:${name}:${version}@zip
artifact
:
${artifact}
(as is, without any changes)
ifartifact
is configured,name
andversion
are ignored (as specified in the docs)
The plugin unpacks all resolved dependencies into the project root folder. (the same way as the platform.zip is unpacked).
- Changed the default value for
hybris.cleanGlob
toglob:**hybris/bin/{ext-**,platform**,modules**}
to match the new folder structure.
2.0.0 - 2020-02-16
- Support Gradle 6.x
- Dropped support for Gradle 4.x due to changes in the Gradle Plugin API in 6.x
1.5.1 - 2019-10-22
- Change the file format of the deployment package checksum file to follow the latest packaging guidelines. (#15)
A big "thank you" to @I048752 for providing the fix!
1.5.0 - 2019-08-09
- CCv2 Plugin: Cloud Extension Pack support
If the cloud extension pack is enabled in your manifest.json
("useCloudExtensionPack": true
), the bootstrapPlatform
task will automatically:
- download and unpack the extension pack (artifact coordinates:
de.hybris.platform:hybris-cloud-extension-pack:<commerce-version-without-patch>.+
) into the foldercloud-extension-pack
- patch
localextensions.xml
to load the extensions from the cloud extension pack, if necessary
- Install addons defined in
manifest.json
faster
1.4.0 - 2019-04-09
- Task
buildCCV1Package
now declares task outputs - you can now easily (post)process the generated package (#12)
1.3.3 - 2019-03-29
- Ensure correct ccv1 deployment package name (#11)
1.3.2 - 2019-03-18
- Fix calling ant targets on the SAP JVM (#10)
1.3.1 - 2019-03-07
- CCv2 plugin correctly parses a minimal
manifest.json
(#9)
1.3.0 - 2019-01-18
-
Gradle 5+ support
Check the kotlin-dsl-example repository on how to write your build with the Kotlin DSL -
New property
sha256Sum
forSupportPortalDownloadTask
to support checksums available on launchpad.support.sap.com (More details in the documentation and the FAQ)
1.2.2 - 2019-01-17
- CCv2 Plugin: you can override the platform version configured in
manifest.json
in thebuild.gradle
- Improve platform version detection
This should take care of #8
1.2.1 - 2018-12-14
- Keep case of ant target (#5)
1.2.0 - 2018-10-26
- Include Solr customization in a CCv1 package (PR #3)
A big "thank you" to @karol-szczecinski-sap for implementing the feature!
1.1.1 - 2018-09-24
- Change glob pattern to match ant directory in 1808
1.1.0 - 2018-08-27
- CCV2
manifest.json
support
Configure your local build using amanifest.json
file using the new CCV2 build plugin.
Details can be found in the wiki!
-
HybrisAntTask
configure Ant properties consistently via the new methodsantProperty(String key, String value)
andsetAntProperties(Map<String,String>)
Using the built-in method
systemProperty
(provided byJavaExec
) doesn't work for all cases, unfortunately
1.0.2 - 2018-08-23
- Fixed ccv1 package generation on Linux (see PR #1)
Shout out to @corneleberle for providing the fix.
1.0.1 - 2018-06-29
- Fix unpack of platform zip on Windows
1.0.0 - 2018-06-25
🎉 Initial release 🎉