Author: nickboldt
Date: 2010-12-16 03:06:17 -0500 (Thu, 16 Dec 2010)
New Revision: 27537
Added:
trunk/build/hudson-jobs/pom-publisher.xml
Removed:
trunk/build/hudson-jobs/pom.xml
Log:
refactor pom.xml to pom-publisher.xml
Copied: trunk/build/hudson-jobs/pom-publisher.xml (from rev 27516,
trunk/build/hudson-jobs/pom.xml)
===================================================================
--- trunk/build/hudson-jobs/pom-publisher.xml (rev 0)
+++ trunk/build/hudson-jobs/pom-publisher.xml 2010-12-16 08:06:17 UTC (rev 27537)
@@ -0,0 +1,84 @@
+<project
+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
+
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.hudson.jobs.all</artifactId>
+ <name>org.jboss.tools.hudson.jobs.all</name>
+ <version>0.0.1-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugin</groupId>
+ <artifactId>hudson-job-publisher-plugin</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <phase>install</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+<!--
+To be able to connect to server, must first import certificate or you may get this
error:
+
+ javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX
path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable
to find valid certification path to requested target
+
+AS USER (with Firefox):
+
+Browse to
https://hudson.qa.jboss.com/hudson & accept the cert.
+
+ Edit > Preferences > Advanced > Encryption > View Certificates > find
hudson cert > Export to file /tmp/hudson.qa.jboss.com.cert
+
+AS ROOT (default password is "changeit"):
+
+ # /opt/sun-java2-6.0/jre/bin/keytool -list -keystore
/opt/sun-java2-6.0/jre/lib/security/cacerts | grep hudson
+ # /opt/sun-java2-6.0/jre/bin/keytool -import -alias hudson.qa -keystore
/opt/sun-java2-6.0/jre/lib/security/cacerts -file /tmp/hudson.qa.jboss.com.cert
+ # /opt/sun-java2-6.0/jre/bin/keytool -list -keystore
/opt/sun-java2-6.0/jre/lib/security/cacerts | grep hudson
+
+To run, make sure that JAVA_HOME is set to the path where you imported the cert, eg.:
+
+ $ export JAVA_HOME=/opt/sun-java2-6.0/; mvn clean install
+-->
+ <!-- more output w/ verbose; default false -->
+ <verbose>true</verbose>
+
+ <!-- server and connection details -->
+ <hudsonURL>http://localhost:8080/</hudsonURL>
+ <!-- <
hudsonURL>https://hudson.qa.jboss.com/hudson/</hudsonURL>
-->
+ <username>SET USERNAME HERE</username>
+ <password>SET PASSWORD HERE</password>
+
+ <!-- default true: existing jobs will be overwritten; set false to throw
+ an error if job exists -->
+ <replaceExistingJob>true</replaceExistingJob>
+
+ <!-- local file path to use as template when publishing jobs -->
+ <jobTemplateFile>config.xml</jobTemplateFile>
+
+ <!-- job configuration: one buildURL -->
+ <
buildURL>https://svn.jboss.org/repos/jbosstools/trunk/build</buildU...
+ <!-- then many identically configured components -->
+ <components>TESTING</components>
+ <!-- <components>archives, as, birt, bpel, bpmn, cdi, common, deltacloud,
+ esb, examples, flow, freemarker, gwt, hibernatetools, jbpm, jmx, jsf, jst,
+ maven, modeshape, portlet, profiler, runtime, seam, smooks, struts, tptp,
+ usage, vpe, ws</components> -->
+
+ <componentJobNameSuffix>-TESTTESTTEST</componentJobNameSuffix>
+ <!-- then some special-case components (not in JBT tree) -->
+ <!--<properties> <property>
<name>jbosstools-pi4soa-stable-branch</name>
+ <
value>https://pi4soa.svn.sourceforge.net/svnroot/pi4soa/branches/pi4so...
+ </property> <property>
<name>jbosstools-teiid-designer-stable-branch</name>
+ <
value>http://anonsvn.jboss.org/repos/tdesigner/branches/7.1</value>
</property>
+ <property> <name>jbosstools-savara-stable-branch</name>
<
value>http://anonsvn.jboss.org/repos/savara/branches/1.1.x</value>
+ </property> </properties> -->
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
+
Deleted: trunk/build/hudson-jobs/pom.xml
===================================================================
--- trunk/build/hudson-jobs/pom.xml 2010-12-16 07:50:45 UTC (rev 27536)
+++ trunk/build/hudson-jobs/pom.xml 2010-12-16 08:06:17 UTC (rev 27537)
@@ -1,84 +0,0 @@
-<project
-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
-
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.tools</groupId>
- <artifactId>org.jboss.tools.hudson.jobs.all</artifactId>
- <name>org.jboss.tools.hudson.jobs.all</name>
- <version>0.0.1-SNAPSHOT</version>
- <packaging>pom</packaging>
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugin</groupId>
- <artifactId>hudson-job-publisher-plugin</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <executions>
- <execution>
- <phase>install</phase>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
-<!--
-To be able to connect to server, must first import certificate or you may get this
error:
-
- javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX
path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable
to find valid certification path to requested target
-
-AS USER (with Firefox):
-
-Browse to
https://hudson.qa.jboss.com/hudson & accept the cert.
-
- Edit > Preferences > Advanced > Encryption > View Certificates > find
hudson cert > Export to file /tmp/hudson.qa.jboss.com.cert
-
-AS ROOT (default password is "changeit"):
-
- # /opt/sun-java2-6.0/jre/bin/keytool -list -keystore
/opt/sun-java2-6.0/jre/lib/security/cacerts | grep hudson
- # /opt/sun-java2-6.0/jre/bin/keytool -import -alias hudson.qa -keystore
/opt/sun-java2-6.0/jre/lib/security/cacerts -file /tmp/hudson.qa.jboss.com.cert
- # /opt/sun-java2-6.0/jre/bin/keytool -list -keystore
/opt/sun-java2-6.0/jre/lib/security/cacerts | grep hudson
-
-To run, make sure that JAVA_HOME is set to the path where you imported the cert, eg.:
-
- $ export JAVA_HOME=/opt/sun-java2-6.0/; mvn clean install
--->
- <!-- more output w/ verbose; default false -->
- <verbose>true</verbose>
-
- <!-- server and connection details -->
- <hudsonURL>http://localhost:8080/</hudsonURL>
- <!-- <
hudsonURL>https://hudson.qa.jboss.com/hudson/</hudsonURL>
-->
- <username>SET USERNAME HERE</username>
- <password>SET PASSWORD HERE</password>
-
- <!-- default true: existing jobs will be overwritten; set false to throw
- an error if job exists -->
- <replaceExistingJob>true</replaceExistingJob>
-
- <!-- local file path to use as template when publishing jobs -->
- <jobTemplateFile>config.xml</jobTemplateFile>
-
- <!-- job configuration: one buildURL -->
- <
buildURL>https://svn.jboss.org/repos/jbosstools/trunk/build</buildU...
- <!-- then many identically configured components -->
- <components>TESTING</components>
- <!-- <components>archives, as, birt, bpel, bpmn, cdi, common, deltacloud,
- esb, examples, flow, freemarker, gwt, hibernatetools, jbpm, jmx, jsf, jst,
- maven, modeshape, portlet, profiler, runtime, seam, smooks, struts, tptp,
- usage, vpe, ws</components> -->
-
- <componentJobNameSuffix>-TESTTESTTEST</componentJobNameSuffix>
- <!-- then some special-case components (not in JBT tree) -->
- <!--<properties> <property>
<name>jbosstools-pi4soa-stable-branch</name>
- <
value>https://pi4soa.svn.sourceforge.net/svnroot/pi4soa/branches/pi4so...
- </property> <property>
<name>jbosstools-teiid-designer-stable-branch</name>
- <
value>http://anonsvn.jboss.org/repos/tdesigner/branches/7.1</value>
</property>
- <property> <name>jbosstools-savara-stable-branch</name>
<
value>http://anonsvn.jboss.org/repos/savara/branches/1.1.x</value>
- </property> </properties> -->
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
-