Comments (2)
I think that for now we should stick to bundles that are already availble in the product. Once/if SlingQuery is in, we can add it to the archetype
from aem-project-archetype.
SlingQuery will never be shipped directly with the AEM as it is an (useful) SLING extension. Therefore we decided to not include it directly in the AEM archetype.
If you want include the SlingQuery together with your archetype generated project you have to follow this steps manually:
1.: Add the dependency to your reactor pom.xml
<dependencies>
....
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.query</artifactId>
<version>3.0.0</version>
<scope>provided</scope>
</dependency>
...
</dependencies>
2.: To make use of the SlingQuery API add the dependency also to the core/pom.xml
<dependencies>
....
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.query</artifactId>
</dependency>
...
</dependencies>
3.: And finally, in case you want to auto install the bundle together with the ui.apps content-package, you have to add the dependency in ui.apps/pom.xml as well (see step 2) additionally to the embedded section of the content-package-maven-plugin
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
....
<configuration>
...
<embeddeds>
...
<embedded>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.query</artifactId>
<target>/apps/<appsFolderName>/install</target>
</embedded>
...
</embeddeds>
...
<configuration>
</plugin>
Please, make sure to replace <appsFolderName>
with the proper appsFolderName property provided at the archetype generation.
from aem-project-archetype.
Related Issues (20)
- Update FileVault from 1.1.6 -> 1.3.2
- Adobe I/O SSR (React) action does not work HOT 1
- Archetype version 42's tag shows an error when viewing in Github
- Forms tests fail with "cannot find symbol"
- Caching by default the sample site
- mvn clean test not working due to ui.frontend and ui.apps.structure module HOT 1
- AIO SSR Actions not getting deployed with install phase
- Cannot have different Pipeline variables for Stage & Prod - Cloud manager
- Cypress tests not generated when using uiTestingFramework parameter
- Archetype 23 does not exist when trying to create AEM project for version 6.5.0
- [ERROR] ValidationViolation: "jackrabbit-filter: Node '/apps/mysite/components/form/container/cq:editConfig' is not contained in any of the filter rules", filePath=jcr_root\apps\mysite\components\form\container\_cq_editConfig.xml
- Add replication metadata for CAC and Editable Templates
- Why Maven version is not stored in the pom.xml?
- Use jib-maven-plugin for building (Docker) images
- ui.tests (both cypress and wdio) throw errors with "install" or "deploy" phases HOT 2
- Enforce local build of ui-tests module by default HOT 8
- Is there a plan to move towards faster bundler for the frontend module ? such as esbuild or vite for newer archetype ?
- package.json: Is it LICENSE or LICENSE.txt or something else?
- ui.frontend + "npm run watch" not working on Windows 11 (fix/workaround inside) HOT 1
- Getting Error Maven must be executed with a Java 11 JRE or higher.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aem-project-archetype.