JCRVLT-380 enrich IT to also test merging with "filterSource" and
embeddeds enriching filter

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/commons/filevault-package-maven-plugin/trunk@1871758 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/test/resources/test-projects/filter-tests/merge-inline-filter/expected-filter.xml b/src/test/resources/test-projects/filter-tests/merge-inline-filter/expected-filter.xml
index 67bc8e1..ba36a82 100644
--- a/src/test/resources/test-projects/filter-tests/merge-inline-filter/expected-filter.xml
+++ b/src/test/resources/test-projects/filter-tests/merge-inline-filter/expected-filter.xml
@@ -7,4 +7,5 @@
         <include pattern="/libs/bar/b/.*"/>
         <exclude pattern="/libs/bar/foo(/.*)?"/>
     </filter>
+    <filter root="/libs/install/jcr-2.0.jar"/>
 </workspaceFilter>
diff --git a/src/test/resources/test-projects/filter-tests/merge-inline-filter/pom.xml b/src/test/resources/test-projects/filter-tests/merge-inline-filter/pom.xml
index 2c5687d..0a29194 100644
--- a/src/test/resources/test-projects/filter-tests/merge-inline-filter/pom.xml
+++ b/src/test/resources/test-projects/filter-tests/merge-inline-filter/pom.xml
@@ -1,24 +1,25 @@
 <!--
-  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
+    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
+    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">
+    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                                   -->
+    <!-- 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>
@@ -54,8 +55,24 @@
                             </excludes>
                         </filter>
                     </filters>
+                    <embeddeds>
+                        <embedded>
+                            <groupId>javax.jcr</groupId>
+                            <artifactId>jcr</artifactId>
+                            <target>/libs/install</target>
+                            <filter>true</filter>
+                        </embedded>
+                    </embeddeds>
                 </configuration>
             </plugin>
         </plugins>
     </build>
+    <dependencies>
+        <dependency>
+            <groupId>javax.jcr</groupId>
+            <artifactId>jcr</artifactId>
+            <version>2.0</version>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
 </project>