Create packaging/target via maven instead of manually
This commit is contained in:
parent
d7a499cdc3
commit
2ac17b4c7b
@ -22,7 +22,6 @@ before_install:
|
|||||||
- psql -c 'CREATE DATABASE test_db;' -U postgres
|
- psql -c 'CREATE DATABASE test_db;' -U postgres
|
||||||
- psql -U postgres test_db < extensions/database/tests/conf/travis-pgsql.sql
|
- psql -U postgres test_db < extensions/database/tests/conf/travis-pgsql.sql
|
||||||
- cp extensions/database/tests/conf/travis_tests.xml extensions/database/tests/conf/tests.xml
|
- cp extensions/database/tests/conf/travis_tests.xml extensions/database/tests/conf/tests.xml
|
||||||
- mkdir packaging/target
|
|
||||||
- mvn process-resources
|
- mvn process-resources
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
@ -35,7 +35,6 @@ before_test:
|
|||||||
SET PGUSER=postgres
|
SET PGUSER=postgres
|
||||||
createdb test_db
|
createdb test_db
|
||||||
psql -U postgres test_db < extensions\database\tests\conf\travis-pgsql.sql
|
psql -U postgres test_db < extensions\database\tests\conf\travis-pgsql.sql
|
||||||
mkdir packaging\target
|
|
||||||
|
|
||||||
copy extensions\database\tests\conf\appveyor_tests.xml extensions\database\tests\conf\tests.xml
|
copy extensions\database\tests\conf\appveyor_tests.xml extensions\database\tests\conf\tests.xml
|
||||||
- cmd: |-
|
- cmd: |-
|
||||||
|
@ -22,6 +22,26 @@
|
|||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin> <!-- necessary for launch4j -->
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-antrun-plugin</artifactId>
|
||||||
|
<version>1.4</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<phase>generate-test-resources</phase>
|
||||||
|
<configuration>
|
||||||
|
|
||||||
|
<tasks>
|
||||||
|
<mkdir dir="./target/"/>
|
||||||
|
</tasks>
|
||||||
|
|
||||||
|
</configuration>
|
||||||
|
<goals>
|
||||||
|
<goal>run</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.akathist.maven.plugins.launch4j</groupId>
|
<groupId>com.akathist.maven.plugins.launch4j</groupId>
|
||||||
<artifactId>launch4j-maven-plugin</artifactId>
|
<artifactId>launch4j-maven-plugin</artifactId>
|
||||||
|
Loading…
Reference in New Issue
Block a user