Skip to main content
diff options
authorJan Sievers2015-03-19 11:26:19 -0400
committerJan Sievers2015-07-13 10:38:18 -0400
commit9d7e9e551917ac4b85787662773c2c10081e36d8 (patch)
tree7ddadcbe16c8856093b469331cfd379234bb0443 /tycho-extras-its/src/test/resources/testpomless/bundle1.tests/src
parent69d1b35e3e0fca4a0523075be7c14e4ce9fa4545 (diff)
462531 build extension for pom-less Tycho builds
Add tycho-pomless build extension which can be referenced in a project's .mvn/extensions.xml descriptor (requires maven 3.3.1+ with [1]). is used as marker file and bundles, test bundles as well as features without pom.xml are supported. Instead of pom.xml, the pom is derived from the following sources: groupId: inherited from parent (must be in parent directory) artifactId: Bundle-SymbolicName from META-INF/MANIFEST.MF or feature id from feature.xml version: Bundle-Version from META-INF/MANIFEST.MF or feature version (with ".qualifier" suffix replaced by "-SNAPSHOT") packaging: "eclipse-plugin" if META-INF/MANIFEST.MF is found "eclipse-feature" if feature.xml is found "eclipse-test-plugin" if META-INF/MANIFEST.MF is found with Bundle-SymbolicName ending with ".tests" [1] Add new module tycho-extras-its which holds integration tests which are run in a similar way as tycho-its. Run these ITs using maven 3.3.1 which is required for this new feature. Bug: 462531 CQ: 9409 Change-Id: I9159379a35cde80148172228304c9e956ac69b94
Diffstat (limited to 'tycho-extras-its/src/test/resources/testpomless/bundle1.tests/src')
1 files changed, 21 insertions, 0 deletions
diff --git a/tycho-extras-its/src/test/resources/testpomless/bundle1.tests/src/ b/tycho-extras-its/src/test/resources/testpomless/bundle1.tests/src/
new file mode 100644
index 0000000..56495fe
--- /dev/null
+++ b/tycho-extras-its/src/test/resources/testpomless/bundle1.tests/src/
@@ -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
+ *
+ *
+ * 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);
+ }

Back to the top