You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by tr...@apache.org on 2017/09/11 06:56:42 UTC

svn commit: r1807995 [3/7] - in /jackrabbit/commons/filevault-package-maven-plugin/trunk: ./ it/ it/src/ it/src/test/ it/src/test/java/ it/src/test/java/org/ it/src/test/java/org/apache/ it/src/test/java/org/apache/jackrabbit/ it/src/test/java/org/apac...

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/empty-directories/jcr_root/apps/wcm/core/content/siteadmin.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/empty-directories/jcr_root/apps/wcm/core/content/siteadmin.xml?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/empty-directories/jcr_root/apps/wcm/core/content/siteadmin.xml (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/empty-directories/jcr_root/apps/wcm/core/content/siteadmin.xml Mon Sep 11 06:56:40 2017
@@ -0,0 +1,764 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+
+<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
+    jcr:mixinTypes="[cq:Console]"
+    jcr:primaryType="cq:Widget"
+    jcr:title="AEM WCM"
+    sling:redirect="{Boolean}false"
+    sling:resourceType="cq/ui/components/widget"
+    sling:vanityOrder="{Long}500"
+    sling:vanityPath="/siteadmin"
+    consoleDescription="Create and manage multiple websites."
+    consoleTitle="Websites"
+    historyLink="/bin/wcmcommand?cmd=open&amp;path=${resource.path}"
+    historyResourceTypes="[cq:Page]"
+    historyShow="{Boolean}true"
+    historyTitle="Recently used pages"
+    iconClass="siteadmin"
+    id="cq-siteadmin"
+    jsLibs="[cq.wcm.admin]"
+    noSearch="{Boolean}true"
+    tabTitle="Websites"
+    treeAutoExpandMax="100"
+    xtype="siteadmin">
+    <grid jcr:primaryType="nt:unstructured">
+        <assets
+            jcr:primaryType="nt:unstructured"
+            pageSize="15"
+            pageText="Assets {0} - {1} of {2}"
+            pathRegex="\\/content\\/dam(/.*)?"
+            storeProxySuffix=".assets.json"
+            storeReaderFields="[index,title,label,lockedBy,type,width,height,size,inWorkflow,replication,scheduledTasks,numberer,workflows,lastModified,lastModifiedBy,inProgress,ck]">
+            <columns jcr:primaryType="cq:WidgetCollection">
+                <numberer
+                    jcr:primaryType="nt:unstructured"
+                    usePredefined="numberer"
+                    xtype="gridcolumn"/>
+                <thumbnail
+                    jcr:primaryType="nt:unstructured"
+                    hidden="{Boolean}false"
+                    usePredefined="thumbnail"
+                    xtype="gridcolumn"/>
+                <title
+                    jcr:primaryType="nt:unstructured"
+                    hidden="{Boolean}true"
+                    usePredefined="title"
+                    xssProtect="true"
+                    xtype="gridcolumn"/>
+                <name
+                    jcr:primaryType="nt:unstructured"
+                    usePredefined="name"
+                    xtype="gridcolumn"/>
+                <published
+                    jcr:primaryType="nt:unstructured"
+                    usePredefined="published"
+                    xtype="gridcolumn"/>
+                <modified
+                    jcr:primaryType="nt:unstructured"
+                    usePredefined="modified"
+                    xtype="gridcolumn"/>
+                <status
+                    jcr:primaryType="nt:unstructured"
+                    usePredefined="status"
+                    xtype="gridcolumn"/>
+                <workflow
+                    jcr:primaryType="nt:unstructured"
+                    usePredefined="workflow"
+                    xtype="gridcolumn"/>
+                <width
+                    jcr:primaryType="nt:unstructured"
+                    usePredefined="width"
+                    xtype="gridcolumn"/>
+                <height
+                    jcr:primaryType="nt:unstructured"
+                    usePredefined="height"
+                    xtype="gridcolumn"/>
+                <size
+                    jcr:primaryType="nt:unstructured"
+                    usePredefined="size"
+                    xtype="gridcolumn"/>
+            </columns>
+        </assets>
+    </grid>
+    <actions jcr:primaryType="nt:unstructured">
+        <create
+            jcr:primaryType="nt:unstructured"
+            cls="cq-siteadmin-create"
+            context="[toolbar]"
+            iconCls="cq-siteadmin-create-icon"
+            split="{Boolean}true"
+            text="New...">
+            <menu jcr:primaryType="nt:unstructured">
+                <createPage
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-create-page"
+                    conditions="[CQ.wcm.SiteAdmin.hasTreeSelection]"
+                    disabled="{Boolean}true"
+                    handler="CQ.wcm.SiteAdmin.createPage"
+                    iconCls="cq-siteadmin-create-page-icon"
+                    isDefaultAction="{Boolean}true"
+                    privileges="[create]"
+                    target="CQ.wcm.SiteAdmin.getTargetFromTree"
+                    text="New Page..."/>
+                <createSite
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-create-site"
+                    conditions="[CQ.wcm.SiteAdmin.hasTreeSelection]"
+                    disabled="{Boolean}true"
+                    handler="CQ.wcm.SiteAdmin.createSite"
+                    iconCls="cq-siteadmin-create-site-icon"
+                    privileges="[create]"
+                    target="CQ.wcm.SiteAdmin.getTargetFromTree"
+                    text="New Site..."/>
+                <createLiveCopy
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-create-livecopy"
+                    conditions="[CQ.wcm.SiteAdmin.hasTreeSelection]"
+                    disabled="{Boolean}true"
+                    handler="CQ.wcm.SiteAdmin.createLiveCopy"
+                    iconCls="cq-siteadmin-create-livecopy-icon"
+                    privileges="[create]"
+                    target="CQ.wcm.SiteAdmin.getTargetFromTree"
+                    text="New Live Copy..."/>
+                <createLaunch
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-create-launch"
+                    conditions="[CQ.wcm.SiteAdmin.hasAnySelection]"
+                    disabled="{Boolean}true"
+                    handler="CQ.wcm.SiteAdmin.createLaunch"
+                    iconCls="cq-siteadmin-create-launch-icon"
+                    privileges="[create]"
+                    target="CQ.wcm.SiteAdmin.getTargetFromTree"
+                    text="New Launch..."/>
+                <separator0
+                    jcr:primaryType="nt:unstructured"
+                    value="-"
+                    xtype="separator"/>
+                <createFile
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-create-file"
+                    conditions="[CQ.wcm.SiteAdmin.hasTreeSelection,CQ.wcm.SiteAdmin.canDoFolderOp]"
+                    disabled="{Boolean}true"
+                    handler="CQ.wcm.SiteAdmin.uploadFiles"
+                    iconCls="cq-siteadmin-create-file-icon"
+                    privileges="[create]"
+                    target="CQ.wcm.SiteAdmin.getTargetFromTree"
+                    text="New File..."/>
+                <createFolder
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-create-folder"
+                    conditions="[CQ.wcm.SiteAdmin.hasTreeSelection,CQ.wcm.SiteAdmin.canDoFolderOp]"
+                    disabled="{Boolean}true"
+                    handler="CQ.wcm.SiteAdmin.createFolder"
+                    iconCls="cq-siteadmin-create-folder-icon"
+                    privileges="[create]"
+                    target="CQ.wcm.SiteAdmin.getTargetFromTree"
+                    text="New Folder..."/>
+            </menu>
+        </create>
+        <open
+            jcr:primaryType="nt:unstructured"
+            cls="cq-siteadmin-open"
+            conditions="[CQ.wcm.SiteAdmin.hasListSelection]"
+            context="[contextmenu]"
+            handler="CQ.wcm.SiteAdmin.openPages"
+            iconCls="cq-siteadmin-open-icon"
+            isDefaultAction="{Boolean}true"
+            privileges="[read]"
+            target="CQ.wcm.SiteAdmin.getTargetFromList"
+            text="Open"/>
+        <separator0
+            jcr:primaryType="nt:unstructured"
+            value="-"
+            xtype="separator"/>
+        <copy
+            jcr:primaryType="nt:unstructured"
+            cls="cq-siteadmin-copy"
+            conditions="[CQ.wcm.SiteAdmin.hasAnySelection,CQ.wcm.SiteAdmin.pgatour.canCopyPasteMoveDeleteDeactivatePage]"
+            context="[toolbar,contextmenu]"
+            disabled="{Boolean}true"
+            handler="CQ.wcm.SiteAdmin.copyPages"
+            target="CQ.wcm.SiteAdmin.getAnyTarget"
+            text="Copy"/>
+        <paste
+            jcr:primaryType="nt:unstructured"
+            cls="cq-siteadmin-paste"
+            conditions="[CQ.wcm.SiteAdmin.hasTreeSelection,CQ.wcm.SiteAdmin.canPaste,CQ.wcm.SiteAdmin.pgatour.canCopyPasteMoveDeleteDeactivatePage]"
+            context="[toolbar,contextmenu]"
+            disabled="{Boolean}true"
+            forceCheck="{Boolean}true"
+            handler="CQ.wcm.SiteAdmin.pastePages"
+            privileges="[create]"
+            target="CQ.wcm.SiteAdmin.getTargetFromTree"
+            text="Paste"/>
+        <delete
+            jcr:primaryType="nt:unstructured"
+            cls="cq-siteadmin-delete"
+            conditions="[CQ.wcm.SiteAdmin.hasAnySelection,CQ.wcm.SiteAdmin.notLocked,CQ.wcm.SiteAdmin.canDeleteReplicatedPage,CQ.wcm.SiteAdmin.pgatour.canCopyPasteMoveDeleteDeactivatePage]"
+            context="[toolbar,contextmenu]"
+            disabled="{Boolean}true"
+            handler="CQ.wcm.SiteAdmin.deletePage"
+            privileges="[delete]"
+            target="CQ.wcm.SiteAdmin.getAllTargets"
+            text="Delete"/>
+        <separator1
+            jcr:primaryType="nt:unstructured"
+            context="[toolbar,contextmenu]"
+            value="-"
+            xtype="separator"/>
+        <move
+            jcr:primaryType="nt:unstructured"
+            cls="cq-siteadmin-move"
+            conditions="[CQ.wcm.SiteAdmin.hasSingleSelection,CQ.wcm.SiteAdmin.notLocked,CQ.wcm.SiteAdmin.pgatour.canCopyPasteMoveDeleteDeactivatePage]"
+            context="[toolbar,contextmenu]"
+            disabled="{Boolean}true"
+            handler="CQ.wcm.SiteAdmin.movePage"
+            privileges="[delete]"
+            target="CQ.wcm.SiteAdmin.getSingleTarget"
+            text="Move..."/>
+        <separator2
+            jcr:primaryType="nt:unstructured"
+            context="[toolbar,contextmenu]"
+            value="-"
+            xtype="separator"/>
+        <activate
+            jcr:primaryType="nt:unstructured"
+            cls="cq-siteadmin-activate"
+            context="[toolbar]"
+            iconCls="cq-siteadmin-activate-icon"
+            split="{Boolean}true"
+            text="Activate">
+            <menu jcr:primaryType="nt:unstructured">
+                <activateNow
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-activate-now"
+                    conditions="[CQ.wcm.SiteAdmin.hasAnySelection,CQ.wcm.SiteAdmin.notLocked]"
+                    context="[toolbar,contextmenu]"
+                    handler="CQ.wcm.SiteAdmin.activatePage"
+                    isDefaultAction="{Boolean}true"
+                    privileges="[replicate]"
+                    target="CQ.wcm.SiteAdmin.getAllTargets"
+                    text="Activate"/>
+                <activateLater
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-activate-later"
+                    conditions="[CQ.wcm.SiteAdmin.hasAnySelection,CQ.wcm.SiteAdmin.notLocked]"
+                    context="[toolbar]"
+                    handler="CQ.wcm.SiteAdmin.scheduleForActivation"
+                    privileges="[replicate]"
+                    target="CQ.wcm.SiteAdmin.getMultipleTargetsFromList"
+                    text="Activate Later..."/>
+            </menu>
+        </activate>
+        <deactivate
+            jcr:primaryType="nt:unstructured"
+            cls="cq-siteadmin-deactivate"
+            context="[toolbar]"
+            iconCls="cq-siteadmin-deactivate-icon"
+            split="{Boolean}true"
+            text="Deactivate">
+            <menu jcr:primaryType="nt:unstructured">
+                <deactivateNow
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-deactivate-now"
+                    conditions="[CQ.wcm.SiteAdmin.hasAnySelection,CQ.wcm.SiteAdmin.notLocked,CQ.wcm.SiteAdmin.pgatour.canCopyPasteMoveDeleteDeactivatePage]"
+                    context="[toolbar,contextmenu]"
+                    handler="CQ.wcm.SiteAdmin.deactivatePage"
+                    isDefaultAction="{Boolean}true"
+                    privileges="[replicate]"
+                    target="CQ.wcm.SiteAdmin.getAllTargets"
+                    text="Deactivate"/>
+                <deactivateLater
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-deactivate-later"
+                    conditions="[CQ.wcm.SiteAdmin.hasAnySelection,CQ.wcm.SiteAdmin.notLocked,CQ.wcm.SiteAdmin.pgatour.canCopyPasteMoveDeleteDeactivatePage]"
+                    context="[toolbar]"
+                    handler="CQ.wcm.SiteAdmin.scheduleForDeactivation"
+                    privileges="[replicate]"
+                    target="CQ.wcm.SiteAdmin.getMultipleTargetsFromList"
+                    text="Deactivate Later..."/>
+            </menu>
+        </deactivate>
+        <separator3
+            jcr:primaryType="nt:unstructured"
+            context="[toolbar,contextmenu]"
+            listInGridContextMenu="{Boolean}true"
+            value="-"
+            xtype="separator"/>
+        <lock
+            jcr:primaryType="nt:unstructured"
+            cls="cq-siteadmin-lock"
+            conditions="[CQ.wcm.SiteAdmin.hasListSelection]"
+            context="[_contextmenu]"
+            disabled="{Boolean}true"
+            handler="CQ.wcm.SiteAdmin.lockPage"
+            iconCls="cq-siteadmin-lock-icon"
+            privileges="[update]"
+            target="CQ.wcm.SiteAdmin.getTargetFromList"
+            text="Lock"/>
+        <unlock
+            jcr:primaryType="nt:unstructured"
+            cls="cq-siteadmin-unlock"
+            conditions="[CQ.wcm.SiteAdmin.hasListSelection]"
+            context="[_contextmenu]"
+            disabled="{Boolean}true"
+            handler="CQ.wcm.SiteAdmin.unlockPage"
+            iconCls="cq-siteadmin-unlock-icon"
+            privileges="[update]"
+            target="CQ.wcm.SiteAdmin.getTargetFromList"
+            text="Unlock"/>
+        <workflow
+            jcr:primaryType="nt:unstructured"
+            cls="cq-siteadmin-workflow"
+            conditions="[CQ.wcm.SiteAdmin.hasListSelection,CQ.wcm.SiteAdmin.noFolder,CQ.wcm.SiteAdmin.notLocked]"
+            context="[toolbar,contextmenu]"
+            disabled="{Boolean}true"
+            handler="CQ.wcm.SiteAdmin.startWorkflow"
+            target="CQ.wcm.SiteAdmin.getTargetFromList"
+            text="Workflow..."/>
+        <separator5
+            jcr:primaryType="nt:unstructured"
+            context="[contextmenu]"
+            listInGridContextMenu="{Boolean}true"
+            value="-"
+            xtype="separator"/>
+        <rollout
+            jcr:primaryType="nt:unstructured"
+            cls="cq-siteadmin-rollout"
+            conditions="[CQ.wcm.SiteAdmin.isLiveCopySource]"
+            context="[contextmenu]"
+            handler="CQ.wcm.SiteAdmin.rolloutPage"
+            iconCls="cq-siteadmin-properties-icon"
+            target="CQ.wcm.SiteAdmin.getTargetFromList"
+            text="Roll-out..."/>
+        <separator6
+            jcr:primaryType="nt:unstructured"
+            context="[contextmenu]"
+            listInGridContextMenu="{Boolean}true"
+            value="-"
+            xtype="separator"/>
+        <properties
+            jcr:primaryType="nt:unstructured"
+            cls="cq-siteadmin-properties"
+            conditions="[CQ.wcm.SiteAdmin.hasSingleListSelection,CQ.wcm.SiteAdmin.noFolder,CQ.wcm.SiteAdmin.noAsset]"
+            context="[contextmenu]"
+            handler="CQ.wcm.SiteAdmin.openProperties"
+            iconCls="cq-siteadmin-properties-icon"
+            privileges="[update]"
+            target="CQ.wcm.SiteAdmin.getTargetFromList"
+            text="Properties..."/>
+        <tools
+            jcr:primaryType="nt:unstructured"
+            cls="cq-siteadmin-tools"
+            context="[toolbar]"
+            iconCls="cq-siteadmin-tools-icon"
+            text="Tools">
+            <menu jcr:primaryType="nt:unstructured">
+                <langcopy
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-languagecopy"
+                    conditions="[CQ.wcm.SiteAdmin.hasTreeSelection]"
+                    handler="CQ.wcm.SiteAdmin.openLanguageCopy"
+                    iconCls="cq-siteadmin-languagecopy-icon"
+                    target="CQ.wcm.SiteAdmin.getTargetFromTree"
+                    text="Language Copy..."/>
+                <findReplace
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-findreplace"
+                    conditions="[CQ.wcm.SiteAdmin.hasSingleSelection,CQ.wcm.SiteAdmin.notLocked]"
+                    disabled="{Boolean}true"
+                    handler="CQ.wcm.SiteAdmin.openFindReplaceDialog"
+                    iconCls="cq-siteadmin-findreplace-icon"
+                    privileges="[update]"
+                    target="CQ.wcm.SiteAdmin.getSingleTarget"
+                    text="Find &amp; Replace..."/>
+                <restore
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-restore"
+                    iconCls="cq-siteadmin-restore-icon"
+                    text="Restore">
+                    <menu jcr:primaryType="nt:unstructured">
+                        <version
+                            jcr:primaryType="nt:unstructured"
+                            cls="cq-siteadmin-restore-version"
+                            conditions="[CQ.wcm.SiteAdmin.hasTreeSelection,CQ.wcm.SiteAdmin.notLocked,CQ.wcm.SiteAdmin.noFolder,CQ.wcm.SiteAdmin.noAsset]"
+                            handler="CQ.wcm.SiteAdmin.restoreVersion"
+                            iconCls="cq-siteadmin-restore-version-icon"
+                            target="CQ.wcm.SiteAdmin.getTargetFromTree"
+                            text="Restore Version...">
+                            <tooltip
+                                jcr:primaryType="nt:unstructured"
+                                autoHide="{Boolean}true"
+                                text="Restore an older version of a page"
+                                title="Restore Version"/>
+                        </version>
+                        <tree
+                            jcr:primaryType="nt:unstructured"
+                            cls="cq-siteadmin-restore-tree"
+                            conditions="[CQ.wcm.SiteAdmin.hasTreeSelection,CQ.wcm.SiteAdmin.notLocked,CQ.wcm.SiteAdmin.noFolder,CQ.wcm.SiteAdmin.noAsset]"
+                            handler="CQ.wcm.SiteAdmin.restoreTree"
+                            iconCls="cq-siteadmin-restore-tree-icon"
+                            target="CQ.wcm.SiteAdmin.getTargetFromTree"
+                            text="Restore Tree...">
+                            <tooltip
+                                jcr:primaryType="nt:unstructured"
+                                autoHide="{Boolean}true"
+                                text="Restore an older version of a tree"
+                                title="Restore Tree"/>
+                        </tree>
+                    </menu>
+                </restore>
+                <references
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-damadmin-references"
+                    conditions="[CQ.wcm.SiteAdmin.noFolder]"
+                    disabled="{Boolean}true"
+                    handler="CQ.wcm.SiteAdmin.showReferences"
+                    iconCls="cq-siteadmin-references-icon"
+                    target="CQ.wcm.SiteAdmin.getTargetFromList"
+                    text="References..."/>
+                <download
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-findreplace"
+                    conditions="[CQ.wcm.SiteAdmin.isAsset]"
+                    disabled="{Boolean}true"
+                    handler="CQ.wcm.SiteAdmin.download"
+                    iconCls="cq-siteadmin-download-icon"
+                    target="CQ.wcm.SiteAdmin.getTargetFromList"
+                    text="Download"/>
+                <rollout
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-rollout"
+                    conditions="[CQ.wcm.SiteAdmin.isLiveCopySource]"
+                    handler="CQ.wcm.SiteAdmin.rolloutPage"
+                    iconCls="cq-siteadmin-properties-icon"
+                    target="CQ.wcm.SiteAdmin.getAnyTarget"
+                    text="Roll-out..."/>
+            </menu>
+        </tools>
+    </actions>
+    <tags jcr:primaryType="nt:unstructured">
+        <emulateIE8
+            jcr:primaryType="nt:unstructured"
+            content="IE=8"
+            http-equiv="X-UA-Compatible"
+            tagName="meta"/>
+        <icon1
+            jcr:primaryType="nt:unstructured"
+            href="/libs/wcm/core/content/siteadmin.ico"
+            rel="shortcut icon"
+            tagName="link"
+            type="image/vnd.microsoft.icon"/>
+        <icon2
+            jcr:primaryType="nt:unstructured"
+            href="/libs/wcm/core/content/siteadmin.ico"
+            rel="icon"
+            tagName="link"
+            type="image/vnd.microsoft.icon"/>
+    </tags>
+    <tabs jcr:primaryType="cq:WidgetCollection">
+        <searchpanel
+            jcr:primaryType="cq:Widget"
+            facetURL="/libs/wcm/core/content/search/searchpanel/facets.overlay.infinity.json"
+            xtype="siteadminsearchpanel">
+            <columns jcr:primaryType="cq:WidgetCollection">
+                <numberer
+                    jcr:primaryType="nt:unstructured"
+                    usePredefined="numberer"
+                    xtype="gridcolumn"/>
+                <title
+                    jcr:primaryType="nt:unstructured"
+                    usePredefined="title"
+                    xtype="gridcolumn"/>
+                <name
+                    jcr:primaryType="nt:unstructured"
+                    usePredefined="name"
+                    xtype="gridcolumn"/>
+                <published
+                    jcr:primaryType="nt:unstructured"
+                    usePredefined="published"
+                    xtype="gridcolumn"/>
+                <modified
+                    jcr:primaryType="nt:unstructured"
+                    usePredefined="modified"
+                    xtype="gridcolumn"/>
+                <template
+                    jcr:primaryType="nt:unstructured"
+                    usePredefined="template"
+                    xtype="gridcolumn"/>
+            </columns>
+            <actions jcr:primaryType="nt:unstructured">
+                <open
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-open"
+                    conditions="[CQ.wcm.SiteAdmin.hasListSelection]"
+                    context="[contextmenu]"
+                    handler="CQ.wcm.SiteAdmin.openPages"
+                    iconCls="cq-siteadmin-open-icon"
+                    isDefaultAction="{Boolean}true"
+                    privileges="[update]"
+                    target="CQ.wcm.SiteAdmin.getTargetFromList"
+                    text="Open"/>
+                <delete
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-delete"
+                    conditions="[CQ.wcm.SiteAdmin.hasAnySelection,CQ.wcm.SiteAdmin.notLocked,CQ.wcm.SiteAdmin.canDeleteReplicatedPage]"
+                    context="[toolbar,contextmenu]"
+                    disabled="{Boolean}true"
+                    handler="CQ.wcm.SiteAdmin.deletePage"
+                    privileges="[delete]"
+                    target="CQ.wcm.SiteAdmin.getAllTargets"
+                    text="Delete"/>
+                <separator1
+                    jcr:primaryType="nt:unstructured"
+                    context="[toolbar,contextmenu]"
+                    value="-"
+                    xtype="separator"/>
+                <move
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-move"
+                    conditions="[CQ.wcm.SiteAdmin.hasSingleSelection,CQ.wcm.SiteAdmin.notLocked]"
+                    context="[toolbar,contextmenu]"
+                    disabled="{Boolean}true"
+                    handler="CQ.wcm.SiteAdmin.movePage"
+                    privileges="[delete]"
+                    target="CQ.wcm.SiteAdmin.getSingleTarget"
+                    text="Move..."/>
+                <separator2
+                    jcr:primaryType="nt:unstructured"
+                    context="[toolbar,contextmenu]"
+                    value="-"
+                    xtype="separator"/>
+                <activate
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-activate"
+                    context="[toolbar]"
+                    iconCls="cq-siteadmin-activate-icon"
+                    split="{Boolean}true"
+                    text="Activate">
+                    <menu jcr:primaryType="nt:unstructured">
+                        <activateNow
+                            jcr:primaryType="nt:unstructured"
+                            cls="cq-siteadmin-activate-now"
+                            conditions="[CQ.wcm.SiteAdmin.hasAnySelection,CQ.wcm.SiteAdmin.notLocked]"
+                            context="[toolbar,contextmenu]"
+                            handler="CQ.wcm.SiteAdmin.activatePage"
+                            isDefaultAction="{Boolean}true"
+                            privileges="[replicate]"
+                            target="CQ.wcm.SiteAdmin.getAllTargets"
+                            text="Activate"/>
+                        <activateLater
+                            jcr:primaryType="nt:unstructured"
+                            cls="cq-siteadmin-activate-later"
+                            conditions="[CQ.wcm.SiteAdmin.hasAnySelection,CQ.wcm.SiteAdmin.notLocked]"
+                            context="[toolbar]"
+                            handler="CQ.wcm.SiteAdmin.scheduleForActivation"
+                            privileges="[replicate]"
+                            target="CQ.wcm.SiteAdmin.getMultipleTargetsFromList"
+                            text="Activate Later..."/>
+                    </menu>
+                </activate>
+                <deactivate
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-deactivate"
+                    context="[toolbar]"
+                    iconCls="cq-siteadmin-deactivate-icon"
+                    split="{Boolean}true"
+                    text="Deactivate">
+                    <menu jcr:primaryType="nt:unstructured">
+                        <deactivateNow
+                            jcr:primaryType="nt:unstructured"
+                            cls="cq-siteadmin-deactivate-now"
+                            conditions="[CQ.wcm.SiteAdmin.hasAnySelection,CQ.wcm.SiteAdmin.notLocked]"
+                            context="[toolbar,contextmenu]"
+                            handler="CQ.wcm.SiteAdmin.deactivatePage"
+                            isDefaultAction="{Boolean}true"
+                            privileges="[replicate]"
+                            target="CQ.wcm.SiteAdmin.getAllTargets"
+                            text="Deactivate"/>
+                        <deactivateLater
+                            jcr:primaryType="nt:unstructured"
+                            cls="cq-siteadmin-deactivate-later"
+                            conditions="[CQ.wcm.SiteAdmin.hasAnySelection,CQ.wcm.SiteAdmin.notLocked]"
+                            context="[toolbar]"
+                            handler="CQ.wcm.SiteAdmin.scheduleForDeactivation"
+                            privileges="[replicate]"
+                            target="CQ.wcm.SiteAdmin.getMultipleTargetsFromList"
+                            text="Deactivate Later..."/>
+                    </menu>
+                </deactivate>
+                <lock
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-lock"
+                    conditions="[CQ.wcm.SiteAdmin.hasListSelection]"
+                    context="[_contextmenu]"
+                    disabled="{Boolean}true"
+                    handler="CQ.wcm.SiteAdmin.lockPage"
+                    iconCls="cq-siteadmin-lock-icon"
+                    privileges="[update]"
+                    target="CQ.wcm.SiteAdmin.getTargetFromList"
+                    text="Lock"/>
+                <unlock
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-unlock"
+                    conditions="[CQ.wcm.SiteAdmin.hasListSelection]"
+                    context="[_contextmenu]"
+                    disabled="{Boolean}true"
+                    handler="CQ.wcm.SiteAdmin.unlockPage"
+                    iconCls="cq-siteadmin-unlock-icon"
+                    privileges="[update]"
+                    target="CQ.wcm.SiteAdmin.getTargetFromList"
+                    text="Unlock"/>
+                <workflow
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-workflow"
+                    conditions="[CQ.wcm.SiteAdmin.hasListSelection,CQ.wcm.SiteAdmin.notLocked]"
+                    context="[toolbar,contextmenu]"
+                    disabled="{Boolean}true"
+                    handler="CQ.wcm.SiteAdmin.startWorkflow"
+                    target="CQ.wcm.SiteAdmin.getTargetFromList"
+                    text="Workflow..."/>
+                <rollout
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-rollout"
+                    conditions="[CQ.wcm.SiteAdmin.isLiveCopySource]"
+                    context="[contextmenu]"
+                    handler="CQ.wcm.SiteAdmin.rolloutPage"
+                    iconCls="cq-siteadmin-properties-icon"
+                    target="CQ.wcm.SiteAdmin.getTargetFromList"
+                    text="Roll-out..."/>
+                <separator5
+                    jcr:primaryType="nt:unstructured"
+                    context="[contextmenu]"
+                    listInGridContextMenu="{Boolean}true"
+                    value="-"
+                    xtype="separator"/>
+                <properties
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-properties"
+                    conditions="[CQ.wcm.SiteAdmin.hasSingleListSelection,CQ.wcm.SiteAdmin.noAsset]"
+                    context="[contextmenu]"
+                    handler="CQ.wcm.SiteAdmin.openProperties"
+                    iconCls="cq-siteadmin-properties-icon"
+                    privileges="[update]"
+                    target="CQ.wcm.SiteAdmin.getTargetFromList"
+                    text="Properties..."/>
+                <tools
+                    jcr:primaryType="nt:unstructured"
+                    cls="cq-siteadmin-tools"
+                    context="[toolbar]"
+                    iconCls="cq-siteadmin-tools-icon"
+                    text="Tools">
+                    <menu jcr:primaryType="nt:unstructured">
+                        <langcopy
+                            jcr:primaryType="nt:unstructured"
+                            cls="cq-siteadmin-languagecopy"
+                            conditions="[CQ.wcm.SiteAdmin.hasTreeSelection]"
+                            handler="CQ.wcm.SiteAdmin.openLanguageCopy"
+                            iconCls="cq-siteadmin-languagecopy-icon"
+                            target="CQ.wcm.SiteAdmin.getTargetFromTree"
+                            text="Language Copy..."/>
+                        <findReplace
+                            jcr:primaryType="nt:unstructured"
+                            cls="cq-siteadmin-findreplace"
+                            conditions="[CQ.wcm.SiteAdmin.hasSingleSelection,CQ.wcm.SiteAdmin.notLocked]"
+                            disabled="{Boolean}true"
+                            handler="CQ.wcm.SiteAdmin.openFindReplaceDialog"
+                            iconCls="cq-siteadmin-findreplace-icon"
+                            privileges="[update]"
+                            target="CQ.wcm.SiteAdmin.getSingleTarget"
+                            text="Find &amp; Replace..."/>
+                        <restore
+                            jcr:primaryType="nt:unstructured"
+                            cls="cq-siteadmin-restore"
+                            iconCls="cq-siteadmin-restore-icon"
+                            text="Restore">
+                            <menu jcr:primaryType="nt:unstructured">
+                                <version
+                                    jcr:primaryType="nt:unstructured"
+                                    cls="cq-siteadmin-restore-version"
+                                    conditions="[CQ.wcm.SiteAdmin.hasTreeSelection,CQ.wcm.SiteAdmin.notLocked,CQ.wcm.SiteAdmin.noAsset]"
+                                    handler="CQ.wcm.SiteAdmin.restoreVersion"
+                                    iconCls="cq-siteadmin-restore-version-icon"
+                                    target="CQ.wcm.SiteAdmin.getTargetFromTree"
+                                    text="Restore Version...">
+                                    <tooltip
+                                        jcr:primaryType="nt:unstructured"
+                                        autoHide="{Boolean}true"
+                                        text="Restore an older version of a page"
+                                        title="Restore Version"/>
+                                </version>
+                                <tree
+                                    jcr:primaryType="nt:unstructured"
+                                    cls="cq-siteadmin-restore-tree"
+                                    conditions="[CQ.wcm.SiteAdmin.hasTreeSelection,CQ.wcm.SiteAdmin.notLocked,CQ.wcm.SiteAdmin.noAsset]"
+                                    handler="CQ.wcm.SiteAdmin.restoreTree"
+                                    iconCls="cq-siteadmin-restore-tree-icon"
+                                    target="CQ.wcm.SiteAdmin.getTargetFromTree"
+                                    text="Restore Tree...">
+                                    <tooltip
+                                        jcr:primaryType="nt:unstructured"
+                                        autoHide="{Boolean}true"
+                                        text="Restore an older version of a tree"
+                                        title="Restore Tree"/>
+                                </tree>
+                            </menu>
+                        </restore>
+                        <references
+                            jcr:primaryType="nt:unstructured"
+                            cls="cq-damadmin-references"
+                            disabled="{Boolean}true"
+                            handler="CQ.wcm.SiteAdmin.showReferences"
+                            iconCls="cq-siteadmin-references-icon"
+                            target="CQ.wcm.SiteAdmin.getTargetFromList"
+                            text="References..."/>
+                        <download
+                            jcr:primaryType="nt:unstructured"
+                            cls="cq-siteadmin-findreplace"
+                            conditions="[CQ.wcm.SiteAdmin.isAsset]"
+                            disabled="{Boolean}true"
+                            handler="CQ.wcm.SiteAdmin.download"
+                            iconCls="cq-siteadmin-download-icon"
+                            target="CQ.wcm.SiteAdmin.getTargetFromList"
+                            text="Download"/>
+                        <rollout
+                            jcr:primaryType="nt:unstructured"
+                            cls="cq-siteadmin-rollout"
+                            conditions="[CQ.wcm.SiteAdmin.isLiveCopySource]"
+                            handler="CQ.wcm.SiteAdmin.rolloutPage"
+                            iconCls="cq-siteadmin-properties-icon"
+                            target="CQ.wcm.SiteAdmin.getAnyTarget"
+                            text="Roll-out..."/>
+                    </menu>
+                </tools>
+                <separator3
+                    jcr:primaryType="nt:unstructured"
+                    context="[toolbar,contextmenu]"
+                    value="-"
+                    xtype="separator"/>
+                <separator4
+                    jcr:primaryType="nt:unstructured"
+                    context="[contextmenu]"
+                    listInGridContextMenu="{Boolean}true"
+                    value="-"
+                    xtype="separator"/>
+            </actions>
+        </searchpanel>
+    </tabs>
+</jcr:root>

Propchange: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/empty-directories/jcr_root/apps/wcm/core/content/siteadmin.xml
------------------------------------------------------------------------------
    svn:executable = *

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/empty-directories/jcr_root/apps/wcm/core/empty_directory/.gitignore
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/empty-directories/jcr_root/apps/wcm/core/empty_directory/.gitignore?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/empty-directories/jcr_root/apps/wcm/core/empty_directory/.gitignore (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/empty-directories/jcr_root/apps/wcm/core/empty_directory/.gitignore Mon Sep 11 06:56:40 2017
@@ -0,0 +1 @@
+# ensures that empty directoy is checked into git
\ No newline at end of file

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/empty-directories/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/empty-directories/pom.xml?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/empty-directories/pom.xml (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/empty-directories/pom.xml Mon Sep 11 06:56:40 2017
@@ -0,0 +1,65 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+<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/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+
+    <!-- ====================================================================== -->
+    <!-- P R O J E C T  D E S C R I P T I O N                                   -->
+    <!-- ====================================================================== -->
+    <groupId>org.apache.jackrabbit.filevault</groupId>
+    <artifactId>package-plugin-test-pkg</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+    <packaging>content-package</packaging>
+    <name>Packaging test</name>
+
+    <build>
+        <resources>
+            <resource>
+                <directory>jcr_root</directory>
+                <excludes>
+                    <exclude>**/.vlt</exclude>
+                    <exclude>**/.vltignore</exclude>
+                    <exclude>**/.gitignore</exclude>
+                    <exclude>**/.DS_Store</exclude>
+                </excludes>
+            </resource>
+        </resources>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-resources-plugin</artifactId>
+                <configuration>
+                    <includeEmptyDirs>${test.includeEmptyDirs}</includeEmptyDirs>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.jackrabbit.filevault</groupId>
+                <artifactId>package-maven-plugin</artifactId>
+                <version>${plugin.version}</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <failOnDependencyErrors>false</failOnDependencyErrors>
+                    <filters>
+                        <filter>
+                            <root>/apps/wcm/core</root>
+                        </filter>
+                    </filters>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/empty-directories/pom.xml
------------------------------------------------------------------------------
    svn:executable = *

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-bundles/expected-manifest.txt
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-bundles/expected-manifest.txt?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-bundles/expected-manifest.txt (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-bundles/expected-manifest.txt Mon Sep 11 06:56:40 2017
@@ -0,0 +1,44 @@
+Archiver-Version:Plexus Archiver
+Content-Package-Description:This is an Example Project to verify that manifest generation is correct.
+Content-Package-Id:my/test/group:package-plugin-test-pkg:1.0.0-SNAPSHOT
+Content-Package-Roots:/apps/test
+Content-Package-Type:application
+Created-By:Apache Maven
+Implementation-Title:Example Default Project
+Implementation-Vendor-Id:org.apache.jackrabbit.filevault
+Implementation-Version:1.0.0-SNAPSHOT
+Import-Package:javax.jcr.lock;version="[1.0.0,3.0.0)"
+Import-Package:javax.jcr.nodetype;version="[1.0.0,3.0.0)"
+Import-Package:javax.jcr.observation;version="[1.0.0,3.0.0)"
+Import-Package:javax.jcr.query.qom;version="[1.0.0,3.0.0)"
+Import-Package:javax.jcr.query;version="[1.0.0,3.0.0)"
+Import-Package:javax.jcr.retention;version="[1.0.0,3.0.0)"
+Import-Package:javax.jcr.security;version="[1.0.0,3.0.0)"
+Import-Package:javax.jcr.util;version="[1.0.0,3.0.0)"
+Import-Package:javax.jcr.version;version="[1.0.0,3.0.0)"
+Import-Package:javax.jcr;version="[1.0.0,3.0.0)"
+Import-Package:org.apache.foo;
+Import-Package:org.apache.jackrabbit.vault.fs.api;version="[2.4.0,3.0.0)"
+Import-Package:org.apache.jackrabbit.vault.fs.config;version="[2.4.0,3.0.0)"
+Import-Package:org.apache.jackrabbit.vault.fs.filter;version="[2.4.0,3.0.0)"
+Import-Package:org.apache.jackrabbit.vault.fs.io;version="[2.5.0,3.0.0)"
+Import-Package:org.apache.jackrabbit.vault.fs.spi;version="[2.4.0,3.0.0)"
+Import-Package:org.apache.jackrabbit.vault.fs;version="[2.4.0,3.0.0)"
+Import-Package:org.apache.jackrabbit.vault.packaging.events;version="[1.0.0,2.0.0)"
+Import-Package:org.apache.jackrabbit.vault.packaging;version="[2.4.0,3.0.0)"
+Import-Package:org.apache.jackrabbit.vault.util.xml.serialize;version="[2.4.0,3.0.0)"
+Import-Package:org.apache.jackrabbit.vault.util.xml.xerces.dom;version="[2.4.0,3.0.0)"
+Import-Package:org.apache.jackrabbit.vault.util.xml.xerces.util;version="[2.4.0,3.0.0)"
+Import-Package:org.apache.jackrabbit.vault.util.xml.xerces.xni.parser;version="[2.4.0,3.0.0)"
+Import-Package:org.apache.jackrabbit.vault.util.xml.xerces.xni;version="[2.4.0,3.0.0)"
+Import-Package:org.apache.jackrabbit.vault.util.xml;version="[2.4.0,3.0.0)"
+Import-Package:org.apache.jackrabbit.vault.util;version="[2.4.0,3.0.0)"
+Import-Package:org.osgi.framework;version="[1.7.0,2.0.0)"
+Import-Package:org.osgi.resource;version="[1.0.0,2.0.0)"
+Import-Package:org.osgi.service.condpermadmin;version="[1.1.1,2.0.0)"
+Import-Package:org.osgi.service.packageadmin;version="[1.2.0,2.0.0)"
+Import-Package:org.osgi.service.permissionadmin;version="[1.2.0,2.0.0)"
+Import-Package:org.osgi.service.startlevel;version="[1.1.0,2.0.0)"
+Import-Package:org.osgi.service.url;version="[1.0.0,2.0.0)"
+Import-Package:org.osgi.util.tracker;version="[1.5.1,2.0.0)"
+Manifest-Version:1.0
\ No newline at end of file

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-bundles/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-bundles/pom.xml?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-bundles/pom.xml (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-bundles/pom.xml Mon Sep 11 06:56:40 2017
@@ -0,0 +1,77 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+<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/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.jackrabbit.filevault</groupId>
+    <artifactId>package-plugin-test-pkg</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+    <packaging>content-package</packaging>
+    <name>Example Default Project</name>
+    <description>This is an Example Project to verify that manifest generation is correct.</description>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.jackrabbit.filevault</groupId>
+                <artifactId>package-maven-plugin</artifactId>
+                <version>${plugin.version}</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <group>my/test/group</group>
+                    <importPackage>
+                        -aQute*, <!-- example of removing a package -->
+                        -org.osgi.framework.*, <!-- should keep the org.osgi.framework but remove subpackages-->
+                        javax.jcr*;version="[1.0.0,3.0.0)", <!-- example of altering existing packages -->
+                        org.apache.foo  <!-- example of adding a new package -->
+                    </importPackage>
+                    <failOnDependencyErrors>false</failOnDependencyErrors>
+                    <filters>
+                        <filter>
+                            <root>/apps/test</root>
+                        </filter>
+                    </filters>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    <dependencies>
+        <dependency>
+            <groupId>javax.jcr</groupId>
+            <artifactId>jcr</artifactId>
+            <version>2.0</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.jackrabbit.vault</groupId>
+            <artifactId>org.apache.jackrabbit.vault</artifactId>
+            <version>3.1.40</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <!-- unused dependency -->
+            <groupId>biz.aQute</groupId>
+            <artifactId>bndlib</artifactId>
+            <version>1.43.0</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.core</artifactId>
+            <version>5.0.0</version>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+</project>

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-code/expected-manifest.txt
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-code/expected-manifest.txt?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-code/expected-manifest.txt (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-code/expected-manifest.txt Mon Sep 11 06:56:40 2017
@@ -0,0 +1,13 @@
+Archiver-Version:Plexus Archiver
+Content-Package-Description:This is an Example Project to verify that manifest generation is correct.
+Content-Package-Id:my/test/group:package-plugin-test-pkg:1.0.0-SNAPSHOT
+Content-Package-Roots:/libs/apache
+Content-Package-Type:application
+Created-By:Apache Maven
+Implementation-Title:Example Default Project
+Implementation-Vendor-Id:org.apache.jackrabbit.filevault
+Implementation-Version:1.0.0-SNAPSHOT
+Import-Package:javax.servlet;
+Import-Package:org.apache.jackrabbit.api.query;
+Import-Package:org.apache.sling.api.resource;version="[2.5.0,3.0.0)"
+Manifest-Version:1.0
\ No newline at end of file

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-code/jcr_root/libs/apache/IncludeUseObject.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-code/jcr_root/libs/apache/IncludeUseObject.java?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-code/jcr_root/libs/apache/IncludeUseObject.java (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-code/jcr_root/libs/apache/IncludeUseObject.java Mon Sep 11 06:56:40 2017
@@ -0,0 +1,58 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package libs.apache;
+
+import java.io.IOException;
+
+import javax.servlet.ServletException;
+
+import org.apache.jackrabbit.api.query.JackrabbitQueryResult;
+import org.apache.sling.api.resource.Resource;
+
+public class IncludeUseObject {
+
+    private static final String RESOURCE = "includeResource";
+    private static final String RESOURCE_TYPE = "includeResourceType";
+    private static final String OPTIONS = "includeOptions";
+    private static final String SCRIPT = "includeScript";
+
+
+    protected void activate() {
+        // only for testing reference to oaj.api.query package
+        String testOnly = JackrabbitQueryResult.class.getName();
+        // only for testing reference to oas.api.resource package
+        String resource = Resource.class.getName();
+    }
+
+    /**
+     * Include the provided resource, using the provided resource type and options.
+     *
+     * @return Output from including the resource
+     */
+    public String includeResource() throws ServletException, IOException {
+        return "";
+    }
+
+    /**
+     * Include the provided script, using the provided options.
+     *
+     * @return Output from including the script
+     */
+    public String includeScript() throws ServletException, IOException {
+        return "";
+    }
+}

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-code/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-code/pom.xml?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-code/pom.xml (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation-with-code/pom.xml Mon Sep 11 06:56:40 2017
@@ -0,0 +1,68 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+<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/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.jackrabbit.filevault</groupId>
+    <artifactId>package-plugin-test-pkg</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+    <packaging>content-package</packaging>
+    <name>Example Default Project</name>
+    <description>This is an Example Project to verify that manifest generation is correct.</description>
+    <build>
+        <sourceDirectory>${project.basedir}/jcr_root</sourceDirectory>
+
+        <plugins>
+            <plugin>
+                <groupId>org.apache.jackrabbit.filevault</groupId>
+                <artifactId>package-maven-plugin</artifactId>
+                <version>${plugin.version}</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <group>my/test/group</group>
+                    <failOnDependencyErrors>false</failOnDependencyErrors>
+                    <filters>
+                        <filter>
+                            <root>/libs/apache</root>
+                        </filter>
+                    </filters>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.sling</groupId>
+            <artifactId>org.apache.sling.api</artifactId>
+            <version>2.7.0</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.5</version>
+            <scope>provided</scope>
+        </dependency>
+        <!-- GRANITE-17649 test case -->
+        <dependency>
+            <groupId>org.apache.jackrabbit</groupId>
+            <artifactId>jackrabbit-api</artifactId>
+            <version>2.7.5</version>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+</project>

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation/expected-manifest.txt
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation/expected-manifest.txt?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation/expected-manifest.txt (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation/expected-manifest.txt Mon Sep 11 06:56:40 2017
@@ -0,0 +1,13 @@
+Archiver-Version:Plexus Archiver
+Content-Package-Dependencies:apache/jackrabbit:test.content.package:0.1,apache/jackrabbit:test.content.package:1.0.4
+Content-Package-Description:This is an Example Project to verify that manifest generation is correct.
+Content-Package-Id:my/test/group:package-plugin-test-pkg:1.0.0-SNAPSHOT
+Content-Package-Roots:/apps/test,/apps/test2
+Content-Package-Type:application
+Created-By:Apache Maven
+Implementation-Title:Example Default Project
+Implementation-Vendor-Id:org.apache.jackrabbit.filevault
+Implementation-Version:1.0.0-SNAPSHOT
+Import-Package:com.apache.components;version="[5.5.0,6)"
+Import-Package:javax.jcr;version="[2.0.0,3)"
+Manifest-Version:1.0
\ No newline at end of file

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation/pom.xml?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation/pom.xml (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/manifest-generation/pom.xml Mon Sep 11 06:56:40 2017
@@ -0,0 +1,74 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+<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/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.jackrabbit.filevault</groupId>
+    <artifactId>package-plugin-test-pkg</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+    <packaging>content-package</packaging>
+    <name>Example Default Project</name>
+    <description>This is an Example Project to verify that manifest generation is correct.</description>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.jackrabbit.filevault</groupId>
+                <artifactId>package-maven-plugin</artifactId>
+                <version>${plugin.version}</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <group>my/test/group</group>
+                    <importPackage>
+                        -*, <!-- provide our own list -->
+                        com.apache.components;version="[5.5.0,6)",
+                        javax.jcr;version="[2.0.0,3)"
+                    </importPackage>
+                    <failOnDependencyErrors>false</failOnDependencyErrors>
+                    <dependencies>
+                        <dependency>
+                            <groupId>com.apache.jackrabbit.filevault</groupId>
+                            <artifactId>test.content.package</artifactId>
+                            <version>[0.1,)</version>
+                        </dependency>
+                        <dependency>
+                            <!-- maven dependency reference, should generate [0.8.600,) version range -->
+                            <groupId>com.apache.jackrabbit.filevault</groupId>
+                            <artifactId>test.content.package</artifactId>
+                        </dependency>
+                    </dependencies>
+                    <filters>
+                        <filter>
+                            <root>/apps/test</root>
+                        </filter>
+                        <filter>
+                            <root>/apps/test2</root>
+                        </filter>
+                    </filters>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    <dependencies>
+        <dependency>
+            <groupId>com.apache.jackrabbit.filevault</groupId>
+            <artifactId>test.content.package</artifactId>
+            <version>1.0.0</version>
+            <scope>system</scope>
+            <systemPath>${testcontent.directory}/test-package.zip</systemPath>
+            <type>zip</type>
+        </dependency>
+    </dependencies>
+</project>

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/override-description/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/override-description/pom.xml?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/override-description/pom.xml (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/override-description/pom.xml Mon Sep 11 06:56:40 2017
@@ -0,0 +1,46 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+<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/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+
+    <!-- ====================================================================== -->
+    <!-- P R O J E C T  D E S C R I P T I O N                                   -->
+    <!-- ====================================================================== -->
+    <groupId>org.apache.jackrabbit.filevault</groupId>
+    <artifactId>package-plugin-test-pkg</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+    <packaging>content-package</packaging>
+
+    <description>Description from project</description>
+    <build>
+
+        <plugins>
+            <plugin>
+                <groupId>org.apache.jackrabbit.filevault</groupId>
+                <artifactId>package-maven-plugin</artifactId>
+                <version>${plugin.version}</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <properties>
+                        <description>Description from plugin</description>
+                        <empty></empty>
+                    </properties>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-application-sourced/filter.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-application-sourced/filter.xml?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-application-sourced/filter.xml (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-application-sourced/filter.xml Mon Sep 11 06:56:40 2017
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+
+<workspaceFilter version="1.0">
+    <filter root="/libs/granite/replication"/>
+</workspaceFilter>

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-application-sourced/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-application-sourced/pom.xml?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-application-sourced/pom.xml (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-application-sourced/pom.xml Mon Sep 11 06:56:40 2017
@@ -0,0 +1,37 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+<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/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.jackrabbit.filevault</groupId>
+    <artifactId>package-plugin-test-pkg</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+    <packaging>content-package</packaging>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.jackrabbit.filevault</groupId>
+                <artifactId>package-maven-plugin</artifactId>
+                <version>${plugin.version}</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <failOnDependencyErrors>false</failOnDependencyErrors>
+                    <filterSource>${project.basedir}/filter.xml</filterSource>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-application/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-application/pom.xml?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-application/pom.xml (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-application/pom.xml Mon Sep 11 06:56:40 2017
@@ -0,0 +1,41 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+<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/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.jackrabbit.filevault</groupId>
+    <artifactId>package-plugin-test-pkg</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+    <packaging>content-package</packaging>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.jackrabbit.filevault</groupId>
+                <artifactId>package-maven-plugin</artifactId>
+                <version>${plugin.version}</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <failOnDependencyErrors>false</failOnDependencyErrors>
+                    <filters>
+                        <filter>
+                            <root>/apps/test</root>
+                        </filter>
+                    </filters>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-container/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-container/pom.xml?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-container/pom.xml (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-container/pom.xml Mon Sep 11 06:56:40 2017
@@ -0,0 +1,37 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+<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/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.jackrabbit.filevault</groupId>
+    <artifactId>package-plugin-test-pkg</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+    <packaging>content-package</packaging>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.jackrabbit.filevault</groupId>
+                <artifactId>package-maven-plugin</artifactId>
+                <version>${plugin.version}</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <!-- TODO: implement auto detection -->
+                    <packageType>container</packageType>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-content/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-content/pom.xml?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-content/pom.xml (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-content/pom.xml Mon Sep 11 06:56:40 2017
@@ -0,0 +1,40 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+<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/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.jackrabbit.filevault</groupId>
+    <artifactId>package-plugin-test-pkg</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+    <packaging>content-package</packaging>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.jackrabbit.filevault</groupId>
+                <artifactId>package-maven-plugin</artifactId>
+                <version>${plugin.version}</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <filters>
+                        <filter>
+                            <root>/content/geometrixx</root>
+                        </filter>
+                    </filters>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-mixed/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-mixed/pom.xml?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-mixed/pom.xml (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-type-auto-mixed/pom.xml Mon Sep 11 06:56:40 2017
@@ -0,0 +1,43 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+<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/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.jackrabbit.filevault</groupId>
+    <artifactId>package-plugin-test-pkg</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+    <packaging>content-package</packaging>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.jackrabbit.filevault</groupId>
+                <artifactId>package-maven-plugin</artifactId>
+                <version>${plugin.version}</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <filters>
+                        <filter>
+                            <root>/libs/geometrixx</root>
+                        </filter>
+                        <filter>
+                            <root>/content/geometrixx</root>
+                        </filter>
+                    </filters>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-types/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-types/pom.xml?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-types/pom.xml (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/package-types/pom.xml Mon Sep 11 06:56:40 2017
@@ -0,0 +1,36 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+<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/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.jackrabbit.filevault</groupId>
+    <artifactId>package-plugin-test-pkg</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+    <packaging>content-package</packaging>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.jackrabbit.filevault</groupId>
+                <artifactId>package-maven-plugin</artifactId>
+                <version>${plugin.version}</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <packageType>${test.packageType}</packageType>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Added: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/validate-deps-projects/fail-missing-deps/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/validate-deps-projects/fail-missing-deps/pom.xml?rev=1807995&view=auto
==============================================================================
--- jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/validate-deps-projects/fail-missing-deps/pom.xml (added)
+++ jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/validate-deps-projects/fail-missing-deps/pom.xml Mon Sep 11 06:56:40 2017
@@ -0,0 +1,42 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+<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/maven-v4_0_0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>package-plugin-test-pkg</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+    <packaging>content-package</packaging>
+    <name>Packaging test</name>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.jackrabbit.filevault</groupId>
+                <artifactId>package-maven-plugin</artifactId>
+                <version>${plugin.version}</version>
+                <extensions>true</extensions>
+                <configuration>
+                    <failOnDependencyErrors>true</failOnDependencyErrors>
+                    <filters>
+                        <filter>
+                            <root>/libs/foo</root>
+                        </filter>
+                    </filters>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: jackrabbit/commons/filevault-package-maven-plugin/trunk/it/src/test/resources/test-projects/validate-deps-projects/fail-missing-deps/pom.xml
------------------------------------------------------------------------------
    svn:executable = *