Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto E. Escobar2012-04-04 18:56:29 +0000
committerRoberto E. Escobar2012-04-04 18:56:29 +0000
commitc56fed99bc4de04dcc704fc1766c41d6063bcdd3 (patch)
treeea785b14918bc598e6df7bab004a9b6db5959a04 /plugins/org.eclipse.osee.ats.help.ui/pom.xml
parent854fd75d1d18cbca8ea2d67366811f311b77b493 (diff)
downloadorg.eclipse.osee-c56fed99bc4de04dcc704fc1766c41d6063bcdd3.tar.gz
org.eclipse.osee-c56fed99bc4de04dcc704fc1766c41d6063bcdd3.tar.xz
org.eclipse.osee-c56fed99bc4de04dcc704fc1766c41d6063bcdd3.zip
feature[ats_0ZVNB]: Add proxy settings to build help generation
Diffstat (limited to 'plugins/org.eclipse.osee.ats.help.ui/pom.xml')
-rw-r--r--plugins/org.eclipse.osee.ats.help.ui/pom.xml71
1 files changed, 51 insertions, 20 deletions
diff --git a/plugins/org.eclipse.osee.ats.help.ui/pom.xml b/plugins/org.eclipse.osee.ats.help.ui/pom.xml
index 95264eea2f2..4ca9684bc21 100644
--- a/plugins/org.eclipse.osee.ats.help.ui/pom.xml
+++ b/plugins/org.eclipse.osee.ats.help.ui/pom.xml
@@ -26,24 +26,35 @@
</resources>
<plugins>
<plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-source-plugin</artifactId>
+ </plugin>
+ <plugin>
<artifactId>maven-antrun-plugin</artifactId>
- <dependencies>
- <dependency>
- <groupId>ant</groupId>
- <artifactId>optional</artifactId>
- <version>1.5.4</version>
- </dependency>
- </dependencies>
+ <version>${maven-antrun-version}</version>
<executions>
<execution>
<id>help-clean-up</id>
<phase>clean</phase>
<configuration>
- <tasks if="update.osee.doc">
- <property name="compile_classpath" refid="maven.compile.classpath" />
- <delete dir="images" />
- <delete dir="OSEE" />
- </tasks>
+ <target>
+ <property name="plugin_classpath" refid="maven.plugin.classpath" />
+ <taskdef resource="net/sf/antcontrib/antlib.xml">
+ <classpath>
+ <pathelement path="${classpath}" />
+ <pathelement path="${plugin_classpath}" />
+ </classpath>
+ </taskdef>
+
+ <if>
+ <equals arg1="${update.osee.doc}" arg2="true" />
+ <then>
+ <property name="compile_classpath" refid="maven.compile.classpath" />
+ <delete dir="images" />
+ <delete dir="OSEE" />
+ </then>
+ </if>
+ </target>
</configuration>
<goals>
<goal>run</goal>
@@ -54,10 +65,34 @@
<id>help-build</id>
<phase>generate-sources</phase>
<configuration>
- <tasks if="update.osee.doc">
- <property name="compile_classpath" refid="maven.compile.classpath" />
- <ant target="all" inheritRefs="true" antfile="build-helper.xml" />
- </tasks>
+ <target>
+ <property name="plugin_classpath" refid="maven.plugin.classpath" />
+ <taskdef resource="net/sf/antcontrib/antlib.xml">
+ <classpath>
+ <pathelement path="${classpath}" />
+ <pathelement path="${plugin_classpath}" />
+ </classpath>
+ </taskdef>
+
+ <if>
+ <equals arg1="${update.osee.doc}" arg2="true" />
+ <then>
+
+ <if>
+ <isset property="http.proxyHost" />
+ <then>
+ <echo message="Set Proxy: [${http.proxyHost}:${http.proxyPort}]" />
+ <echo message="Exclude ProxyHosts: [${http.nonProxyHosts}]" />
+ <setproxy nonproxyhosts="${http.nonProxyHosts}"
+ proxyhost="${http.proxyHost}" proxyport="${http.proxyPort}" />
+ </then>
+ </if>
+
+ <property name="compile_classpath" refid="maven.compile.classpath" />
+ <ant target="all" inheritRefs="true" antfile="build-helper.xml" />
+ </then>
+ </if>
+ </target>
</configuration>
<goals>
<goal>run</goal>
@@ -65,10 +100,6 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.eclipse.tycho</groupId>
- <artifactId>tycho-source-plugin</artifactId>
- </plugin>
</plugins>
</build>

Back to the top