Expand my Community achievements bar.

SOLVED

maven dependencies for com.adobe.cq.sightly.WCMUse and io.sightly.java.api.Use

Avatar

Level 7

Hi,

Do we have the maven dependencies for WCMUse and Use? I have searched but they are not available in the adobe/nexus repositories. When will we get them? Instead of writing JAVA class under the component, I would like to make them as different bundles (so that I can use some features of eclipse while programming like auto suggestions given by eclipse IDE whe we press ctrl+space) and want to use them in <component>.html.

Thanks,

Arya

1 Accepted Solution

Avatar

Correct answer by
Employee

here you go...

            <dependency>

                <groupId>com.adobe.aem</groupId>

                <artifactId>aem-api</artifactId>

                <version>6.0.0.1</version>

                <scope>provided</scope>

            </dependency>

You only need one :-)

best,
Feike

View solution in original post

3 Replies

Avatar

Correct answer by
Employee

here you go...

            <dependency>

                <groupId>com.adobe.aem</groupId>

                <artifactId>aem-api</artifactId>

                <version>6.0.0.1</version>

                <scope>provided</scope>

            </dependency>

You only need one :-)

best,
Feike

Avatar

Level 7

Hi Feike,

At the time you have given they are not in the repository. I got error whenever I added the above dependency in pom.xml. Now its working fine and I'm able to make the sightly related java files into a separate bundle they are working properly through sightly rendering logic.

Thanks,

AryA.

Avatar

Employee

Weird, because it is quite long already available as you can see via this url:

http://repo.adobe.com/nexus/content/groups/public/com/adobe/aem/aem-api/

Anyway, good that it is working now!