title: Install content bundle only on author?
body: <p>We have special content bundle that should be present only on author. Is it possible to configure bundle to do that? In maven pom the only difference is slingPort, and I feel that it's not very nice to rely on this parameter.</p>
  
  <p>Part of my pom dm-all, which is responsible for install: </p>
  
  <pre><code>&lt;dependencies&gt;
             &lt;dependency&gt;
              &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
              &lt;artifactId&gt;dm-config&lt;/artifactId&gt;
              &lt;version&gt;${project.version}&lt;/version&gt;
              &lt;type&gt;content-package&lt;/type&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
              &lt;artifactId&gt;dm-view&lt;/artifactId&gt;
              &lt;version&gt;${project.version}&lt;/version&gt;
              &lt;type&gt;content-package&lt;/type&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
              &lt;artifactId&gt;dm-view-author&lt;/artifactId&gt;
              &lt;version&gt;${project.version}&lt;/version&gt;
              &lt;type&gt;content-package&lt;/type&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
              &lt;artifactId&gt;dm-content&lt;/artifactId&gt;
              &lt;version&gt;${project.version}&lt;/version&gt;
              &lt;type&gt;content-package&lt;/type&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
              &lt;artifactId&gt;dm-services&lt;/artifactId&gt;
              &lt;version&gt;${project.version}&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.geronimo.specs&lt;/groupId&gt;
              &lt;artifactId&gt;geronimo-osgi-registry&lt;/artifactId&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.cqblueprints.taglib&lt;/groupId&gt;
              &lt;artifactId&gt;cqblueprints-taglib-all&lt;/artifactId&gt;
              &lt;version&gt;5.5.1&lt;/version&gt;
              &lt;type&gt;zip&lt;/type&gt;
          &lt;/dependency&gt;
          &lt;!-- extensions --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.wink&lt;/groupId&gt;
              &lt;artifactId&gt;wink-osgi&lt;/artifactId&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
              &lt;artifactId&gt;guava&lt;/artifactId&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.aopalliance&lt;/groupId&gt;
              &lt;artifactId&gt;com.springsource.org.aopalliance&lt;/artifactId&gt;
              &lt;version&gt;1.0.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;javax.inject&lt;/groupId&gt;
              &lt;artifactId&gt;com.springsource.javax.inject&lt;/artifactId&gt;
              &lt;version&gt;1.0.0&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;com.day.jcr.vault&lt;/groupId&gt;
                  &lt;artifactId&gt;content-package-maven-plugin&lt;/artifactId&gt;
                  &lt;extensions&gt;true&lt;/extensions&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;package&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;filters&gt;
                                  &lt;filter&gt;
                                      &lt;root&gt;/apps/dm/install&lt;/root&gt;
                                  &lt;/filter&gt;
                              &lt;/filters&gt;
  
                              &lt;embeddedTarget&gt;/apps/dm/install&lt;/embeddedTarget&gt;
                              &lt;embeddeds&gt;
                                  &lt;embedded&gt;
                                      &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
                                      &lt;artifactId&gt;dm-services&lt;/artifactId&gt;
                                      &lt;filter&gt;true&lt;/filter&gt;
                                  &lt;/embedded&gt;
                                  &lt;!-- extensions --&gt;
                                  &lt;embedded&gt;
                                      &lt;groupId&gt;org.apache.wink&lt;/groupId&gt;
                                      &lt;artifactId&gt;wink-osgi&lt;/artifactId&gt;
                                      &lt;filter&gt;true&lt;/filter&gt;
                                  &lt;/embedded&gt;
                                  &lt;embedded&gt;
                                      &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
                                      &lt;artifactId&gt;guava&lt;/artifactId&gt;
                                      &lt;filter&gt;true&lt;/filter&gt;
                                  &lt;/embedded&gt;
                                  &lt;embedded&gt;
                                      &lt;groupId&gt;org.aopalliance&lt;/groupId&gt;
                                      &lt;artifactId&gt;com.springsource.org.aopalliance&lt;/artifactId&gt;
                                  &lt;/embedded&gt;
                                  &lt;embedded&gt;
                                      &lt;groupId&gt;javax.inject&lt;/groupId&gt;
                                      &lt;artifactId&gt;com.springsource.javax.inject&lt;/artifactId&gt;
                                  &lt;/embedded&gt;
                                  &lt;embedded&gt;
                                      &lt;groupId&gt;org.apache.geronimo.specs&lt;/groupId&gt;
                                      &lt;artifactId&gt;geronimo-osgi-registry&lt;/artifactId&gt;
                                  &lt;/embedded&gt;
                                  &lt;embedded&gt;
                                      &lt;groupId&gt;org.osgi&lt;/groupId&gt;
                                      &lt;artifactId&gt;org.osgi.core&lt;/artifactId&gt;
                                  &lt;/embedded&gt;
                              &lt;/embeddeds&gt;
                              &lt;subPackages&gt;
                                  &lt;subPackage&gt;
                                      &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
                                      &lt;artifactId&gt;dm-config&lt;/artifactId&gt;
                                      &lt;filter&gt;true&lt;/filter&gt;
                                  &lt;/subPackage&gt;
                                  &lt;subPackage&gt;
                                      &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
                                      &lt;artifactId&gt;dm-view&lt;/artifactId&gt;
                                      &lt;filter&gt;true&lt;/filter&gt;
                                  &lt;/subPackage&gt;
                                  &lt;subPackage&gt;
                                      &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
                                      &lt;artifactId&gt;dm-content&lt;/artifactId&gt;
                                      &lt;filter&gt;true&lt;/filter&gt;
                                  &lt;/subPackage&gt;
                                  &lt;subPackage&gt;
                                      &lt;groupId&gt;com.cqblueprints.taglib&lt;/groupId&gt;
                                      &lt;artifactId&gt;cqblueprints-taglib-all&lt;/artifactId&gt;
                                      &lt;filter&gt;true&lt;/filter&gt;
                                  &lt;/subPackage&gt;
                                  &lt;subPackage&gt;
                                      &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
                                      &lt;artifactId&gt;dm-view-author&lt;/artifactId&gt;
                                      &lt;filter&gt;true&lt;/filter&gt;
                                  &lt;/subPackage&gt;
                              &lt;/subPackages&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  
      &lt;profiles&gt;
          &lt;profile&gt;
              &lt;id&gt;deploy-all&lt;/id&gt;
              &lt;!--
                  when activated, this profile will deploy and install the built CQ package to the target server.
              --&gt;
              &lt;activation&gt;
                  &lt;property&gt;
                      &lt;name&gt;deployPackage&lt;/name&gt;
                      &lt;value&gt;true&lt;/value&gt;
                  &lt;/property&gt;
              &lt;/activation&gt;
  
              &lt;build&gt;
                  &lt;plugins&gt;
                      &lt;plugin&gt;
                          &lt;groupId&gt;com.day.jcr.vault&lt;/groupId&gt;
                          &lt;artifactId&gt;content-package-maven-plugin&lt;/artifactId&gt;
                          &lt;executions&gt;
                              &lt;execution&gt;
                                  &lt;id&gt;install-package&lt;/id&gt;
                                  &lt;goals&gt;
                                      &lt;goal&gt;install&lt;/goal&gt;
                                  &lt;/goals&gt;
                              &lt;/execution&gt;
                          &lt;/executions&gt;
                      &lt;/plugin&gt;
                  &lt;/plugins&gt;
              &lt;/build&gt;
          &lt;/profile&gt;
      &lt;/profiles&gt;
  </code></pre>
  
  <p>Pom of dm-view-author, which I want to nistall on author only:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
      &lt;parent&gt;
          &lt;artifactId&gt;CQ&lt;/artifactId&gt;
          &lt;groupId&gt;EF&lt;/groupId&gt;
          &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
      &lt;/parent&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
      &lt;artifactId&gt;dm-view-author&lt;/artifactId&gt;
      &lt;packaging&gt;content-package&lt;/packaging&gt;
  
      &lt;name&gt;${project.groupId} - ${project.artifactId}&lt;/name&gt;
  
      &lt;description&gt;
          Content package that deployed only on author instance.
      &lt;/description&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;com.day.jcr.vault&lt;/groupId&gt;
                  &lt;artifactId&gt;content-package-maven-plugin&lt;/artifactId&gt;
                  &lt;extensions&gt;true&lt;/extensions&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-resources-plugin&lt;/artifactId&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;copy-content-resources&lt;/id&gt;
                          &lt;phase&gt;process-resources&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;copy-resources&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;outputDirectory&gt;${project.build.directory}/vault-work&lt;/outputDirectory&gt;
                              &lt;resources&gt;
                                  &lt;resource&gt;
                                      &lt;directory&gt;${basedir}/src/main/content&lt;/directory&gt;
                                      &lt;filtering&gt;true&lt;/filtering&gt;
                                      &lt;excludes&gt;
                                          &lt;exclude&gt;**/.svn&lt;/exclude&gt;
                                          &lt;exclude&gt;**/.vlt&lt;/exclude&gt;
                                          &lt;exclude&gt;**/.vltignore&lt;/exclude&gt;
                                          &lt;exclude&gt;**/.DS_Store&lt;/exclude&gt;
                                      &lt;/excludes&gt;
                                  &lt;/resource&gt;
                              &lt;/resources&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>