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 /org.eclipse.m2e.parent
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>
Diffstat (limited to 'org.eclipse.m2e.parent')
-rw-r--r--org.eclipse.m2e.parent/pom.xml58
1 files changed, 56 insertions, 2 deletions
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>

Back to the top