Skip to content

Commit

Permalink
setup (older) sisu dependency for polyglot-maven to compile on Java 6
Browse files Browse the repository at this point in the history
  • Loading branch information
kares committed Dec 5, 2016
1 parent 3496397 commit cf7082f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/pom.rb
Expand Up @@ -44,6 +44,12 @@ def initialize( name, version )
{ :directory => '${basedir}/ruby/shared',
:includes => [ 'org/**/*.jar' ] } ] )

plugin_management do
plugin ( 'io.takari.polyglot:polyglot-maven-plugin:${tesla.version}' ) do
dependency 'org.eclipse.sisu', 'org.eclipse.sisu.plexus', '0.3.0', :provided
end
end

# tell maven to download the respective gem artifacts
default_gems.each do |g|
gem g.name, g.version
Expand Down
16 changes: 16 additions & 0 deletions lib/pom.xml
Expand Up @@ -61,6 +61,22 @@ DO NOT MODIFIY - GENERATED CODE
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>io.takari.polyglot</groupId>
<artifactId>polyglot-maven-plugin</artifactId>
<version>${tesla.version}</version>
<dependencies>
<dependency>
<groupId>org.eclipse.sisu</groupId>
<artifactId>org.eclipse.sisu.plexus</artifactId>
<version>0.3.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
Expand Down

0 comments on commit cf7082f

Please sign in to comment.