Create packaging/target via maven instead of manually

This commit is contained in:
Antonin Delpeuch 2018-09-22 10:42:39 +01:00
parent d7a499cdc3
commit 2ac17b4c7b
3 changed files with 20 additions and 2 deletions

View File

@ -22,7 +22,6 @@ before_install:
- psql -c 'CREATE DATABASE test_db;' -U postgres
- 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
- mkdir packaging/target
- mvn process-resources
script:

View File

@ -35,7 +35,6 @@ before_test:
SET PGUSER=postgres
createdb test_db
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
- cmd: |-

View File

@ -22,6 +22,26 @@
<build>
<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>
<groupId>com.akathist.maven.plugins.launch4j</groupId>
<artifactId>launch4j-maven-plugin</artifactId>