Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/apache/directory-studio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Seelmann <seelmann@apache.org>2015-06-06 15:00:17 +0300
committerStefan Seelmann <seelmann@apache.org>2015-06-06 15:00:17 +0300
commitc4fcfd88609454c114a038c0652b0761718d1f26 (patch)
tree90bd97b0d487aef164d9ece04245e8dde6b4a494 /p2repositories
parent7350cd20487f54d87cddf34fa7f00e600f8cf762 (diff)
DIRSTUDIO-1023: Add separate P2 repositories for main artifacts, dependencies, RCP product
git-svn-id: https://svn.apache.org/repos/asf/directory/studio/trunk@1683896 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'p2repositories')
-rw-r--r--p2repositories/dependencies/category.xml28
-rw-r--r--p2repositories/dependencies/pom.xml65
-rw-r--r--p2repositories/eclipse/category.xml39
-rw-r--r--p2repositories/eclipse/pom.xml36
-rw-r--r--p2repositories/pom.xml145
-rw-r--r--p2repositories/product/category.xml33
-rw-r--r--p2repositories/product/pom.xml36
-rwxr-xr-xp2repositories/test/run.sh29
-rw-r--r--p2repositories/test/studio/update/compositeArtifacts.xml29
-rw-r--r--p2repositories/test/studio/update/compositeContent.xml29
-rw-r--r--p2repositories/test/studio/update/product/compositeArtifacts.xml30
-rw-r--r--p2repositories/test/studio/update/product/compositeContent.xml30
12 files changed, 529 insertions, 0 deletions
diff --git a/p2repositories/dependencies/category.xml b/p2repositories/dependencies/category.xml
new file mode 100644
index 000000000..1cd7c2f41
--- /dev/null
+++ b/p2repositories/dependencies/category.xml
@@ -0,0 +1,28 @@
+<?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.
+-->
+<site>
+ <!-- Need to add at least one bundle otherwise assemble-repository fails -->
+ <bundle id="org.apache.directory.api.util" version="1.0.0.M30">
+ <category name="org.apache.directory.studio.dependencies"/>
+ </bundle>
+ <category-def name="org.apache.directory.studio.dependencies" label="Apache Directory Studio Dependencies">
+ <description>
+ Dependencies for Apache Directory Studio, no need to install them.
+ </description>
+ </category-def>
+</site>
diff --git a/p2repositories/dependencies/pom.xml b/p2repositories/dependencies/pom.xml
new file mode 100644
index 000000000..2f5f7e48c
--- /dev/null
+++ b/p2repositories/dependencies/pom.xml
@@ -0,0 +1,65 @@
+<?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.
+-->
+<!--
+ @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<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>
+ <parent>
+ <groupId>org.apache.directory.studio</groupId>
+ <artifactId>org.apache.directory.studio.p2repositories-parent</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ <relativePath>../</relativePath>
+ </parent>
+
+ <artifactId>org.apache.directory.studio.p2repositories.dependencies</artifactId>
+ <name>Apache Directory Studio P2 Repository Dependencies</name>
+ <packaging>eclipse-repository</packaging>
+
+ <description />
+
+ <build>
+ <plugins>
+ <!-- Mirror ApacheDS/API bundles from target platform -->
+ <plugin>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-p2-extras-plugin</artifactId>
+ <version>${tycho.version}</version>
+ <executions>
+ <execution>
+ <id>combine</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>mirror</goal>
+ </goals>
+ <configuration>
+ <source>
+ <repository>
+ <url>${project.baseUri}/../../eclipse-trgt-platform/target/repository</url>
+ </repository>
+ </source>
+ <mirrorMetadataOnly>false</mirrorMetadataOnly>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+
+</project>
diff --git a/p2repositories/eclipse/category.xml b/p2repositories/eclipse/category.xml
new file mode 100644
index 000000000..a08646263
--- /dev/null
+++ b/p2repositories/eclipse/category.xml
@@ -0,0 +1,39 @@
+<?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.
+-->
+<site>
+ <feature url="features/org.apache.directory.studio.apacheds.feature_2.0.0.qualifier.jar" id="org.apache.directory.studio.apacheds.feature" version="2.0.0.qualifier">
+ <category name="org.apache.directory.studio"/>
+ </feature>
+ <feature url="features/org.apache.directory.studio.ldifeditor.feature_2.0.0.qualifier.jar" id="org.apache.directory.studio.ldifeditor.feature" version="2.0.0.qualifier">
+ <category name="org.apache.directory.studio"/>
+ </feature>
+ <feature url="features/org.apache.directory.studio.ldapbrowser.feature_2.0.0.qualifier.jar" id="org.apache.directory.studio.ldapbrowser.feature" version="2.0.0.qualifier">
+ <category name="org.apache.directory.studio"/>
+ </feature>
+ <feature url="features/org.apache.directory.studio.schemaeditor.feature_2.0.0.qualifier.jar" id="org.apache.directory.studio.schemaeditor.feature" version="2.0.0.qualifier">
+ <category name="org.apache.directory.studio"/>
+ </feature>
+ <bundle id="org.apache.directory.studio.slf4j-eclipselog" version="2.0.0.qualifier">
+ <category name="org.apache.directory.studio"/>
+ </bundle>
+ <category-def name="org.apache.directory.studio" label="Apache Directory Studio">
+ <description>
+ Apache Directory Studio
+ </description>
+ </category-def>
+</site>
diff --git a/p2repositories/eclipse/pom.xml b/p2repositories/eclipse/pom.xml
new file mode 100644
index 000000000..6f630e7a0
--- /dev/null
+++ b/p2repositories/eclipse/pom.xml
@@ -0,0 +1,36 @@
+<?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.
+-->
+<!--
+ @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<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>
+ <parent>
+ <groupId>org.apache.directory.studio</groupId>
+ <artifactId>org.apache.directory.studio.p2repositories-parent</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ <relativePath>../</relativePath>
+ </parent>
+
+ <artifactId>org.apache.directory.studio.p2repositories.eclipse</artifactId>
+ <name>Apache Directory Studio P2 Repository Eclipse</name>
+ <packaging>eclipse-repository</packaging>
+
+ <description />
+
+</project>
diff --git a/p2repositories/pom.xml b/p2repositories/pom.xml
new file mode 100644
index 000000000..c274651b2
--- /dev/null
+++ b/p2repositories/pom.xml
@@ -0,0 +1,145 @@
+<?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.
+-->
+<!--
+ @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<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>
+ <parent>
+ <groupId>org.apache.directory.studio</groupId>
+ <artifactId>org.apache.directory.studio.parent</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ <relativePath>../</relativePath>
+ </parent>
+
+ <artifactId>org.apache.directory.studio.p2repositories-parent</artifactId>
+ <name>Apache Directory Studio P2 Repositories</name>
+ <packaging>pom</packaging>
+
+ <description />
+
+ <modules>
+ <module>dependencies</module>
+ <module>eclipse</module>
+<!-- <module>product</module> -->
+ </modules>
+
+ <build>
+ <plugins>
+ <!-- Clean META-INF directory with legal files -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>${basedir}/META-INF</directory>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
+
+ <!-- Create the P2 repository -->
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-p2-repository-plugin</artifactId>
+ <version>${tycho.version}</version>
+ <configuration>
+ <includeAllDependencies>false</includeAllDependencies>
+ <createArtifactRepository>true</createArtifactRepository>
+ <compress>true</compress>
+ <profileProperties>
+ <macosx-bundled>true</macosx-bundled>
+ </profileProperties>
+ </configuration>
+ </plugin>
+
+ <!-- Include license and notice file in P2 repository -->
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-resources</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <inherited>false</inherited>
+ <configuration>
+ <outputDirectory>${project.build.outputDirectory}</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${basedir}/../..</directory>
+ <includes>
+ <include>LICENSE.txt</include>
+ <include>NOTICE.txt</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <!-- Legal files are put to different folders, don't know how to verify. -->
+ <plugin>
+ <groupId>org.apache.geronimo.genesis.plugins</groupId>
+ <artifactId>tools-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>verify-legal-files</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>verify-legal-files</goal>
+ </goals>
+ <configuration>
+ <strict>false</strict>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <!-- Skip install of applications, it's just a waste of space. -->
+ <plugin>
+ <artifactId>maven-install-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ <!-- Skip deployment of applications, it's just a waste of space. -->
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ <!-- Skip source plugin during release. -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <phase>none</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
diff --git a/p2repositories/product/category.xml b/p2repositories/product/category.xml
new file mode 100644
index 000000000..34eff2a8b
--- /dev/null
+++ b/p2repositories/product/category.xml
@@ -0,0 +1,33 @@
+<?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.
+-->
+<site>
+ <feature url="features/org.apache.directory.studio.rcp.feature_2.0.0.qualifier.jar" id="org.apache.directory.studio.rcp.feature" version="2.0.0.qualifier">
+ <category name="org.apache.directory.studio.product"/>
+ </feature>
+ <feature url="features/org.apache.directory.studio.nls.feature_2.0.0.qualifier.jar" id="org.apache.directory.studio.nls.feature" version="2.0.0.qualifier">
+ <category name="org.apache.directory.studio.product"/>
+ </feature>
+ <bundle id="org.apache.directory.studio.slf4j-eclipselog" version="2.0.0.qualifier">
+ <category name="org.apache.directory.studio.product"/>
+ </bundle>
+ <category-def name="org.apache.directory.studio.product" label="Apache Directory Studio Product">
+ <description>
+ Apache Directory Studio Product
+ </description>
+ </category-def>
+</site>
diff --git a/p2repositories/product/pom.xml b/p2repositories/product/pom.xml
new file mode 100644
index 000000000..70d978938
--- /dev/null
+++ b/p2repositories/product/pom.xml
@@ -0,0 +1,36 @@
+<?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.
+-->
+<!--
+ @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<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>
+ <parent>
+ <groupId>org.apache.directory.studio</groupId>
+ <artifactId>org.apache.directory.studio.p2repositories-parent</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
+ <relativePath>../</relativePath>
+ </parent>
+
+ <artifactId>org.apache.directory.studio.p2repositories.product</artifactId>
+ <name>Apache Directory Studio P2 Repository Product</name>
+ <packaging>eclipse-repository</packaging>
+
+ <description />
+
+</project>
diff --git a/p2repositories/test/run.sh b/p2repositories/test/run.sh
new file mode 100755
index 000000000..ee6101499
--- /dev/null
+++ b/p2repositories/test/run.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# 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.
+
+# Test update site
+
+set -e
+
+mkdir -p studio/update/M9
+ln -sf ../../../../dependencies/target/repository studio/update/M9/dependencies
+ln -sf ../../../../eclipse/target/repository studio/update/M9/eclipse
+ln -sf ../../../../product/target/repository studio/update/M9/product
+
+sudo python3 -m http.server 80
+
diff --git a/p2repositories/test/studio/update/compositeArtifacts.xml b/p2repositories/test/studio/update/compositeArtifacts.xml
new file mode 100644
index 000000000..c67280ec6
--- /dev/null
+++ b/p2repositories/test/studio/update/compositeArtifacts.xml
@@ -0,0 +1,29 @@
+<?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.
+-->
+<?compositeArtifactRepository version="1.0.0"?>
+<repository name="Apache Directory Studio"
+ type="org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository"
+ version="1.0.0">
+ <properties size="1">
+ <property name="p2.timestamp" value="3333" />
+ </properties>
+ <children size="2">
+ <child location="M9/eclipse" />
+ <child location="M9/dependencies" />
+ </children>
+</repository> \ No newline at end of file
diff --git a/p2repositories/test/studio/update/compositeContent.xml b/p2repositories/test/studio/update/compositeContent.xml
new file mode 100644
index 000000000..a8f0fb2dd
--- /dev/null
+++ b/p2repositories/test/studio/update/compositeContent.xml
@@ -0,0 +1,29 @@
+<?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.
+-->
+<?compositeMetadataRepository version="1.0.0"?>
+<repository name="Apache Directory Studio"
+ type="org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository"
+ version="1.0.0">
+ <properties size="1">
+ <property name="p2.timestamp" value="3333" />
+ </properties>
+ <children size="2">
+ <child location="M9/eclipse" />
+ <child location="M9/dependencies" />
+ </children>
+</repository> \ No newline at end of file
diff --git a/p2repositories/test/studio/update/product/compositeArtifacts.xml b/p2repositories/test/studio/update/product/compositeArtifacts.xml
new file mode 100644
index 000000000..373c09b1e
--- /dev/null
+++ b/p2repositories/test/studio/update/product/compositeArtifacts.xml
@@ -0,0 +1,30 @@
+<?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.
+-->
+<?compositeArtifactRepository version="1.0.0"?>
+<repository name="Apache Directory Studio"
+ type="org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository"
+ version="1.0.0">
+ <properties size="1">
+ <property name="p2.timestamp" value="3333" />
+ </properties>
+ <children size="2">
+ <child location="../M9/eclipse" />
+ <child location="../M9/dependencies" />
+<!-- <child location="../M9/product" /> -->
+ </children>
+</repository> \ No newline at end of file
diff --git a/p2repositories/test/studio/update/product/compositeContent.xml b/p2repositories/test/studio/update/product/compositeContent.xml
new file mode 100644
index 000000000..fbe375c23
--- /dev/null
+++ b/p2repositories/test/studio/update/product/compositeContent.xml
@@ -0,0 +1,30 @@
+<?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.
+-->
+<?compositeMetadataRepository version="1.0.0"?>
+<repository name="Apache Directory Studio"
+ type="org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository"
+ version="1.0.0">
+ <properties size="1">
+ <property name="p2.timestamp" value="3333" />
+ </properties>
+ <children size="2">
+ <child location="../M9/eclipse" />
+ <child location="../M9/dependencies" />
+<!-- <child location="../M9/product" /> -->
+ </children>
+</repository> \ No newline at end of file