Skip to content
This repository has been archived by the owner on Aug 6, 2018. It is now read-only.

Commit

Permalink
use own profile
Browse files Browse the repository at this point in the history
  • Loading branch information
jbellmann committed Jun 30, 2015
1 parent e40936d commit f6205a7
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 29 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ addons:
before_script:
- psql -c 'CREATE DATABASE fullstop;' -U postgres

script: mvn clean install
script:
- mvn clean install -Pfullstop-startup

after_success:
- mvn coveralls:report -Ptravis
Expand Down
61 changes: 33 additions & 28 deletions fullstop-it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,32 +21,37 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.4.0</version>
<configuration>
<executable>java</executable>
<arguments>
<argument>-classpath</argument>
<classpath/>
<argument>org.zalando.stups.fullstop.Fullstop</argument>
<argument>--spring.config.location=${basedir}/config</argument>
<argument>--spring.profiles.active=it-with-timeout</argument>
<argument>--debug</argument>
</arguments>
</configuration>
<executions>
<execution>
<goals>
<goal>exec</goal>
</goals>
<phase>pre-integration-test</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>fullstop-startup</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.4.0</version>
<configuration>
<executable>java</executable>
<arguments>
<argument>-classpath</argument>
<classpath />
<argument>org.zalando.stups.fullstop.Fullstop</argument>
<argument>--spring.config.location=${basedir}/config</argument>
<argument>--spring.profiles.active=it-with-timeout</argument>
<argument>--debug</argument>
</arguments>
</configuration>
<executions>
<execution>
<goals>
<goal>exec</goal>
</goals>
<phase>pre-integration-test</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit f6205a7

Please sign in to comment.