Skip to content

Commit

Permalink
need to copy the jars before resources phase
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
mkristian committed Apr 22, 2015
1 parent f0579bc commit eab2354
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/pom.rb
Expand Up @@ -97,7 +97,7 @@ def to_pathname

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

execute :install_gems, :'initialize' do |ctx|
Expand Down
2 changes: 1 addition & 1 deletion lib/pom.xml
Expand Up @@ -230,7 +230,7 @@
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>prepare-package</phase>
<phase>generate-resources</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
Expand Down

0 comments on commit eab2354

Please sign in to comment.