![]() ![]() ![]() We can have a look at what's inside a test-content-package.zip test content-package included in the cp2fm test resources: Metadata files, under the META-INF/ directory.nested content-packages, conventionally found under the jcr_root/etc/packages/.zip path.OSGi configurations, conventionally found under the jcr_root/apps//config(.runMode)/.OSGi bundles, conventionally found under the jcr_root/apps//install(.runMode)/.jar path typically, OSGi bundles are also valid Apache Maven artifacts, that means that they contain Apache Maven metadata files such as META-INF/maven///pom.(xml|properties).Understanding the InputĪs exposed above, content-packages are archives, compressed with the ZIP algorithm, which contain: The remaining JCR nodes/properties are kept in content packages which are either referenced in the Sling Feature Model Content Deployment Extension section or completely separate from the generated feature model. The Apache Sling Content Package to Feature Model converter (referred as cp2fm) is a tool able to extract OSGI bundles, OSGi configurations and iteratively scan nested content-packages from an input content-package and create one (or more) Apache Sling Feature model files and deploy the extracted OSGi bundles in a directory which structure is compliant the Apache Maven repository conventions. OTOH, Apache Sling Feature allows users to describe an entire OSGi-based application based on reusable components and includes everything related to this application, including bundles, configuration, framework properties, capabilities, requirements and custom artifacts. IntroductionĬontent-packages are zipped archives containing OSGi bundles, OSGi configurations, JCR nodes/properties and nested content-packages as well, aside metadata, that can be used to install content into a JCR repository using the Apache Jackrabbit FileVault packaging runtime. ![]() This tool aims to provide to Apache Sling users an easy-to-use conversion tool which is able to convert content-package archives to the new Sling Feature Model. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |