Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3540

maven-sling-plugin with usePut = true does not create intermediary folders

    XMLWordPrintableJSON

Details

    Description

      [INFO] Installing Bundle com.example.jcrbundle(/home/rmuntean/tmp/jcrbundle/target/jcrbundle-1.0-SNAPSHOT.jar) to http://localhost:8080/libs/sling/install via PUT
      [ERROR] Installation failed, cause: Conflict

      The reason is that the default Sling launchpad does not have a /libs/sling/install directory structure out of the box. The workaround is to create it, e.g. with curl

      curl -u admin:admin -X MKCOL http://localhost:8080/libs
      curl -u admin:admin -X MKCOL http://localhost:8080/libs/sling
      curl -u admin:admin -X MKCOL http://localhost:8080/libs/sling/install
      

      Attachments

        Issue Links

          Activity

            People

              rombert Robert Munteanu
              rombert Robert Munteanu
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: