Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tycho-extras-its/src/test/resources')
-rw-r--r--tycho-extras-its/src/test/resources/baseTest.properties6
-rw-r--r--tycho-extras-its/src/test/resources/testpomless/.mvn/extensions.xml8
-rw-r--r--tycho-extras-its/src/test/resources/testpomless/bundle1.tests/META-INF/MANIFEST.MF5
-rw-r--r--tycho-extras-its/src/test/resources/testpomless/bundle1.tests/build.properties2
-rw-r--r--tycho-extras-its/src/test/resources/testpomless/bundle1.tests/src/DummyTest.java21
-rw-r--r--tycho-extras-its/src/test/resources/testpomless/bundle1/META-INF/MANIFEST.MF5
-rw-r--r--tycho-extras-its/src/test/resources/testpomless/bundle1/build.properties2
-rw-r--r--tycho-extras-its/src/test/resources/testpomless/feature/build.properties1
-rw-r--r--tycho-extras-its/src/test/resources/testpomless/feature/feature.xml20
-rw-r--r--tycho-extras-its/src/test/resources/testpomless/pom.xml62
10 files changed, 132 insertions, 0 deletions
diff --git a/tycho-extras-its/src/test/resources/baseTest.properties b/tycho-extras-its/src/test/resources/baseTest.properties
new file mode 100644
index 0000000..d129259
--- /dev/null
+++ b/tycho-extras-its/src/test/resources/baseTest.properties
@@ -0,0 +1,6 @@
+# required for ITs (see AbstractTychoIntegrationTest)
+tycho-version=${tycho-version}
+maven-dir=${project.build.directory}/apache-maven-${its-maven-version}
+its-settings=${tycho.testSettings}
+output=${project.build.directory}
+local-repo=${localRepository}
diff --git a/tycho-extras-its/src/test/resources/testpomless/.mvn/extensions.xml b/tycho-extras-its/src/test/resources/testpomless/.mvn/extensions.xml
new file mode 100644
index 0000000..b890ce9
--- /dev/null
+++ b/tycho-extras-its/src/test/resources/testpomless/.mvn/extensions.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<extensions>
+ <extension>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-pomless</artifactId>
+ <version>${tycho-version}</version>
+ </extension>
+</extensions>
diff --git a/tycho-extras-its/src/test/resources/testpomless/bundle1.tests/META-INF/MANIFEST.MF b/tycho-extras-its/src/test/resources/testpomless/bundle1.tests/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..1252600
--- /dev/null
+++ b/tycho-extras-its/src/test/resources/testpomless/bundle1.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,5 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: pomless.bundle.tests
+Bundle-Version: 1.0.1
+Require-Bundle: org.junit;bundle-version="4.0.0"
diff --git a/tycho-extras-its/src/test/resources/testpomless/bundle1.tests/build.properties b/tycho-extras-its/src/test/resources/testpomless/bundle1.tests/build.properties
new file mode 100644
index 0000000..c45bfb5
--- /dev/null
+++ b/tycho-extras-its/src/test/resources/testpomless/bundle1.tests/build.properties
@@ -0,0 +1,2 @@
+bin.includes = META-INF/,.
+source.. = src/
diff --git a/tycho-extras-its/src/test/resources/testpomless/bundle1.tests/src/DummyTest.java b/tycho-extras-its/src/test/resources/testpomless/bundle1.tests/src/DummyTest.java
new file mode 100644
index 0000000..56495fe
--- /dev/null
+++ b/tycho-extras-its/src/test/resources/testpomless/bundle1.tests/src/DummyTest.java
@@ -0,0 +1,21 @@
+/*******************************************************************************
+ * Copyright (c) 2015 SAP SE and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * SAP SE - initial API and implementation
+ *******************************************************************************/
+import org.junit.Assert;
+import org.junit.Test;
+
+public class DummyTest {
+
+ @Test
+ public void test() {
+ Assert.assertTrue(true);
+ }
+
+}
diff --git a/tycho-extras-its/src/test/resources/testpomless/bundle1/META-INF/MANIFEST.MF b/tycho-extras-its/src/test/resources/testpomless/bundle1/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..390c98c
--- /dev/null
+++ b/tycho-extras-its/src/test/resources/testpomless/bundle1/META-INF/MANIFEST.MF
@@ -0,0 +1,5 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: pomless.bundle;singleton:=true
+Bundle-Version: 0.1.0.qualifier
+
diff --git a/tycho-extras-its/src/test/resources/testpomless/bundle1/build.properties b/tycho-extras-its/src/test/resources/testpomless/bundle1/build.properties
new file mode 100644
index 0000000..c45bfb5
--- /dev/null
+++ b/tycho-extras-its/src/test/resources/testpomless/bundle1/build.properties
@@ -0,0 +1,2 @@
+bin.includes = META-INF/,.
+source.. = src/
diff --git a/tycho-extras-its/src/test/resources/testpomless/feature/build.properties b/tycho-extras-its/src/test/resources/testpomless/feature/build.properties
new file mode 100644
index 0000000..64f93a9
--- /dev/null
+++ b/tycho-extras-its/src/test/resources/testpomless/feature/build.properties
@@ -0,0 +1 @@
+bin.includes = feature.xml
diff --git a/tycho-extras-its/src/test/resources/testpomless/feature/feature.xml b/tycho-extras-its/src/test/resources/testpomless/feature/feature.xml
new file mode 100644
index 0000000..da903db
--- /dev/null
+++ b/tycho-extras-its/src/test/resources/testpomless/feature/feature.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="pomless.feature"
+ version="1.0.0.qualifier">
+
+ <plugin
+ id="pomless.bundle"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="pomless.bundle.tests"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+</feature>
diff --git a/tycho-extras-its/src/test/resources/testpomless/pom.xml b/tycho-extras-its/src/test/resources/testpomless/pom.xml
new file mode 100644
index 0000000..6af11cb
--- /dev/null
+++ b/tycho-extras-its/src/test/resources/testpomless/pom.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ - Copyright (c) 2015 SAP SE and others.
+ - All rights reserved. This program and the accompanying materials
+ - are made available under the terms of the Eclipse Public License v1.0
+ - which accompanies this distribution, and is available at
+ - http://www.eclipse.org/legal/epl-v10.html
+ -
+ - Contributors:
+ - SAP SE - initial API and implementation
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>testParent.groupId</groupId>
+ <artifactId>testparent</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>tycho-snapshots</id>
+ <url>${tycho-snapshots-url}</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <repositories>
+ <repository>
+ <id>p2.repo</id>
+ <url>${p2.repo}</url>
+ <layout>p2</layout>
+ </repository>
+ </repositories>
+
+ <modules>
+ <!-- look ma, no poms ! -->
+ <module>bundle1</module>
+ <module>bundle1.tests</module>
+ <module>feature</module>
+ </modules>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-maven-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <extensions>true</extensions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>

Back to the top