Maven Build Error | Community
Skip to main content
Level 3
October 16, 2015
Solved

Maven Build Error

  • October 16, 2015
  • 11 replies
  • 5326 views

Hi,

Getting the below error when building the project please find the attached file

[ERROR] Failed to execute goal com.day.jcr.vault:content-package-maven-plugin:0.0.13:package (default-package)
 on project commerce-training-content: Unable to parse configuration of mojo com.day.jcr.vault:content-package
-maven-plugin:0.0.13:package for parameter filters: Cannot find setter nor field in com.day.jcr.vault.maven.pa
ck.impl.DefaultWorkspaceFilter for 'filter' -> [Help 1]

Thanks in advance!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by viswacq5

Due to proxy it was throwing our error added the useProxy element and set to false it worked

Thanks!!

 <plugin>
                <groupId>com.day.jcr.vault</groupId>
                <artifactId>content-package-maven-plugin</artifactId>
                <extensions>true</extensions>
                <configuration>
                    <group>adobe/training</group>
                    <filters>
                        <filter>
                            <root>/apps/commerce-training</root>
                        </filter>
                    </filters>
                    <embeddeds>
                        <embedded>
                            <groupId>${project.groupId}</groupId>
                            <artifactId>commerce-training-bundle</artifactId>
                            <target>/apps/commerce-training/install</target>
                        </embedded>
                    </embeddeds>
                    <targetURL>http://${crx.host}:${crx.port}/crx/packmgr/service.jsp</targetURL>
                    <useProxy>false</useProxy>
                </configuration>
            </plugin>

11 replies

April 24, 2017

Add <useProxy>false</useProxy> in pom.xml for content-package-maven-plugin. Hope this well work :)