Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

POM entries for Sightly package

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Reinhard,

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

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:

View solution in original post

0 Replies

Avatar

Level 8

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>

Avatar

Level 3

Hi,

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

 

regards

Reinhard

Avatar

Correct answer by
Employee

Hi Reinhard,

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

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: