Release 2.0.0
Finally, we got stable 2.0.0 release with fully automated local AEM instances setup.
Also now
Implemented:
- #52 | Plugin is covered by integration tests using Gradle TestKit.
- #44 | Fully automated local AEM instances setup (
aemSetup
) with remote packages collecting and installation with stability checks (by default AEM Author and AEM Publish with debug ports opened, with dependent packages and application installed). - #49 | Merging filter roots improved (all-in-one packages generation)
includeProject
,includeContent
,includeBundles
improved / cross project lifecycle dependenciesproject.groupId
,project.artifactId
properties are now expandable as fallback for projects being migrated from Mavenconfig.fileProperties
now can be used to specify non-existing properties being evaluated in XML files, for instance:project.build.finalName
(other Maven legacy properties).- new task
aemCollect
which collects all CRX packages related with project and packs them into one ZIP to be able to easily transfer deliverables to client environments.
Upgrade notes:
apply plugin: 'com.cognifide.aem'
change toapply plugin: 'com.cognifide.aem.package'
- at the root of your aem project (or module) add
apply plugin: 'com.cognifide.aem.instance'
underapply plugin: 'com.cognifide.aem.package
' to get instance related tasks likeaemSetup
,aemUp
,aemSatisfy
etc. - instance definition lines now are respecting type of instance (local or remote, author or publish) to be able to setup local instances by that configuration:
aem {
config {
instance("http://localhost:4502", "admin", "admin", "local-author")
}
}
change to
aem {
config {
localInstance("http://localhost:4502" /* , "admin", "admin", "author", 14502 */)
}
}
or
aem {
config {
remoteInstance("192.168.100.100:4502" /*, "admin", "admin", "publish", "integration" */)
}
}
- remember to wrap section above into section with new common id (for configuration shared between package and instance plugins)
plugins.withId 'com.cognifide.aem.base', {
aem {
config {
localInstance "http://localhost:4502"
localInstance "http://localhost:4503"
}
}
}