Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Krueger2015-06-24 11:23:34 -0400
committerJan Krueger2015-06-24 11:23:34 -0400
commitda51950d07e398e1ff04845252c9fdc858d4f8ef (patch)
treee5bc781f8e1fc5c3fec2f90fa29d044d918adf44
parent7bf7f1ed67d2d0304df80f848dc02cf0b4e8a08b (diff)
downloadorg.eclipse.openk-platform.openk-repo-da51950d07e398e1ff04845252c9fdc858d4f8ef.tar.gz
org.eclipse.openk-platform.openk-repo-da51950d07e398e1ff04845252c9fdc858d4f8ef.tar.xz
org.eclipse.openk-platform.openk-repo-da51950d07e398e1ff04845252c9fdc858d4f8ef.zip
configuration for hudson build
-rw-r--r--openk-platform/openk-cachedb-service/pom.xml27
-rw-r--r--openk-platform/pom.xml2
2 files changed, 17 insertions, 12 deletions
diff --git a/openk-platform/openk-cachedb-service/pom.xml b/openk-platform/openk-cachedb-service/pom.xml
index 7d837dbe..9d828a7d 100644
--- a/openk-platform/openk-cachedb-service/pom.xml
+++ b/openk-platform/openk-cachedb-service/pom.xml
@@ -80,7 +80,7 @@
<version>1.4.0</version>
<executions>
<execution>
- <id>some-execution</id>
+ <id>setup-postgres</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
@@ -88,16 +88,21 @@
</execution>
</executions>
<configuration>
- <executable>
- curl -o use-postgresql https://repository-cloudbees.forge.cloudbees.com/distributions/ci-addons/postgresql/fc17/postgresql-9.4.1-x86_64.tar.bz2
- source ./use-postgresql
- psql -d postgres -c "CREATE ROLE cachedb LOGIN PASSWORD 'cachedb' VALID UNTIL 'infinity' NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION;"
- psgl -d postgres -c "CREATE DATABASE cachedb WITH ENCODING='UTF8' OWNER=cachedb TABLESPACE = pg_default CONNECTION LIMIT=-1;"
- psql -d postgres -c "CREATE SCHEMA cachedb AUTHORIZATION cachedb;"
- psql -d postgres -c "CREATE ROLE eisman LOGIN PASSWORD 'eisman' VALID UNTIL 'infinity' NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION;"
- psql -d postgres -c "CREATE DATABASE appdb WITH ENCODING='UTF8' OWNER=postgres TABLESPACE = pg_default CONNECTION LIMIT=-1;"
- psql -d postgres -c "CREATE SCHEMA eisman AUTHORIZATION eisman;"
- </executable>
+ <executable>curl</executable>
+ <arguments>
+ <argument>-o</argument>
+ <argument>-z</argument>
+ <argument>use-postgresql</argument>
+ <argument>https://repository-cloudbees.forge.cloudbees.com/distributions/ci-addons/postgresql/fc17/postgresql-9.4.1-x86_64.tar.bz2</argument>
+ </arguments>
+ <!--curl -o use-postgresql https://repository-cloudbees.forge.cloudbees.com/distributions/ci-addons/postgresql/fc17/postgresql-9.4.1-x86_64.tar.bz2-->
+ <!--source ./use-postgresql-->
+ <!--psql -d postgres -c "CREATE ROLE cachedb LOGIN PASSWORD 'cachedb' VALID UNTIL 'infinity' NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION;"-->
+ <!--psgl -d postgres -c "CREATE DATABASE cachedb WITH ENCODING='UTF8' OWNER=cachedb TABLESPACE = pg_default CONNECTION LIMIT=-1;"-->
+ <!--psql -d postgres -c "CREATE SCHEMA cachedb AUTHORIZATION cachedb;"-->
+ <!--psql -d postgres -c "CREATE ROLE eisman LOGIN PASSWORD 'eisman' VALID UNTIL 'infinity' NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION;"-->
+ <!--psql -d postgres -c "CREATE DATABASE appdb WITH ENCODING='UTF8' OWNER=postgres TABLESPACE = pg_default CONNECTION LIMIT=-1;"-->
+ <!--psql -d postgres -c "CREATE SCHEMA eisman AUTHORIZATION eisman;"-->
</configuration>
</plugin>
</plugins>
diff --git a/openk-platform/pom.xml b/openk-platform/pom.xml
index 68457944..2aa08c21 100644
--- a/openk-platform/pom.xml
+++ b/openk-platform/pom.xml
@@ -185,7 +185,7 @@
<minimumTokens>100</minimumTokens>
<targetJdk>${java.version}</targetJdk>
<excludes>
- <exclude>**/cim/**</exclude>
+ <exclude>**/org/eclipse/openk/model/cim/**</exclude>
<exclude>**/*Test.java</exclude>
</excludes>
</configuration>

Back to the top