Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMat Booth2017-07-26 16:02:20 +0000
committerMat Booth2017-08-10 13:24:44 +0000
commit80dbbc5105869dc66735bfb8bf13f720ba6cdd86 (patch)
treefe62b6b1d8e651dab79920b33eca775ff767ca46 /eclipse-platform-sources/sources.xml
parent9fa902465930bce6bf8dee0e36dc08dd7fb3f631 (diff)
downloadeclipse.platform.releng.aggregator-80dbbc5105869dc66735bfb8bf13f720ba6cdd86.tar.gz
eclipse.platform.releng.aggregator-80dbbc5105869dc66735bfb8bf13f720ba6cdd86.tar.xz
eclipse.platform.releng.aggregator-80dbbc5105869dc66735bfb8bf13f720ba6cdd86.zip
Bug 442770 - Use maven assembly plugin to generate sources tarball
Also standardise on assembly plugin 3.0.0 Change-Id: Ib9365c6a4baef8be230483cd05072786d3771b76 Signed-off-by: Mat Booth <mat.booth@redhat.com>
Diffstat (limited to 'eclipse-platform-sources/sources.xml')
-rw-r--r--eclipse-platform-sources/sources.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/eclipse-platform-sources/sources.xml b/eclipse-platform-sources/sources.xml
new file mode 100644
index 000000000..11ce8035d
--- /dev/null
+++ b/eclipse-platform-sources/sources.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2014-2017 Red Hat Inc.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Distribution License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/org/documents/edl-v10.php
+
+ Contributors:
+ Mat Booth - initial implementation
+-->
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
+ <id>sources</id>
+ <formats>
+ <!-- TODO: For better compression, use tar.xz when maven-assembly-plugin 3.1.0 is released. -->
+ <format>tar.bz2</format>
+ </formats>
+ <includeBaseDirectory>true</includeBaseDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>${project.basedir}/..</directory>
+ <excludes>
+ <!-- Exclude pre-built binary artifacts -->
+ <exclude>eclipse.platform.resources/**/*.dll</exclude>
+ <exclude>eclipse.platform.resources/**/*.jnilib</exclude>
+ <exclude>eclipse.platform.resources/**/*.so</exclude>
+ <exclude>eclipse.platform.swt.binaries/**/*.dll</exclude>
+ <exclude>eclipse.platform.swt.binaries/**/*.jnilib</exclude>
+ <exclude>eclipse.platform.swt.binaries/**/*.so</exclude>
+ <exclude>eclipse.platform.team/**/*.dll</exclude>
+ <exclude>eclipse.platform.team/**/*.so</exclude>
+ <exclude>rt.equinox.binaries/org.eclipse.equinox.executable/bin/**</exclude>
+ <exclude>rt.equinox.binaries/org.eclipse.equinox.executable/contributed/**</exclude>
+ <exclude>rt.equinox.binaries/**/*.dll</exclude>
+ <exclude>rt.equinox.binaries/**/*.so</exclude>
+ <exclude>rt.equinox.bundles/**/*.dll</exclude>
+ <exclude>rt.equinox.bundles/**/*.jnilib</exclude>
+ <exclude>rt.equinox.bundles/**/*.so</exclude>
+ <!-- Exclude scripts and stuff that distro integrators don't need -->
+ <exclude>production/**</exclude>
+ <exclude>scripts/**</exclude>
+ <exclude>target/**</exclude>
+ <exclude>workspace/**</exclude>
+ </excludes>
+ </fileSet>
+ </fileSets>
+</assembly>

Back to the top