Expand my Community achievements bar.

Problem building project on windows

Avatar

Level 1

Hi, i'm porting my aem project from my linux development environment to my new windows environment.

I'm compiling the project on:

- Windows 10 Enterprise
- java version "11.0.15" 2022-04-19 LTS
- Apache Maven 3.3.9

When i exec the deploy command "mvn -s ~/etc/settings.xml clean install -PautoInstallPackage -Plocalhost" the process goes in error.

 

[ERROR] Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:1.0.2:install (install-package) on project intranet.ui.apps: Execution install-package of goal
com.day.jcr.vault:content-package-maven-plugin:1.0.2:install failed: A required class was missing while executing com.day.jcr.vault:content-package-maven-plugin:1.0.2:inst
all: org/apache/commons/codec/DecoderException

 

any suggest to resolve the problem on windows ?

 

Thank you.

 

[INFO]
[INFO] --- diralias-copy:1.4-2-NOUDC:copy-to-diralias (artifact-copy-in-diralias) @ intranet.ui.apps ---
[INFO] BuildCentralizzata - skipping copy to diralias [AEMPACKAGES2]
[INFO]
[INFO] --- content-package-maven-plugin:1.0.2:install (install-package) @ intranet.ui.apps ---
[INFO] Installing intranet.ui.apps (C:\home\development\intranet\intranet\ui.apps\target\intranet.ui.apps-1.1.6-SNAPSHOT.zip) to http://localhost:4502/crx/packmgr/service.j
sp
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ISP Intranet ....................................... SUCCESS [ 3.798 s]
[INFO] ISP Intranet - Core ................................ SUCCESS [01:07 min]
[INFO] ISP Intranet - Repository Structure Package ........ SUCCESS [ 2.313 s]
[INFO] ISP Intranet - UI apps ............................. FAILURE [ 36.928 s]
[INFO] ISP Intranet - UI content .......................... SKIPPED
[INFO] ISP Intranet - UI config ........................... SKIPPED
[INFO] ISP Intranet - All ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:01 min
[INFO] Finished at: 2022-08-10T17:10:15+02:00
[INFO] Final Memory: 33M/120M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:1.0.2:install (install-package) on project intranet.ui.apps: Execution install-package of goal
com.day.jcr.vault:content-package-maven-plugin:1.0.2:install failed: A required class was missing while executing com.day.jcr.vault:content-package-maven-plugin:1.0.2:inst
all: org/apache/commons/codec/DecoderException
[ERROR] -----------------------------------------------------
[ERROR] realm = extension>com.day.jcr.vault:content-package-maven-plugin:1.0.2
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/home/var/mvn_repository/com/day/jcr/vault/content-package-maven-plugin/1.0.2/content-package-maven-plugin-1.0.2.jar
[ERROR] urls[1] = file:/C:/home/var/mvn_repository/org/eclipse/aether/aether-util/1.0.0.v20140518/aether-util-1.0.0.v20140518.jar
[ERROR] urls[2] = file:/C:/home/var/mvn_repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
[ERROR] urls[3] = file:/C:/home/var/mvn_repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
[ERROR] urls[4] = file:/C:/home/var/mvn_repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.0.M1/org.eclipse.sisu.inject-0.3.0.M1.jar
[ERROR] urls[5] = file:/C:/home/var/mvn_repository/org/sonatype/sisu/sisu-guice/3.2.3/sisu-guice-3.2.3-no_aop.jar
[ERROR] urls[6] = file:/C:/home/var/mvn_repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
[ERROR] urls[7] = file:/C:/home/var/mvn_repository/com/google/guava/guava/16.0.1/guava-16.0.1.jar
[ERROR] urls[8] = file:/C:/home/var/mvn_repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
[ERROR] urls[9] = file:/C:/home/var/mvn_repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
[ERROR] urls[10] = file:/C:/home/var/mvn_repository/org/apache/xbean/xbean-reflect/3.4/xbean-reflect-3.4.jar
[ERROR] urls[11] = file:/C:/home/var/mvn_repository/log4j/log4j/1.2.12/log4j-1.2.12.jar
[ERROR] urls[12] = file:/C:/home/var/mvn_repository/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.jar
[ERROR] urls[13] = file:/C:/home/var/mvn_repository/com/google/code/google-collections/google-collect/snapshot-20080530/google-collect-snapshot-20080530.jar
[ERROR] urls[14] = file:/C:/home/var/mvn_repository/junit/junit/3.8.2/junit-3.8.2.jar
[ERROR] urls[15] = file:/C:/home/var/mvn_repository/org/codehaus/woodstox/wstx-asl/3.2.6/wstx-asl-3.2.6.jar
[ERROR] urls[16] = file:/C:/home/var/mvn_repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
[ERROR] urls[17] = file:/C:/home/var/mvn_repository/org/sonatype/spice/model-builder/1.3/model-builder-1.3.jar
[ERROR] urls[18] = file:/C:/home/var/mvn_repository/org/apache/maven/maven-project-builder/3.0-alpha-2/maven-project-builder-3.0-alpha-2.jar
[ERROR] urls[19] = file:/C:/home/var/mvn_repository/org/apache/maven/maven-archiver/3.0.0/maven-archiver-3.0.0.jar
[ERROR] urls[20] = file:/C:/home/var/mvn_repository/org/apache/maven/shared/maven-shared-utils/3.0.0/maven-shared-utils-3.0.0.jar
[ERROR] urls[21] = file:/C:/home/var/mvn_repository/commons-io/commons-io/2.4/commons-io-2.4.jar
[ERROR] urls[22] = file:/C:/home/var/mvn_repository/org/codehaus/plexus/plexus-archiver/2.9.1/plexus-archiver-2.9.1.jar
[ERROR] urls[23] = file:/C:/home/var/mvn_repository/org/codehaus/plexus/plexus-io/2.4.1/plexus-io-2.4.1.jar
[ERROR] urls[24] = file:/C:/home/var/mvn_repository/org/apache/commons/commons-compress/1.9/commons-compress-1.9.jar
[ERROR] urls[25] = file:/C:/home/var/mvn_repository/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar
[ERROR] urls[26] = file:/C:/home/var/mvn_repository/com/google/code/findbugs/findbugs/3.0.1/findbugs-3.0.1.jar
[ERROR] urls[27] = file:/C:/home/var/mvn_repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar
[ERROR] urls[28] = file:/C:/home/var/mvn_repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar
[ERROR] urls[29] = file:/C:/home/var/mvn_repository/com/google/code/findbugs/bcel-findbugs/6.0/bcel-findbugs-6.0.jar
[ERROR] urls[30] = file:/C:/home/var/mvn_repository/com/google/code/findbugs/jFormatString/2.0.1/jFormatString-2.0.1.jar
[ERROR] urls[31] = file:/C:/home/var/mvn_repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
[ERROR] urls[32] = file:/C:/home/var/mvn_repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
[ERROR] urls[33] = file:/C:/home/var/mvn_repository/org/ow2/asm/asm-debug-all/5.0.2/asm-debug-all-5.0.2.jar
[ERROR] urls[34] = file:/C:/home/var/mvn_repository/org/ow2/asm/asm-commons/5.0.2/asm-commons-5.0.2.jar
[ERROR] urls[35] = file:/C:/home/var/mvn_repository/org/ow2/asm/asm-tree/5.0.2/asm-tree-5.0.2.jar
[ERROR] urls[36] = file:/C:/home/var/mvn_repository/org/ow2/asm/asm/5.0.2/asm-5.0.2.jar
[ERROR] urls[37] = file:/C:/home/var/mvn_repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
[ERROR] urls[38] = file:/C:/home/var/mvn_repository/com/apple/AppleJavaExtensions/1.4/AppleJavaExtensions-1.4.jar
[ERROR] urls[39] = file:/C:/home/var/mvn_repository/jaxen/jaxen/1.1.6/jaxen-1.1.6.jar
[ERROR] urls[40] = file:/C:/home/var/mvn_repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[41] = file:/C:/home/var/mvn_repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[42] = file:/C:/home/var/mvn_repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
[ERROR] urls[43] = file:/C:/home/var/mvn_repository/org/codehaus/mojo/animal-sniffer-maven-plugin/1.14/animal-sniffer-maven-plugin-1.14.jar
[ERROR] urls[44] = file:/C:/home/var/mvn_repository/org/codehaus/mojo/animal-sniffer/1.14/animal-sniffer-1.14.jar
[ERROR] urls[45] = file:/C:/home/var/mvn_repository/org/ow2/asm/asm-all/5.0.3/asm-all-5.0.3.jar
[ERROR] urls[46] = file:/C:/home/var/mvn_repository/org/codehaus/mojo/java-boot-classpath-detector/1.14/java-boot-classpath-detector-1.14.jar
[ERROR] urls[47] = file:/C:/home/var/mvn_repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar
[ERROR] urls[48] = file:/C:/home/var/mvn_repository/org/apache/sling/org.apache.sling.commons.json/2.0.6/org.apache.sling.commons.json-2.0.6.jar
[ERROR] urls[49] = file:/C:/home/var/mvn_repository/org/slf4j/jcl-over-slf4j/1.7.5/jcl-over-slf4j-1.7.5.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: org.apache.commons.codec.DecoderException
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :intranet.ui.apps

4 Replies

Avatar

Level 5

From the below maven log entry it looks like that the apps package was successfully built but coiuldn't deploy to the AEM instance:

 

[INFO] Installing intranet.ui.apps (C:\home\development\intranet\intranet\ui.apps\target\intranet.ui.apps-1.1.6-SNAPSHOT.zip) to http://localhost:4502/crx/packmgr/service.jsp

 

Could you try installing the apps package manually and see what message you get in the error logs?

Avatar

Level 1

After zip upload, the console show:

 

intranet.ui.apps-1.1.6-SNAPSHOT.zip

Version: 1.1.6-SNAPSHOT dependencies!

 

Package: intranet.ui.apps
Download: intranet.ui.apps-1.1.6-SNAPSHOT.zip (4.3 MB)
Group: com.intesasanpaolo.intranet
Dependencies: adobe/cq60:core.wcm.components.content:2.15.2
adobe/cq60:core.wcm.components.config:2.15.2
Filters: /apps/intranet/clientlibs
/apps/intranet/components
/apps/intranet/i18n

 

After zip install, the console show:

 

Could not Install Package

"Refusing to install package com.intesasanpaolo.intranet:intranet.ui.apps:1.1.6-SNAPSHOT. required dependencies missing: [adobe/cq60:core.wcm.components.content:2.15.2, adobe/cq60:core.wcm.components.config:2.15.2]"

 

Install Package: /etc/packages/com.intesasanpaolo.intranet/intranet.ui.apps-1.1.6-SNAPSHOT.zip
Fri Aug 12 2022 11:17:55 GMT+0200 (Ora legale dell’Europa centrale)

Installing content

Error during processing:

org.apache.jackrabbit.vault.packaging.DependencyException: Refusing to install package com.intesasanpaolo.intranet:intranet.ui.apps:1.1.6-SNAPSHOT. required dependencies missing: [adobe/cq60:core.wcm.components.content:2.15.2, adobe/cq60:core.wcm.components.config:2.15.2]
	at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.installDependencies(JcrPackageImpl.java:784)
	at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.extract(JcrPackageImpl.java:383)
	at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.extract(JcrPackageImpl.java:360)
	at org.apache.jackrabbit.vault.packaging.impl.JcrPackageImpl.install(JcrPackageImpl.java:354)
	at com.day.crx.packaging.impl.J2EEPackageManager.consoleInstall(J2EEPackageManager.java:354)
	at com.day.crx.packaging.impl.J2EEPackageManager.doPost(J2EEPackageManager.java:204)
	at com.day.crx.packaging.impl.PackageManagerServlet.doPost(PackageManagerServlet.java:172)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:644)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:123)
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:86)
	at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:308)
	at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142)
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)
	at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:131)
	at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:142)
	at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)
	at org.apache.felix.http.base.internal.dispatch.Dispatcher$1.doFilter(Dispatcher.java:146)
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1002)
	at com.adobe.granite.auth.oauth.impl.OAuthCallbackFilter.doFilter(OAuthCallbackFilter.java:69)
	at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137)
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1008)
	at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:326)
	at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137)
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1008)
	at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:97)
	at org.apache.felix.http.base.internal.handler.PreprocessorHandler.handle(PreprocessorHandler.java:137)
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager$2.doFilter(WhiteboardManager.java:1008)
	at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager.invokePreprocessors(WhiteboardManager.java:1012)
	at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:91)
	at org.apache.felix.http.base.internal.dispatch.DispatcherServlet.service(DispatcherServlet.java:49)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:516)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
	at java.base/java.lang.Thread.run(Thread.java:834)

 

Error: Refusing to install package com.intesasanpaolo.intranet:intranet.ui.apps:1.1.6-SNAPSHOT. required dependencies missing: [adobe/cq60:core.wcm.components.content:2.15.2, adobe/cq60:core.wcm.components.config:2.15.2]
 
 

 

 

Avatar

Level 1

i think that the problem occur during the maven install phase. To complete environment info, this is the ui.apps/pom.xml

 

<?xml version="1.0" encoding="UTF-8"?>
<!--
| Copyright 2015 Adobe Systems Incorporated
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law or agreed to in writing, software
| distributed under the License is distributed on an "AS IS" BASIS,
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
| See the License for the specific language governing permissions and
| limitations under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<!-- ====================================================================== -->
<!-- P A R E N T P R O J E C T D E S C R I P T I O N -->
<!-- ====================================================================== -->
<parent>
<groupId>com.intesasanpaolo.intranet</groupId>
<artifactId>intranet</artifactId>
<version>1.1.6-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<!-- ====================================================================== -->
<!-- P R O J E C T D E S C R I P T I O N -->
<!-- ====================================================================== -->
<artifactId>intranet.ui.apps</artifactId>
<packaging>content-package</packaging>
<name>ISP Intranet - UI apps</name>
<description>UI apps package for ISP Intranet</description>

<!-- ====================================================================== -->
<!-- B U I L D D E F I N I T I O N -->
<!-- ====================================================================== -->
<build>
<sourceDirectory>src/main/content/jcr_root</sourceDirectory>
<plugins>
<!-- ====================================================================== -->
<!-- V A U L T P A C K A G E P L U G I N S -->
<!-- ====================================================================== -->
<plugin>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>filevault-package-maven-plugin</artifactId>
<configuration>
<properties>
<cloudManagerTarget>none</cloudManagerTarget>
</properties>
<group>com.intesasanpaolo.intranet</group>
<name>intranet.ui.apps</name>
<packageType>application</packageType>
<repositoryStructurePackages>
<repositoryStructurePackage>
<groupId>com.intesasanpaolo.intranet</groupId>
<artifactId>intranet.ui.apps.structure</artifactId>
</repositoryStructurePackage>
</repositoryStructurePackages>
<dependencies>
<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.content</artifactId>
</dependency>
<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.config</artifactId>
</dependency>
</dependencies>
</configuration>
</plugin>
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<verbose>true</verbose>
<failOnError>true</failOnError>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.sling</groupId>
<artifactId>htl-maven-plugin</artifactId>
<executions>
<execution>
<id>validate-htl-scripts</id>
<goals>
<goal>validate</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<generateJavaClasses>true</generateJavaClasses>
<generatedJavaClassesPrefix>org.apache.sling.scripting.sightly</generatedJavaClassesPrefix>
<sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
<allowedExpressionOptions>
<allowedExpressionOption>cssClassName</allowedExpressionOption>
<allowedExpressionOption>decoration</allowedExpressionOption>
<allowedExpressionOption>decorationTagName</allowedExpressionOption>
<allowedExpressionOption>wcmmode</allowedExpressionOption>
</allowedExpressionOptions>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

<!-- ====================================================================== -->
<!-- D E P E N D E N C I E S -->
<!-- ====================================================================== -->
<dependencies>
<dependency>
<groupId>com.intesasanpaolo.intranet</groupId>
<artifactId>intranet.core</artifactId>
<version>${project.version}</version>
</dependency>

<!-- <dependency>-->
<!-- <groupId>com.intesasanpaolo.intranet</groupId>-->
<!-- <artifactId>intranet.ui.frontend</artifactId>-->
<!-- <version>${project.version}</version>-->
<!-- <type>zip</type>-->
<!-- </dependency>-->

<!-- SPA Project Core (includes hierarchy page) -->
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>spa.project.core.ui.apps</artifactId>
<type>zip</type>
</dependency>
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>spa.project.core.core</artifactId>
</dependency>
<dependency>
<groupId>com.intesasanpaolo.intranet</groupId>
<artifactId>intranet.ui.apps.structure</artifactId>
<version>${project.version}</version>
<type>zip</type>
</dependency>

<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.core</artifactId>
</dependency>

<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.content</artifactId>
<type>zip</type>
</dependency>
<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.config</artifactId>
<type>zip</type>
</dependency>


<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
</dependency>

<dependency>
<groupId>javax.jcr</groupId>
<artifactId>jcr</artifactId>
</dependency>

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</dependency>

<dependency>
<groupId>com.day.cq.wcm</groupId>
<artifactId>cq-wcm-taglib</artifactId>
</dependency>

<!-- HTL dependencies needed for the HTL Maven Plugin source code generation -->
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.scripting.sightly.runtime</artifactId>
<version>1.2.4-1.4.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

Avatar

Level 2

Same here, I'm still not able to resolved this..

Finally I've deleted the Repository folder and rebuild then it works for some extent. 
But we need to delete repo folder daily for this.

Still this decoderException persist.
I tried to add below versions in UI pom. but no luck.

1> <dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.16.0</version>
</dependency>

 

2>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
</plugin>

 

3>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.11</version>
</dependency>

4><groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<version>1.0.4</version>

5> <groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<version>1.0.2</version>

 

Also tried to add this in settings.xml

<mirror>

<id>maven-default-http-blocker</id>

<mirrorOf>external:http:*</mirrorOf>

<name>Pseudo repository to mirror external repositories initially using HTTP.</name>

<url>http://0.0.0.0/</url>

<blocked>false</blocked>

</mirror>


Please let me know if you already found the solution.

Nikita_Mazire_0-1697448688832.png