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-pomless/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-pomless/pom.xml')
-rw-r--r--tycho-pomless/pom.xml67
1 files changed, 67 insertions, 0 deletions
diff --git a/tycho-pomless/pom.xml b/tycho-pomless/pom.xml
new file mode 100644
index 0000000..5bdabfa
--- /dev/null
+++ b/tycho-pomless/pom.xml
@@ -0,0 +1,67 @@
+<?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>
+
+ <parent>
+ <groupId>org.eclipse.tycho.extras</groupId>
+ <artifactId>tycho-extras</artifactId>
+ <version>0.24.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>tycho-pomless</artifactId>
+
+ <name>Tycho POM-less build extension (Incubation)</name>
+ <description>A build extension which allows to omit pom.xml files for bundles and features.
+ Maven groupId is inherited from the mandatory parent pom in the parent directory, artifactId and version are derived from MANIFEST.MF and feature.xml
+ </description>
+
+ <build>
+
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-component-metadata</artifactId>
+ </plugin>
+
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>io.takari.polyglot</groupId>
+ <artifactId>polyglot-common</artifactId>
+ <version>0.1.5</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.sisu</groupId>
+ <artifactId>org.eclipse.sisu.plexus</artifactId>
+ <version>0.3.0</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-model</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-model-builder</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </dependency>
+ </dependencies>
+
+</project> \ No newline at end of file

Back to the top