Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2011-05-13 03:25:11 +0000
committerIgor Fedorenko2011-05-13 03:25:11 +0000
commit8c81cc8880259d585179f8fee9a629c8eac0e88d (patch)
tree8166084637f5122e54edb0df476fd6d7e3973ad4
parentcc150fbf489212f8642fa63f9db83ffce742419e (diff)
downloadm2e-core-8c81cc8880259d585179f8fee9a629c8eac0e88d.tar.gz
m2e-core-8c81cc8880259d585179f8fee9a629c8eac0e88d.tar.xz
m2e-core-8c81cc8880259d585179f8fee9a629c8eac0e88d.zip
Provide m2e source bundles
Enabled tycho-source-plugin for m2e sources. To workaround https://issues.sonatype.org/browse/TYCHO-562, put this in a profile which can be disabled on per-project basic. Source bundles can be installed via semi-hidden o.e.m2e.sdk.feature. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
-rw-r--r--com.ning.async-http-client/no-source-bundle.txt1
-rw-r--r--org.eclipse.m2e.archetype.common/no-source-bundle.txt1
-rw-r--r--org.eclipse.m2e.lifecyclemapping.defaults/no-source-bundle.txt1
-rw-r--r--org.eclipse.m2e.maven.indexer/no-source-bundle.txt1
-rw-r--r--org.eclipse.m2e.maven.runtime/no-source-bundle.txt1
-rw-r--r--org.eclipse.m2e.parent/pom.xml58
-rw-r--r--org.eclipse.m2e.sdk.feature/feature.xml111
-rw-r--r--org.jboss.netty/no-source-bundle.txt1
8 files changed, 173 insertions, 2 deletions
diff --git a/com.ning.async-http-client/no-source-bundle.txt b/com.ning.async-http-client/no-source-bundle.txt
new file mode 100644
index 00000000..675ce413
--- /dev/null
+++ b/com.ning.async-http-client/no-source-bundle.txt
@@ -0,0 +1 @@
+marker file used to disable source-bundle profile \ No newline at end of file
diff --git a/org.eclipse.m2e.archetype.common/no-source-bundle.txt b/org.eclipse.m2e.archetype.common/no-source-bundle.txt
new file mode 100644
index 00000000..675ce413
--- /dev/null
+++ b/org.eclipse.m2e.archetype.common/no-source-bundle.txt
@@ -0,0 +1 @@
+marker file used to disable source-bundle profile \ No newline at end of file
diff --git a/org.eclipse.m2e.lifecyclemapping.defaults/no-source-bundle.txt b/org.eclipse.m2e.lifecyclemapping.defaults/no-source-bundle.txt
new file mode 100644
index 00000000..675ce413
--- /dev/null
+++ b/org.eclipse.m2e.lifecyclemapping.defaults/no-source-bundle.txt
@@ -0,0 +1 @@
+marker file used to disable source-bundle profile \ No newline at end of file
diff --git a/org.eclipse.m2e.maven.indexer/no-source-bundle.txt b/org.eclipse.m2e.maven.indexer/no-source-bundle.txt
new file mode 100644
index 00000000..675ce413
--- /dev/null
+++ b/org.eclipse.m2e.maven.indexer/no-source-bundle.txt
@@ -0,0 +1 @@
+marker file used to disable source-bundle profile \ No newline at end of file
diff --git a/org.eclipse.m2e.maven.runtime/no-source-bundle.txt b/org.eclipse.m2e.maven.runtime/no-source-bundle.txt
new file mode 100644
index 00000000..675ce413
--- /dev/null
+++ b/org.eclipse.m2e.maven.runtime/no-source-bundle.txt
@@ -0,0 +1 @@
+marker file used to disable source-bundle profile \ No newline at end of file
diff --git a/org.eclipse.m2e.parent/pom.xml b/org.eclipse.m2e.parent/pom.xml
index ca21cbf7..8f4162b8 100644
--- a/org.eclipse.m2e.parent/pom.xml
+++ b/org.eclipse.m2e.parent/pom.xml
@@ -363,9 +363,63 @@
</properties>
</profile>
- <!-- <profile> <id>uts</id> <modules> <module>../org.eclipse.m2e.tests</module> </modules> </profile> <profile> <id>its</id> <modules> <module>../org.eclipse.m2e.integration.tests</module> <module>../org.eclipse.m2e.editor.tests</module> <module>../org.eclipse.m2e.editor.xml.tests</module> </modules> </profile> -->
+ <!--
+ <profile>
+ <id>sign</id>
+ <activation>
+ <property>
+ <name>jarsigner.alias</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jarsigner-plugin</artifactId>
+ <version>1.2</version>
+ <executions>
+ <execution>
+ <id>sign</id>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ -->
- <!-- <profile> <id>sign</id> <activation> <property> <name>jarsigner.alias</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jarsigner-plugin</artifactId> <version>1.2</version> <executions> <execution> <id>sign</id> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> -->
+ <!--
+ workaround for https://issues.sonatype.org/browse/TYCHO-562
+ tycho-source-plugin chokes on bundles without source folders, so we disable it with marker file
+ -->
+ <profile>
+ <id>source-bundle</id>
+ <activation>
+ <file>
+ <missing>no-source-bundle.txt</missing>
+ </file>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-source-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <executions>
+ <execution>
+ <id>plugin-source</id>
+ <goals>
+ <goal>plugin-source</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<developers>
diff --git a/org.eclipse.m2e.sdk.feature/feature.xml b/org.eclipse.m2e.sdk.feature/feature.xml
index 0b3f111d..e374efc2 100644
--- a/org.eclipse.m2e.sdk.feature/feature.xml
+++ b/org.eclipse.m2e.sdk.feature/feature.xml
@@ -17,6 +17,8 @@
%license
</license>
+ <!-- common test helper bundles and their sources -->
+
<plugin
id="org.eclipse.m2e.tests.common"
download-size="0"
@@ -25,10 +27,119 @@
unpack="false"/>
<plugin
+ id="org.eclipse.m2e.tests.common.source"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
id="org.eclipse.m2e.integration.tests.common"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
+ <plugin
+ id="org.eclipse.m2e.integration.tests.common.source"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <!-- source bundles from main feature -->
+
+ <plugin
+ id="org.eclipse.m2e.model.edit.source"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.m2e.core.source"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.m2e.launching.source"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.m2e.jdt.source"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.m2e.editor.source"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.m2e.editor.xml.source"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.m2e.refactoring.source"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.m2e.discovery.source"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.m2e.core.ui.source"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.m2e.scm.source"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.m2e.usagedata.source"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <!-- source bundles of logback integration -->
+
+ <plugin
+ id="org.eclipse.m2e.logback.configuration.source"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.eclipse.m2e.logback.appender.source"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
</feature>
diff --git a/org.jboss.netty/no-source-bundle.txt b/org.jboss.netty/no-source-bundle.txt
new file mode 100644
index 00000000..675ce413
--- /dev/null
+++ b/org.jboss.netty/no-source-bundle.txt
@@ -0,0 +1 @@
+marker file used to disable source-bundle profile \ No newline at end of file

Back to the top