Expand my Community achievements bar.

Jai1122
Jai1122
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Yeah tried that. Still facing the same issue. Attaching the maven error log

    Type

    Questions

    Views

    5.0K

    Like

    1

    Replies

    0
  • Yes opkar. The port is 4506. I do not see any errors in cq logs but the log from maven is as attached. From line number 20 you can see the Error

    Type

    Questions

    Views

    5.0K

    Like

    1

    Replies

    0
  • Yes Opkar. The profile is as follows, <profile> <id>autoInstallPackage</id> <build> <plugins> <plugin> <groupId>com.day.jcr.vault</groupId> <artifactId>content-package-maven-plugin</artifactId> <version>0.0.24</version> <executions> <execution> <id>install-content-package</id> <phase>install</phase>...

    Type

    Questions

    Views

    5.0K

    Like

    1

    Replies

    0
  • My bad.. Bundle installation is happening. I just executed the command from the wrong folder,sorry for that Opkar.I tried running mvn clean install -PautoinstallPackage from the content folder but still struck with the same error. I also created the folders in CRXDE Lite and configured filter.xml as...

    Type

    Questions

    Views

    5.0K

    Like

    1

    Replies

    0
  • No it is not helping. Actually i am getting a build failure.I am not sure why it is not deploying the OSGI bundles. It simply says that the jar is not an OSGI bundle!!

    Type

    Questions

    Views

    5.0K

    Like

    1

    Replies

    0
  • Ratna Kumar wrote... Hi Jai, Thanks for reaching out to Adobe Community. As you refer the article, https://helpx.adobe.com/experience-manager/using/first-osgi.html(First OSGI), the command used to install bundle is "mvn clean install", it will be located only in Target folder. You need to install ma...

    Type

    Questions

    Views

    5.0K

    Like

    1

    Replies

    0
  • Hi Opkar,   I am using the maven command mvn clean install -Pautoinstallbundle. This has to install the bundle to the instance automatically (I have done this before).Also when i try to run the command mvn clean install -Pautoinstallpackage which should install the /apps/.. package, just  says"Reque...

    Type

    Questions

    Views

    4.9K

    Like

    1

    Replies

    0
  • Hi All,   I tried to setup a maven project and refered the help docs.I have successfully compiled and jar files are available in the target folder. But it is not getting installed to the CQ instance.In the maven logs i could see "D://Workspace/target/my-bundle-SNAPSHOT-1.0-Jar is not an OSGI bundle,...

    Type

    Questions

    Views

    7.1K

    Likes

    0

    Replies

    23
  • It is working!!!Managed to accomplish it like this ResourceResolver resourceResolver = request.getResourceResolver(); Resource resource = request.getResource(); PageManager pageManager = resourceResolver.adaptTo(PageManager.class); Page page = pageManager.getContainingPage(resource);Thanks kunal and...

    Type

    Questions

    Views

    1.5K

    Like

    1

    Replies

    0
  •     Hi All,        I am invoking a tag lib with slingRequest object in which i have the following code import com.day.cq.wcm.api.Page; public class Temp extends SimpleTagSupport{ public static String getValue(SlingHttpServletRequest request){ LOG.info("Resource Path is {}",request.getResource()); Pa...

    Type

    Questions

    Views

    2.7K

    Likes

    0

    Replies

    3
Top badges earned by Jai1122
Customize the badges you want to showcase on your profile