Skip to content

Commit 4ce2eac

Browse files
committed
[build] try to avoid strange travis build error on -Posgi
1 parent dd523bb commit 4ce2eac

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

lib/pom.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ def to_pathname
8787
# this is not an artifact for maven central
8888
plugin :deploy, :skip => true
8989

90+
plugin :invoker, :skipInstallation => true
91+
9092
gem 'ruby-maven', '3.1.1.0.8', :scope => :provided
9193

9294
execute :install_gems, :'package' do |ctx|

lib/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,12 @@
123123
<skip>true</skip>
124124
</configuration>
125125
</plugin>
126+
<plugin>
127+
<artifactId>maven-invoker-plugin</artifactId>
128+
<configuration>
129+
<skipInstallation>true</skipInstallation>
130+
</configuration>
131+
</plugin>
126132
<plugin>
127133
<groupId>io.tesla.polyglot</groupId>
128134
<artifactId>tesla-polyglot-maven-plugin</artifactId>

0 commit comments

Comments
 (0)