Skip to main content
rajas64076994
October 16, 2015
Répondu

POM entries for Sightly package

I don't find "com.adobe.cq.sightly.WCMUse" package entry in adobe and also in Maven Repository , can someone please help me about finding pom entries for this package

Note :

I can use crxde light to import "com.adobe.cq.sightly.WCMUse" and build a package, but I don't want that option, I want to import this package in eclipse

Thanks

Raja

Ce sujet a été fermé aux réponses.
Meilleure réponse par GabrielWalt

Hi Reinhard,

Have a look at following blog post: http://experiencedelivers.adobe.com/cemblog/en/experiencedelivers/2014/05/aem6-maven-dependencies.html

With AEM6 there is just one big Maven dependency that you need to add to your project, and you are good to go!

<dependency> <groupid>com.adobe.aem</groupid> <artifactid>aem-api</artifactid> <version>6.0.0.1</version> <scope>provided</scope> </dependency>

Following urls might also be useful:

3 commentaires

GabrielWalt
Adobe Employee
GabrielWaltAdobe EmployeeRéponse
Adobe Employee
October 16, 2015

Hi Reinhard,

Have a look at following blog post: http://experiencedelivers.adobe.com/cemblog/en/experiencedelivers/2014/05/aem6-maven-dependencies.html

With AEM6 there is just one big Maven dependency that you need to add to your project, and you are good to go!

<dependency> <groupid>com.adobe.aem</groupid> <artifactid>aem-api</artifactid> <version>6.0.0.1</version> <scope>provided</scope> </dependency>

Following urls might also be useful:

Level 2
October 16, 2015

Hi,

I also need the the sightly and all other AEM 6.0 maven artifacts for developing. Where can I find them?

 

regards

Reinhard

Level 8
October 16, 2015

Take a look at this article: http://helpx.adobe.com/experience-manager/kb/HowToUseCQ5AsMavenRepository.html

It basically sets up your instance of AEM as a maven repository.  I've tried it with 6 this morning and it works just fine.

To find what your Maven entries are, navigate to: http://localhost:4502/system/console/depfinder and do a search for the class.  So for example, if you search for com.adobe.cq.sightly.WCMUse you'll see the result and in the far right column will be the maven dependency listing.

Just to note, for Sightly you'll need to following 2 dependencies:

<dependency>

            <groupId>com.adobe.granite</groupId>

            <artifactId>com.adobe.granite.sightly.engine</artifactId>

            <version>1.1.52</version>

            <scope>provided</scope>

        </dependency>

        <dependency>

            <groupId>com.adobe.cq.sightly</groupId>

            <artifactId>cq-wcm-sightly-extension</artifactId>

            <version>1.1.18</version>

            <scope>provided</scope>

        </dependency>