Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all articles
Browse latest Browse all 12476

Creating custom Adobe CQ commerce providers [ERROR]

$
0
0

I am trying to create a custom Adobe CQ commerce provider using maven, following this tutorial : Creating custom Adobe CQ commerce providers

 

I am able to create the Adobe CQ archetype project successfully. However, when i try to run the command mvn eclipse:eclipse, i encounter the following error:

 

C:\AdobeCQ\commerce-training>mvn eclipse:eclipse
[INFO] Scanning for projects...
[WARNING] The POM for com.day.jcr.vault:content-package-maven-plugin:jar:0.0.13
is missing, no dependency information available
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project com.adobe.training:commerce-training-content:1.0-SNAPSHOT
(C:\AdobeCQ\commerce-training\content\pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin com.day.jcr.vault:content-pack
age-maven-plugin:0.0.13 or one of its dependencies could not be resolved: Failur
e to find com.day.jcr.vault:content-package-maven-plugin:jar:0.0.13 in http://re
po.maven.apache.org/maven2 was cached in the local repository, resolution will n
ot be reattempted until the update interval of central has elapsed or updates ar
e forced -> [Help 2]
[ERROR]     Unknown packaging: content-package @ line 20, column 16
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
onException

 

The pom.xml file is the default one generated from the command executed from the tutorial:

 

<?xml version="1.0" encoding="UTF-8"?><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.adobe.training</groupId>        <artifactId>commerce-training</artifactId>        <version>1.0-SNAPSHOT</version>    </parent>    <!-- ====================================================================== -->    <!-- P R O J E C T D E S C R I P T I O N -->    <!-- ====================================================================== -->    <artifactId>commerce-training-content</artifactId>    <name>Commerce Training Package Package</name>    <packaging>content-package</packaging>    <build>        <resources>            <resource>                <directory>src/main/content/jcr_root</directory>                <filtering>false</filtering>                <excludes>                    <exclude>**/.vlt</exclude>                    <exclude>**/.vltignore</exclude>                </excludes>            </resource>        </resources>        <plugins>            <plugin>                <groupId>org.apache.maven.plugins</groupId>                <artifactId>maven-resources-plugin</artifactId>                <configuration>                    <includeEmptyDirs>true</includeEmptyDirs>                </configuration>            </plugin>            <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>                </configuration>            </plugin>        </plugins>    </build>    <dependencies>        <dependency>            <groupId>${project.groupId}</groupId>            <artifactId>commerce-training-bundle</artifactId>            <version>${project.version}</version>        </dependency>    </dependencies>    <profiles>        <profile>            <id>autoInstallPackage</id>            <build>                <plugins>                    <plugin>                        <groupId>com.day.jcr.vault</groupId>                        <artifactId>content-package-maven-plugin</artifactId>                        <executions>                            <execution>                                <id>install-content-package</id>                                <phase>install</phase>                                <goals>                                    <goal>install</goal>                                </goals>                            </execution>                        </executions>                    </plugin>                </plugins>            </build>        </profile>    </profiles></project>

 

Any ideas how to get this to work? Thanks in advance!


Viewing all articles
Browse latest Browse all 12476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>