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.framework.dev.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.framework.dev.help.ui/pom.xml')
-rw-r--r--plugins/org.eclipse.osee.framework.dev.help.ui/pom.xml63
1 files changed, 47 insertions, 16 deletions
diff --git a/plugins/org.eclipse.osee.framework.dev.help.ui/pom.xml b/plugins/org.eclipse.osee.framework.dev.help.ui/pom.xml
index 22bfdea5685..ce3ecf0c13f 100644
--- a/plugins/org.eclipse.osee.framework.dev.help.ui/pom.xml
+++ b/plugins/org.eclipse.osee.framework.dev.help.ui/pom.xml
@@ -18,23 +18,30 @@
<plugins>
<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>
@@ -45,10 +52,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>

Back to the top