Skip to content

Commit

Permalink
corrected dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Sumanta Pakira committed Aug 17, 2020
1 parent 52a06bb commit c207682
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 6 deletions.
2 changes: 1 addition & 1 deletion all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,5 @@
<artifactId>core.wcm.components.config</artifactId>
<type>zip</type>
</dependency>
</dependencies>
</dependencies>
</project>
6 changes: 5 additions & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<bnd><![CDATA[
Import-Package: javax.annotation;version=0.0.0,*
]]>
-includeresource: handlebars.jar=handlebars-4.2.0.jar,tui-multifield.jar=multifield.core-master-dbc43663b0-1.jar;lib:=true,
-includeresource: tui-multifield.jar=multifield.core-master-dbc43663b0-1.jar;lib:=true,
Export-Package:com.aem.component.generator.core.*
</bnd>
</configuration>
Expand Down Expand Up @@ -102,6 +102,10 @@ Import-Package: javax.annotation;version=0.0.0,*
<groupId>com.github.jknack</groupId>
<artifactId>handlebars</artifactId>
</dependency>
<dependency>
<groupId>com.github.jknack</groupId>
<artifactId>handlebars-guava-cache</artifactId>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.annotation.versioning</artifactId>
Expand Down
4 changes: 1 addition & 3 deletions development.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ If you are using bnd-maven-plugin then add it as follows:
<type>zip</type>
</dependency>
7. This is a temporary solution, please install this [JAR](https://repo1.maven.org/maven2/com/github/jknack/handlebars/4.2.0/handlebars-4.2.0.jar) from maven repo directly in System console. https://mvnrepository.com/artifact/com.github.jknack/handlebars/4.2.0
I will make it as part of build process soon.

7. You have ACS Commons package installed because this is to [ensure permission](https://adobe-consulting-services.github.io/acs-aem-commons/features/ensure-service-users/index.html) .

Note: Restart AEM server if you see this error in log file:
*ERROR* [0:0:0:0:0:0:0:1 [1597653713267] GET /apps/cq/core/content/nav/tools/component-generator/component-generator/componentlist.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException
Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,11 @@ Bundle-DocURL:
<artifactId>handlebars</artifactId>
<version>4.2.0</version>
</dependency>
<dependency>
<groupId>com.github.jknack</groupId>
<artifactId>handlebars-guava-cache</artifactId>
<version>4.2.0</version>
</dependency>
<dependency>
<groupId>com.github.sumantapakira.aem-multifield</groupId>
<artifactId>multifield.core</artifactId>
Expand Down
10 changes: 9 additions & 1 deletion ui.apps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@
<artifactId>component-generator.core</artifactId>
<target>/apps/component-generator/install</target>
</embedded>
<embedded>
<groupId>com.github.jknack</groupId>
<artifactId>handlebars</artifactId>
<target>/apps/component-generator/install</target>
</embedded>
</embeddeds>
<subPackages>
</subPackages>
Expand Down Expand Up @@ -134,7 +139,10 @@
<version>${project.version}</version>
</dependency>


<dependency>
<groupId>com.github.jknack</groupId>
<artifactId>handlebars</artifactId>
</dependency>

<dependency>
<groupId>com.adobe.cq</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
{{#propertyLists}}
<div data-sly-test="${model.{{.}} }"> ${model.{{.}} } </div>
{{/propertyLists}}
{{#checkboxLists}}
<div data-sly-test="${model.{{.}} }"> ${model.{{.}} } </div>
{{/checkboxLists}}
{{#multiValueLists}}
<ul data-sly-list="${ model.multiField{{.}} }">
{{#multiFieldItemLists}}
Expand Down

0 comments on commit c207682

Please sign in to comment.