Skip to content

Commit eab2354

Browse files
committed
need to copy the jars before resources phase
[skip ci]
1 parent f0579bc commit eab2354

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/pom.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def to_pathname
9797

9898
# TODO no hardcoded group-ids
9999
plugin :dependency, :useRepositoryLayout => true, :outputDirectory => 'ruby/stdlib', :excludeGroupIds => 'rubygems', :includeScope => :provided do
100-
execute_goal 'copy-dependencies', :phase => 'prepare-package'
100+
execute_goal 'copy-dependencies', :phase => 'generate-resources'
101101
end
102102

103103
execute :install_gems, :'initialize' do |ctx|

lib/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
<artifactId>maven-dependency-plugin</artifactId>
231231
<executions>
232232
<execution>
233-
<phase>prepare-package</phase>
233+
<phase>generate-resources</phase>
234234
<goals>
235235
<goal>copy-dependencies</goal>
236236
</goals>

0 commit comments

Comments
 (0)