Skip to content

Commit abd8e9c

Browse files
committed
(fixed) site deployment for snapshot
1 parent d0e6703 commit abd8e9c

File tree

3 files changed

+13
-15
lines changed

3 files changed

+13
-15
lines changed

.travis.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,19 @@ install:
3232
before_script:
3333
- mvn -q clean
3434
script:
35-
- mvn -q package sonar:sonar -Dmaven.test.redirectTestOutputToFile=true
35+
- mvn -T2.0C -q package -Dmaven.test.redirectTestOutputToFile=true
36+
- mvn -T2.0C -q sonar:sonar
37+
- mvn -T2.0C -q site -DskipTests=true
3638
- docker-compose build
3739
deploy:
3840
- provider: script
3941
skip_cleanup: true
40-
script: mvn -q -e -DskipTests=true deploy
42+
script: mvn -q -e install:install deploy:deploy
4143
on:
4244
branch: master
4345
- provider: script
4446
skip_cleanup: true
45-
script: mvn -q -e site -Dmaven.test.redirectTestOutputToFile=true
46-
on:
47-
branch: master
48-
- provider: script
49-
skip_cleanup: true
50-
script: mvn -q -e site:stage -DstagingDirectory=$HOME/staging/index.html
51-
on:
52-
branch: master
53-
- provider: pages
54-
skip_cleanup: true
55-
github_token: $SONAR_GITHUB_TOKEN
56-
local_dir: $HOME/staging/app-ms
47+
script: mvn -T2.0C -e site:deploy
5748
on:
5849
branch: master
5950
- provider: script

ms-common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
<inherited>false</inherited>
153153
<configuration>
154154
<rules>
155-
<dependencyConvergence />
155+
<dependencyConvergence/>
156156
</rules>
157157
</configuration>
158158
</execution>

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,13 @@
170170
<artifactId>jacoco-maven-plugin</artifactId>
171171
</plugin>
172172
</plugins>
173+
<extensions>
174+
<extension>
175+
<groupId>org.apache.maven.wagon</groupId>
176+
<artifactId>wagon-ssh-external</artifactId>
177+
<version>3.0.0</version>
178+
</extension>
179+
</extensions>
173180
</build>
174181
<reporting>
175182
<plugins>

0 commit comments

Comments
 (0)