Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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/pom.xml
parent69d1b35e3e0fca4a0523075be7c14e4ce9fa4545 (diff)
downloadorg.eclipse.tycho.extras-9d7e9e551917ac4b85787662773c2c10081e36d8.tar.gz
org.eclipse.tycho.extras-9d7e9e551917ac4b85787662773c2c10081e36d8.tar.xz
org.eclipse.tycho.extras-9d7e9e551917ac4b85787662773c2c10081e36d8.zip
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]). build.properties 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] https://jira.codehaus.org/browse/MNG-5771 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/pom.xml')
-rw-r--r--tycho-extras-its/src/test/resources/testpomless/pom.xml62
1 files changed, 62 insertions, 0 deletions
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