Permalink
Browse files

o turn on deploy in tycho-support while off for everything else

  • Loading branch information...
1 parent 2deed0c commit 151a713d7a54e83e3a1ab21c5997e25c65be7fc8 Jason van Zyl committed Jul 3, 2012
Showing with 31 additions and 16 deletions.
  1. +1 −0 .tycho-support
  2. +30 −16 pom.xml
View
1 .tycho-support
@@ -0,0 +1 @@
+Resource based indicator that we are in the tycho-support build itself.
View
46 pom.xml
@@ -86,26 +86,40 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.4.3</version>
- </plugin>
- <!--
- |
- | We only care about deploying the update site. Disable the deployment of the standard
- | Maven resources and only deploy the update site in the feature build which is defined
- | in the feature-build profile below.
- |
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
+ </plugin>
</plugins>
</pluginManagement>
</build>
- <profiles>
+ <profiles>
+ <profile>
+ <id>deploy</id>
+ <activation>
+ <file>
+ <missing>.tycho-support</missing>
+ </file>
+ </activation>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <!--
+ |
+ | We only care about deploying the update site. Disable the deployment of the standard
+ | Maven resources and only deploy the update site in the feature build which is defined
+ | in the feature-build profile below.
+ |
+ -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ </profile>
<profile>
<id>sun-jvm</id>
<activation>

0 comments on commit 151a713

Please sign in to comment.